Set the target qubit of the first qubit to swap.

Declaration Syntax
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
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.LocalSimulation (Module: Cove.LocalSimulation) Version: 1.0.0.0 (1.0.0.0)