Cove - A Practical Quantum Computer Programming Framework
SliceTo Method (EndIndex)
NamespacesCove.LocalSimulationQuantumRegisterSliceTo(Int32)
Returns a slice (subset) of the register from the beginning to EndIndex.
Declaration Syntax
C#Visual BasicVisual C++
public IQuantumRegister SliceTo(
	int EndIndex
)
Public Function SliceTo ( _
	EndIndex As Integer _
) As IQuantumRegister
public:
virtual IQuantumRegister^ SliceTo(
	int EndIndex
) sealed
Parameters
EndIndex (Int32)
The ending index of the slice.
Return Value
The quantum register representing the slice.
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionThrown if the end index is out of range.

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