Cove - A Practical Quantum Computer Programming Framework
ClassicalResult Constructor (Value)
NamespacesCove.BaseClassicalResultClassicalResult(Int64)
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 _
)
public:
ClassicalResult(
	long long Value
)
Parameters
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: 1.0.0.0 (1.0.0.0)