Cove - A Practical Quantum Computer Programming Framework
SliceReverse Method (StartIndex, StopIndex)
NamespacesCove.LocalSimulationQuantumRegisterSliceReverse(Int32, Int32)
Returns a slice (subset) of the quantum register, but the ordering of the qubits in the returned register are reversed.
Declaration Syntax
C#Visual BasicVisual C++
public IQuantumRegister SliceReverse(
	int StartIndex,
	int StopIndex
)
Public Function SliceReverse ( _
	StartIndex As Integer, _
	StopIndex As Integer _
) As IQuantumRegister
public:
virtual IQuantumRegister^ SliceReverse(
	int StartIndex, 
	int StopIndex
) sealed
Parameters
StartIndex (Int32)
Starting index in the register to get the slice of.
StopIndex (Int32)
Ending index in the register to get the slice of.
Return Value
The quantum register representing the slice.
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionThrown if the start or stop index parameters are out of range.
ArgumentOutOfRangeExceptionThrown if the stop index is less than the start index.

Assembly: Cove.LocalSimulation (Module: Cove.LocalSimulation) Version: 1.0.0.0 (1.0.0.0)