Cove - A Practical Quantum Computer Programming Framework
GetIndexes Method (Beginning, End)
NamespacesCove.BaseIQuantumRegisterGetIndexes(Int32, Int32)
Get an array of indexes. This can be used when passing indexes to methods that apply operations
Declaration Syntax
C#Visual BasicVisual C++
int[] GetIndexes(
	int Beginning,
	int End
)
Function GetIndexes ( _
	Beginning As Integer, _
	End As Integer _
) As Integer()
array<int>^ GetIndexes(
	int Beginning, 
	int End
)
Parameters
Beginning (Int32)
Starting index
End (Int32)
End Index
Return Value
The indexes requested
Remarks
Each register has its own indexes, so registers obtained through slicing will have their own indexes and start at 0.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if either parameter is outside the bounds of the register.

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