An operation type that can be applied to a collection of qubits.Gates can be applied to qubits by calling their on() method withthe qubits to be applied to supplied, or, alternatively, by simplycalling the gate on the qubits. In other words calling MyGate.on(q1, q2)to create an Operation on q1 and q2 is equivalent to MyGate(q1,q2).
Initialize self. See help(type(self)) for accurate signature.
Returns an application of this gate to the given qubits.
Checks if this gate can be applied to the given qubits.