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 Basic | Visual 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).