Click or drag to resize
Ket Constructor (FSharpOptionInt32, FSharpOptionBit)
Creates a populated Ket vector.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
new : 
        count : FSharpOption<int> * 
        init : FSharpOption<Bit> -> Ket

Parameters

count
Type: Microsoft.FSharp.CoreFSharpOptionInt32
Number of qubits to allocate.
init
Type: Microsoft.FSharp.CoreFSharpOptionBit
An optional initial value for the qubits, either Zero or One. The default is to initialize all qubits to Zero.
See Also