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.
|C#||Visual Basic||Visual C++|
public ClassicalResult( Value )
Public Sub New ( _ Value As _ )
public: ClassicalResult( Value )
Assembly: Cove.Base (Module: Cove.Base) Version: 184.108.40.206 (220.127.116.11)
- Value ( )
- The value, to treat as an unsigned integer (so it is known which bits to toggle on).