Cove - A Practical Quantum Computer Programming Framework
MeasureWithLabel Method
Measure the qubit- collapses it absolutely to |0> xor |1>. Instead of returning 0 or 1 like Measure() it returns the string label of the result.
Declaration Syntax
C#Visual BasicVisual C++
string MeasureWithLabel()
Function MeasureWithLabel As String
String^ MeasureWithLabel()
Return Value
The string label of what the qubit collapsed to.

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