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.