SetIndexes Method (ControlIndex, TargetIndex)
Cove - A Practical Quantum Computer Programming Framework
SetIndexes Method (ControlIndex, TargetIndex)
NamespacesCove.LocalSimulationOperationControlledUSetIndexes(Int32, Int32)
Set the control and target indexes
Declaration Syntax
C#Visual BasicVisual C++
public void SetIndexes(
	int ControlIndex,
	int TargetIndex
)
Public Sub SetIndexes ( _
	ControlIndex As Integer, _
	TargetIndex As Integer _
)
public:
virtual void SetIndexes(
	int ControlIndex, 
	int TargetIndex
) sealed
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.LocalSimulation (Module: Cove.LocalSimulation) Version: 1.0.0.0 (1.0.0.0)