Returns a slice (subset) of the register from StartIndex to the end.
| C# | Visual Basic | Visual C++ |
IQuantumRegister SliceFrom( int StartIndex )
Function SliceFrom ( _ StartIndex As Integer _ ) As IQuantumRegister
IQuantumRegister^ SliceFrom( int StartIndex )
- StartIndex (Int32)
- Starting index in the register to get the slice of.
The quantum register representing the slice.
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | Thrown if the start index is out of range. |