cirq.SingleQubitGate.num_qubits

SingleQubitGate.num_qubits() → int

The number of qubits this gate acts on.