SetTargets Method (SetTargets)
Cove - A Practical Quantum Computer Programming Framework
SetTargets Method (SetTargets)
NamespacesCove.BaseIOperationIdentityNSetTargets(array<Int32>[]()[])
Set the target indexes for this operation. This also resizes the operation to match the number of indexes passed in.
Declaration Syntax
C#Visual BasicVisual C++
void SetTargets(
	int[] SetTargets
)
Sub SetTargets ( _
	SetTargets As Integer() _
)
void SetTargets(
	array<int>^ SetTargets
)
Parameters
SetTargets (array< Int32 >[]()[])
Target indexes of the operation
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if null is passed in.
ArgumentOutOfRangeExceptionThrown if any of the indexes are less than 0.
DuplicateIndexesExceptionThrown if any of the indexes in SetTargets are duplicates.

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