cirq.Gate.num_qubits

Gate.num_qubits() → int[source]

The number of qubits this gate acts on.