Template Function qaoa::GetExpectationValueSquaredFromCostFunction¶
Defined in File qaoa_features.hpp
Function Documentation¶
-
template<typename
Type>
QubitRegister<Type>::BaseTypeqaoa::GetExpectationValueSquaredFromCostFunction(const QubitRegister<Type> &psi, const QubitRegister<Type> &diag)¶