Set the target qubit of the second qubit to swap.

Declaration Syntax
void SetSecondSwapIndex(
int SecondSwapIndex
)
Sub SetSecondSwapIndex ( _
SecondSwapIndex As Integer _
)
void SetSecondSwapIndex(
int SecondSwapIndex
)

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