ClassicalResult Constructor (NumberOfQubits, Value)
Cove - A Practical Quantum Computer Programming Framework
ClassicalResult Constructor (NumberOfQubits, Value)
NamespacesCove.BaseClassicalResultClassicalResult(Int32, 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.)
Declaration Syntax
C#Visual BasicVisual C++
public ClassicalResult(
	int NumberOfQubits,
	long Value
)
Public Sub New ( _
	NumberOfQubits As Integer, _
	Value As Long _
)
public:
ClassicalResult(
	int NumberOfQubits, 
	long long Value
)
Parameters
NumberOfQubits (Int32)
Number of qubits the result represents
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)