cirq.SingleQubitPauliStringGateOperation

class cirq.SingleQubitPauliStringGateOperation(pauli: cirq.ops.pauli_gates.Pauli, qubit: cirq.Qid)[source]

A Pauli operation applied to a qubit.

Satisfies the contract of both GateOperation and PauliString. Relies
implicitly on the fact that PauliString({q: X}) compares as equal to
GateOperation(X, [q]).
__init__(pauli: cirq.ops.pauli_gates.Pauli, qubit: cirq.Qid)[source]
Args:
gate: The gate to apply.
qubits: The qubits to operate on.