Cove - A Practical Quantum Computer Programming Framework
GetIndexes Method (Beginning, End)
NamespacesCove.LocalSimulationQuantumRegisterGetIndexes(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++
public int[] GetIndexes(
	int Beginning,
	int End
Public Function GetIndexes ( _
	Beginning As Integer, _
	End As Integer _
) As Integer()
virtual array<int>^ GetIndexes(
	int Beginning, 
	int End
) sealed
Beginning (Int32)
Starting index
End (Int32)
End Index
Return Value
The indexes requested
Each register has its own indexes, so registers obtained through slicing will have their own indexes and start at 0.
ArgumentOutOfRangeExceptionThrown if either parameter is outside the bounds of the register.

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