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 _
)
public:
virtual void Measure(
	IEnumerable<int>^ Indexes, 
	ClassicalResult^ ReturnValue
) sealed
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.LocalSimulation (Module: Cove.LocalSimulation) Version: 1.0.0.0 (1.0.0.0)