Set the target qubit of the second qubit to swap.

Declaration Syntax
public void SetSecondSwapIndex(
int SecondSwapIndex
)
Public Sub SetSecondSwapIndex ( _
SecondSwapIndex As Integer _
)
public:
virtual void SetSecondSwapIndex(
int SecondSwapIndex
) sealed

Parameters
- SecondSwapIndex (Int32)
- The new target index of the second
qubit to swap.

Exceptions
Exception | Condition |
---|
ArgumentOutOfRangeException | Thrown if SecondSwapIndex
is less than 0. All indexes must be greater than or equal to zero.
|
DuplicateIndexesException | Thrown if SecondSwapIndex
is the same as the first swap index.
|
Assembly:
Cove.LocalSimulation (Module: Cove.LocalSimulation) Version: 1.0.0.0 (1.0.0.0)