Cove - A Practical Quantum Computer Programming Framework
Measure Method (Indexes, ReturnValue)
NamespacesCove.LocalSimulationQuantumRegisterMeasure(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++
public void Measure(
	IEnumerable<int> Indexes,
	ClassicalResult ReturnValue
Public Sub Measure ( _
	Indexes As IEnumerable(Of Integer), _
	ReturnValue As ClassicalResult _
virtual void Measure(
	IEnumerable<int>^ Indexes, 
	ClassicalResult^ ReturnValue
) sealed
Indexes (IEnumerable<(Of <(Int32>)>))
Indexes of the qubits to measure
ReturnValue (ClassicalResult)
The object which will contain the result of the measurement.
IndexOutOfRangeExceptionThrown if any of the indexes are invalid.

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