qiskit.opflow.expectations.AerPauliExpectation.convert¶ AerPauliExpectation.convert(operator)[source]¶ Accept an Operator and return a new Operator with the Pauli measurements replaced by AerSnapshot-based expectation circuits. Parameters operator (OperatorBase) – The operator to convert. Return type OperatorBase Returns The converted operator.