English
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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_variance

Compute the variance of the expectation estimator.

convert

Accept an Operator and return a new Operator with the Pauli measurements replaced by AerSnapshot-based expectation circuits.