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 _
)
public:
virtual void Measure(
	int Index, 
	ClassicalResult^ ReturnValue
) sealed
Parameters
Index (Int32)
Index of the qubit to measure.
ReturnValue (ClassicalResult)
The classical information extracted from the qubit, false (0) or true (1).
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionThrown if the index specified is invalid.

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