ExpectationBase.convert¶
- abstract ExpectationBase.convert(operator)[source]¶
Accept an Operator and return a new Operator with the measurements replaced by alternate methods to compute the expectation value.
- Parameters
operator (
OperatorBase
) – The operator to convert.- Return type
- Returns
The converted operator.