qiskit.opflow.primitive_ops.Z2Symmetries.taper_clifford¶
- Z2Symmetries.taper_clifford(operator)[source]¶
This method operates the second part of the tapering. This function assumes that the input operators have already been transformed using
convert_clifford()
. The redundant qubits due to the symmetries are dropped and replaced by their two possible eigenvalues. The tapering_values will be stored into the resulted operator for a record.- Paramètres
operator (
PauliSumOp
) – Partially tapered operator resulting from a call toconvert_clifford()
- Renvoie
[
PauliSumOp
]; otherwise,PauliSumOp
- Type renvoyé
If tapering_values is None
- Lève
OpflowError – Z2 symmetries, single qubit pauli and single qubit list cannot be empty