Cove - A Practical Quantum Computer Programming Framework
SetTargets Method (SetTargets)
NamespacesCove.LocalSimulationOperationIdentityNSetTargets(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++
public void SetTargets(
	int[] SetTargets
)
Public Sub SetTargets ( _
	SetTargets As Integer() _
)
public:
virtual void SetTargets(
	array<int>^ SetTargets
) sealed
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.LocalSimulation (Module: Cove.LocalSimulation) Version: 1.0.0.0 (1.0.0.0)