An effect applied to a collection of qubits.The most common kind of Operation is a GateOperation, which separates itseffect into a qubit-independent Gate and the qubits it should be applied to.
Initialize self. See help(type(self)) for accurate signature.
controlled_by(*control_qubits[, control_values])Returns a controlled version of this operation. If no control_qubits
Returns the same operation, but with different qubits.
validate_args(qubits)Raises an exception if the
qubitsdon’t match this operation’s qid