Cove - A Practical Quantum Computer Programming Framework
Measure Method (Index)
NamespacesCove.LocalSimulationQuantumRegisterMeasure(Int32)
Measure one qubit in the register.
Declaration Syntax
C#Visual BasicVisual C++
public ClassicalResult Measure(
	int Index
)
Public Function Measure ( _
	Index As Integer _
) As ClassicalResult
public:
virtual ClassicalResult^ Measure(
	int Index
) sealed
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.LocalSimulation (Module: Cove.LocalSimulation) Version: 1.0.0.0 (1.0.0.0)