Measure Method (Index)
Cove - A Practical Quantum Computer Programming Framework
Measure Method (Index)
NamespacesCove.BaseIQuantumRegisterMeasure(Int32)
Measure one qubit in the register.
Declaration Syntax
C#Visual BasicVisual C++
ClassicalResult Measure(
	int Index
)
Function Measure ( _
	Index As Integer _
) As ClassicalResult
ClassicalResult^ Measure(
	int Index
)
Parameters
Index (Int32)
Index of the qubit to measure.
Return Value
The classical information extracted from the qubit, false (0) or true (1).
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionThrown if the index specified is invalid.

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