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

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