Cove - A Practical Quantum Computer Programming Framework
SetSecondSwapIndex Method (SecondSwapIndex)
NamespacesCove.LocalSimulationOperationSwapSetSecondSwapIndex(Int32)
Set the target qubit of the second qubit to swap.
Declaration Syntax
C#Visual BasicVisual C++
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
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if SecondSwapIndex is less than 0. All indexes must be greater than or equal to zero.
DuplicateIndexesExceptionThrown 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)