Creates new Register, with given width and initial state.Namespace: Quantum
Assembly: Quantum (in Quantum.dll) Version: 126.96.36.199 (188.8.131.52)
- Type: System UInt64
Unsigned long integer, which binary representation is the initial configuration of qubits in new register.
- Type: System Int32
The number of qubits in newly created register.
- size (Optional)
- Type: System Nullable Int32
Optional argument. Describes size of data structure for storing all possible register states and their amplitudes. That inner data structure dynamically resizes itself, but if it could be very inefficient, this argument enables to reserve enough memory in advance.
Return ValueType: Register
Newly created register.