Cove - A Practical Quantum Computer Programming Framework
SetTargets Method (SetTargets)
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
SetTargets (array< Int32 >[]()[])
Target indexes of the operation
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: (