SetIndexes Method (ControlIndex, TargetIndex)
Cove - A Practical Quantum Computer Programming Framework
SetIndexes Method (ControlIndex, TargetIndex)
NamespacesCove.BaseIOperationControlledUSetIndexes(Int32, Int32)
Set the control and target indexes
Declaration Syntax
C#Visual BasicVisual C++
void SetIndexes(
	int ControlIndex,
	int TargetIndex
)
Sub SetIndexes ( _
	ControlIndex As Integer, _
	TargetIndex As Integer _
)
void SetIndexes(
	int ControlIndex, 
	int TargetIndex
)
Parameters
ControlIndex (Int32)
The control index
TargetIndex (Int32)
The target 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.
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)