# qiskit.aqua.operators.legacy.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.

Paramètres

operator (WeightedPauliOperator) – the to-be-tapered operator

Renvoie

the tapered operator

Type renvoyé

TaperedWeightedPauliOperator

Lève

AquaError – The given operator does not commute with the symmetry