qiskit.opflow.expectations.ExpectationBase.convert¶
- abstract ExpectationBase.convert(operator)[소스]¶
Accept an Operator and return a new Operator with the measurements replaced by alternate methods to compute the expectation value.
- 매개변수
operator (
OperatorBase
) – The operator to convert.- 반환 형식
- 반환
The converted operator.