class cirq.TwoQubitGate[source]

A gate that must be applied to exactly two qubits.


Initialize self. See help(type(self)) for accurate signature.


num_qubits() The number of qubits this gate acts on.
on(*qubits) Returns an application of this gate to the given qubits.
validate_args(qubits) Checks if this gate can be applied to the given qubits.