qiskit.opflow.converters.TwoQubitReduction.convert¶
- TwoQubitReduction.convert(operator)[Quellcode]¶
Converts the Operator to tapered one by Z2 symmetries.
- Parameter
operator (
OperatorBase
) – the operator- Rückgabetyp
- Rückgabe
A new operator whose qubit number is reduced by 2.