Resets this Ket to an initial state with a specified number of qubits.
Namespace: Microsoft.Research.LiquidAssembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax member Reset :
want : FSharpOption<int> *
init : FSharpOption<Bit> -> FSharpList<Qubit>
Parameters
- want
- Type: Microsoft.FSharp.CoreFSharpOptionInt32
An optional new qubit count.
The default is to keep the same number of qubits. - init
- Type: Microsoft.FSharp.CoreFSharpOptionBit
An optional initial value for all qubits.
The default is Zero.
Return Value
Type:
FSharpListQubitThe new Qubits in this Ket
See Also