ClassicalResult Constructor (Value)
Cove - A Practical Quantum Computer Programming Framework
ClassicalResult Constructor (Value)
Constructor to create a classical result based on the number of qubits in the register and the value of the result. (Which should be treated like an unsigned long, but long is used since it is CLS compliant.) It will create the result with the necessary number of qubits to hold the value and no more.
Declaration Syntax
C#Visual BasicVisual C++
public ClassicalResult(
	long Value
Public Sub New ( _
	Value As Long _
	long long Value
Value (Int64)
The value, to treat as an unsigned integer (so it is known which bits to toggle on).

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