SetTargetIndex Method (TargetIndex)
Cove - A Practical Quantum Computer Programming Framework
SetTargetIndex Method (TargetIndex)
NamespacesCove.LocalSimulationOperationControlledUSetTargetIndex(Int32)
Set the target index.
Declaration Syntax
C#Visual BasicVisual C++
public void SetTargetIndex(
	int TargetIndex
)
Public Sub SetTargetIndex ( _
	TargetIndex As Integer _
)
public:
virtual void SetTargetIndex(
	int TargetIndex
) sealed
Parameters
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.

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