Template Function qaoa::GetExpectationValueSquaredFromCostFunction

Function Documentation

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