Cove - A Practical Quantum Computer Programming Framework
Measure Method (Index, ReturnValue)
NamespacesCove.BaseIQuantumRegisterMeasure(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++
void Measure(
	int Index,
	ClassicalResult ReturnValue
Sub Measure ( _
	Index As Integer, _
	ReturnValue As ClassicalResult _
void Measure(
	int Index, 
	ClassicalResult^ ReturnValue
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.Base (Module: Cove.Base) Version: (