Template Function qaoa::GetHistogramFromCostFunction

Function Documentation

template<typename Type>
std::vector<typename QubitRegister<Type>::BaseType> qaoa::GetHistogramFromCostFunction(const QubitRegister<Type> &psi, const QubitRegister<Type> &diag, int max_value)