Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.expectations.AerPauliExpectation.convert

AerPauliExpectation.convert(operator)[código fonte]

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

Parâmetros

operator (OperatorBase) – The operator to convert. If it contains non-hermitian terms, the operator is decomposed into hermitian and anti-hermitian parts.

Retorno

The converted operator.

Tipo de retorno

OperatorBase