AerPauliExpectation¶
- class AerPauliExpectation[소스]¶
기반 클래스:
ExpectationBase
Deprecated: An Expectation converter for using Aer’s operator snapshot to take expectations of quantum state circuits over Pauli observables.
버전 0.24.0부터 폐지됨: The class
qiskit.opflow.expectations.aer_pauli_expectation.AerPauliExpectation
is deprecated as of qiskit-terra 0.24.0. It will be removed no earlier than 3 months after the release date. For code migration guidelines, visit https://qisk.it/opflow_migration.Methods Defined Here
Compute the variance of the expectation estimator.
Accept an Operator and return a new Operator with the Pauli measurements replaced by AerSnapshot-based expectation circuits.