Cove - A Practical Quantum Computer Programming Framework
OperationCNot Method
NamespacesCove.LocalSimulationQuantumRegisterOperationCNot()()()
Apply the CNot operation to the register. (Must be a 2 qubit register.) The first qubit is the control and the second is the target.
Declaration Syntax
C#Visual BasicVisual C++
public IQuantumRegister OperationCNot()
Public Function OperationCNot As IQuantumRegister
public:
virtual IQuantumRegister^ OperationCNot() sealed
Return Value
A reference to this register after the operation has been applied.
Exceptions
ExceptionCondition
SizeMismatchExceptionThrown if the number of qubits the operation applies to does not match the number of qubits in the register.
DuplicateIndexesExceptionThrown if the indexes specified refer to the same qubit.

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