Template Function qaoa::GetHistogramFromCostFunctionWithWeightsRounded

Function Documentation

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