Cove - A Practical Quantum Computer Programming Framework
OperationControlledU Method
OperationControlledU(IQubitOperation, Int32)
Perform the TargetOperation on all qubits except the qubit at ControlIndex if the qubit at ControlIndex is |1>. Else there is no change in the register. This arbitrary application of a single qubit operator to n qubits in a register based on a control qubit is called ControlU.

OperationControlledU(IQubitOperation, Int32, array<Int32>[]()[])
Perform the TargetOperation on the qubits at TargetIndexes if ControlIndex is |1>.

Assembly: Cove.LocalSimulation (Module: Cove.LocalSimulation) Version: (