Cove - A Practical Quantum Computer Programming Framework
OperationCNot Constructor (ControlIndex, TargetIndex)
NamespacesCove.LocalSimulationOperationCNotOperationCNot(Int32, Int32)
Constructor overloaded to also specify the control and target qubits at construction.
Declaration Syntax
C#Visual BasicVisual C++
public OperationCNot(
	int ControlIndex,
	int TargetIndex
)
Public Sub New ( _
	ControlIndex As Integer, _
	TargetIndex As Integer _
)
public:
OperationCNot(
	int ControlIndex, 
	int TargetIndex
)
Parameters
ControlIndex (Int32)
The index in the register that will be the control qubit.
TargetIndex (Int32)
The index in the register that will be the target qubit

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