The Language-Integrated Quantum Operations (LIQUi|>) Simulator
CVec Constructor (Double, FSharpOptionDouble, FSharpOptionBoolean) |
Creates a new vector from initial value vectors, real and imaginary.
Note that the length of the new vector must be no more than 2^20.
Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)

F#
new : rs : float[] * is : FSharpOption<float[]> * force : FSharpOption<bool> -> CVec
Parameters
- rs
- Type: SystemDouble
The vector of real initial values - is
- Type: Microsoft.FSharp.CoreFSharpOptionDouble
An optional vector of imaginary initial values; default is zero - force
- Type: Microsoft.FSharp.CoreFSharpOptionBoolean
Option to force complete (non-sparse) allocation of the vector; defaults to false
