SetFirstSwapIndex Method (FirstSwapIndex)
Cove - A Practical Quantum Computer Programming Framework
SetFirstSwapIndex Method (FirstSwapIndex)
NamespacesCove.BaseIOperationSwapSetFirstSwapIndex(Int32)
Set the target qubit of the first qubit to swap.
Declaration Syntax
C#Visual BasicVisual C++
void SetFirstSwapIndex(
	int FirstSwapIndex
)
Sub SetFirstSwapIndex ( _
	FirstSwapIndex As Integer _
)
void SetFirstSwapIndex(
	int FirstSwapIndex
)
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.Base (Module: Cove.Base) Version: 1.0.0.0 (1.0.0.0)