Interface for the controlled-U operation. The controlled U operation tests a control qubit, and if true applies the single qubit operation U to all other (target) qubits. Direct implementations of this interface should be named OperationControlledU.
Assembly: Cove.Base (Module: Cove.Base) Version: 188.8.131.52 (184.108.40.206)
Return a clone (deep copy) of the current operation. This operation returned can be modified without any impact to this object. Unlike quantum registers, quantum operations cannot be in superposition- hence a clone of them does not violate the no-cloning theorem.
Combine two same sized operations into one.(Inherited from IQuantumOperation.)
Get the current control index
Get a string that shows the operations name and target. An example might be something like "CNOT: Control = 0, Target = 2".(Inherited from IQuantumOperation.)
Get the target index.
Get the current target operation.
Is this a valid quantum operation? All quantum operations must be unitary, so this allows for all operations to be checked before they are applied to registers.(Inherited from IQuantumOperation.)
Returns the number of qubits that the operation operates on. For example a CNot operation would return 2 since there are two qubits, target and control.(Inherited from IQuantumOperation.)
Set the control index
Set the control and target indexes
Set the target index.
Set the target operation. This will be applied if the control qubit is set.
Tensor two operations into one combined one.(Inherited from IQuantumOperation.)
Get the string representation of the object(Inherited from ICoveObject.)