AerPauliExpectation¶
-
class
AerPauliExpectation
[source]¶ Bases:
qiskit.opflow.expectations.expectation_base.ExpectationBase
An Expectation converter for using Aer’s operator snapshot to take expectations of quantum state circuits over Pauli observables.
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.