Cove - A Practical Quantum Computer Programming Framework
SetControlIndex Method (ControlIndex)
NamespacesCove.LocalSimulationOperationControlledUSetControlIndex(Int32)
Set the control index
Declaration Syntax
C#Visual BasicVisual C++
public void SetControlIndex(
	int ControlIndex
)
Public Sub SetControlIndex ( _
	ControlIndex As Integer _
)
public:
virtual void SetControlIndex(
	int ControlIndex
) sealed
Parameters
ControlIndex (Int32)
The control index
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the indexes are less than 0. All indexes must be at least 0.
DuplicateIndexesExceptionThrown if the indexes are the same. The control and target indexes must be different.

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