SamplingMinimumEigensolver#
- class qiskit.algorithms.minimum_eigensolvers.SamplingMinimumEigensolver[소스]#
기반 클래스:
ABC
The Sampling Minimum Eigensolver Interface.
Methods
- abstract compute_minimum_eigenvalue(operator, aux_operators=None)[소스]#
Compute the minimum eigenvalue of a diagonal operator.
- 매개변수:
operator (BaseOperator | PauliSumOp) – Diagonal qubit operator.
aux_operators (ListOrDict[BaseOperator | PauliSumOp] | None) – Optional list of auxiliary operators to be evaluated with the final state.
- 반환:
A
SamplingMinimumEigensolverResult
containing the optimization result.- 반환 형식:
- classmethod 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.
- 반환:
True if aux_operator expectations can be evaluated, False otherwise
- 반환 형식: