Cove - A Practical Quantum Computer Programming Framework
SetFirstSwapIndex Method (FirstSwapIndex)
NamespacesCove.LocalSimulationOperationSwapSetFirstSwapIndex(Int32)
Set the target qubit of the first qubit to swap.
Declaration Syntax
C#Visual BasicVisual C++
public void SetFirstSwapIndex(
	int FirstSwapIndex
)
Public Sub SetFirstSwapIndex ( _
	FirstSwapIndex As Integer _
)
public:
virtual void SetFirstSwapIndex(
	int FirstSwapIndex
) sealed
Parameters
FirstSwapIndex (Int32)
The new target index of the first qubit to swap.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if FirstSwapIndex is less than 0. All indexes must be greater than or equal to zero.
DuplicateIndexesExceptionThrown if FirstSwapIndex is the same as the second swap index.

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