cirq.PAULI_GATE_LIKE

cirq.PAULI_GATE_LIKE = typing.Union[_ForwardRef('cirq.Pauli'), _ForwardRef('cirq.IdentityGate'), str, int]

An object that can be interpreted as a Pauli gate.

Allowed values are:

  1. Cirq gates: cirq.I, cirq.X, cirq.Y, cirq.Z.

  2. Strings: “I”, “X”, “Y”, “Z”. Equivalently “i”, “x”, “y”, “z”.

  3. Integers from 0 to 3, with the convention 0=I, 1=X, 2=Y, 3=Z.