Cove - A Practical Quantum Computer Programming Framework
SetControlIndex Method (ControlIndex)
NamespacesCove.BaseIOperationControlledUSetControlIndex(Int32)
Set the control index
Declaration Syntax
C#Visual BasicVisual C++
void SetControlIndex(
	int ControlIndex
)
Sub SetControlIndex ( _
	ControlIndex As Integer _
)
void SetControlIndex(
	int ControlIndex
)
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.Base (Module: Cove.Base) Version: 1.0.0.0 (1.0.0.0)