qiskit.algorithms.QAOA.supports_aux_operators¶
- classmethod QAOA.supports_aux_operators()¶
Whether computing the expectation value of auxiliary operators is supported.
If the minimum eigensolver computes an eigenstate of the main operator then it can compute the expectation value of the aux_operators for that state. Otherwise they will be ignored.
- Devuelve
True if aux_operator expectations can be evaluated, False otherwise
- Tipo del valor devuelto
bool