Set the target qubit of the first qubit to swap.

Declaration Syntax
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
Exception | Condition |
---|
ArgumentOutOfRangeException | Thrown if FirstSwapIndex
is less than 0. All indexes must be greater than or equal to zero.
|
DuplicateIndexesException | Thrown 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)