German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.expectations.MatrixExpectation.convert

MatrixExpectation.convert(operator)[Quellcode]

Accept an Operator and return a new Operator with the Pauli measurements replaced by Matrix based measurements.

Parameter

operator (OperatorBase) – The operator to convert.

Rückgabe

The converted operator.

Rückgabetyp

OperatorBase