Template Function qaoa::GetExpectationValueFromCostFunction

Function Documentation

template<typename Type>
QubitRegister<Type>::BaseType qaoa::GetExpectationValueFromCostFunction(const QubitRegister<Type> &psi, const QubitRegister<Type> &diag)