Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.expectations.MatrixExpectation.convert

MatrixExpectation.convert(operator)[source]

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

প্যারামিটার

operator (OperatorBase) -- The operator to convert.

রিটার্ন টাইপ

OperatorBase

রিটার্নস

The converted operator.