qiskit.opflow.expectations.MatrixExpectation.convert¶
- MatrixExpectation.convert(operator)[소스]¶
Accept an Operator and return a new Operator with the Pauli measurements replaced by Matrix based measurements.
- 매개변수
operator (OperatorBase) – The operator to convert.
- 반환
The converted operator.
- 반환 형식