Cove - A Practical Quantum Computer Programming Framework
OperationCNot Method (Indexes)
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(
	int[] Indexes
Public Function OperationCNot ( _
	Indexes As Integer() _
) As IQuantumRegister
virtual IQuantumRegister^ OperationCNot(
	array<int>^ Indexes
) sealed
Indexes (array< Int32 >[]()[])

[Missing <param> documentation for "Indexes"]

Return Value
A reference to this register after the operation has been applied.
SizeMismatchExceptionThrown if the number of qubits the operation applies to does not match the number of qubits in the register.
IndexOutOfRangeExceptionThrown if the indexes are invalid for this register.
DuplicateIndexesExceptionThrown if the control and target qubits are the same.
NotImplementedExceptionThis method is not yet implemented.

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