Cove - A Practical Quantum Computer Programming Framework
Measure Method (Index, ReturnValue)
NamespacesCove.LocalSimulationQuantumRegisterMeasure(Int32, ClassicalResult)
Measure one qubit 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(
	int Index,
	ClassicalResult ReturnValue
Public Sub Measure ( _
	Index As Integer, _
	ReturnValue As ClassicalResult _
virtual void Measure(
	int Index, 
	ClassicalResult^ ReturnValue
) sealed
Index (Int32)
Index of the qubit to measure.
ReturnValue (ClassicalResult)
The classical information extracted from the qubit, false (0) or true (1).
IndexOutOfRangeExceptionThrown if the index specified is invalid.

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