English
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.primitive_ops.Z2Symmetries.convert_clifford

Z2Symmetries.convert_clifford(operator)[source]

This method operates the first part of the tapering. It converts the operator by composing it with the clifford unitaries defined in the current symmetry.

Parameters

operator (PauliSumOp) – to-be-tapered operator

Return type

OperatorBase

Returns

PauliSumOp corresponding to the converted operator.

Raises

OpflowError – Z2 symmetries, single qubit pauli and single qubit list cannot be empty