Measure Method (Indexes, ReturnValue)
Cove - A Practical Quantum Computer Programming Framework
Measure Method (Indexes, ReturnValue)
NamespacesCove.BaseIQuantumRegisterMeasure(IEnumerable<(Of <(Int32>)>), ClassicalResult)
Measure a set of qubits in the register. A user can subclass ClassicalResult with their own class and pass that in if needed.
Declaration Syntax
C#Visual BasicVisual C++
void Measure(
	IEnumerable<int> Indexes,
	ClassicalResult ReturnValue
)
Sub Measure ( _
	Indexes As IEnumerable(Of Integer), _
	ReturnValue As ClassicalResult _
)
void Measure(
	IEnumerable<int>^ Indexes, 
	ClassicalResult^ ReturnValue
)
Parameters
Indexes (IEnumerable<(Of <(Int32>)>))
Indexes of the qubits to measure
ReturnValue (ClassicalResult)
The object which will contain the result of the measurement.
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionThrown if any of the indexes are invalid.

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