Cove - A Practical Quantum Computer Programming Framework
SetTargetlIndex Method (TargetIndex)
NamespacesCove.LocalSimulationOperationToffoliSetTargetlIndex(Int32)
Set the target index.
Declaration Syntax
C#Visual BasicVisual C++
public void SetTargetlIndex(
	int TargetIndex
)
Public Sub SetTargetlIndex ( _
	TargetIndex As Integer _
)
public:
virtual void SetTargetlIndex(
	int TargetIndex
) sealed
Parameters
TargetIndex (Int32)
The target index.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the index is less than 0.
DuplicateIndexesExceptionThrown if the index matches one of the other targets.

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