qiskit.opflow.primitive_ops.Z2Symmetries.consistent_tapering¶
- Z2Symmetries.consistent_tapering(operator)[source]¶
Tapering the operator with the same manner of how this tapered operator is created. i.e., using the same Cliffords and tapering values.
- Parameters
operator (
PauliSumOp
) – the to-be-tapered operator- Return type
- Returns
The tapered operator
- Raises
OpflowError – The given operator does not commute with the symmetry