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()
public:
virtual array<int>^ GetIndexes(
	int Beginning, 
	int End
) sealed
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.LocalSimulation (Module: Cove.LocalSimulation) Version: 1.0.0.0 (1.0.0.0)