Circuit.Compile Method

Liquid Quantum Simulator

CircuitCompile Method
Compiles a function implemented as a sequence of gate function calls into a Circuit.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
static member Compile : 
        f : FSharpFunc<FSharpList<Qubit>, Unit> * 
        qs : FSharpList<Qubit> -> Circuit 

Parameters

f
Type: Microsoft.FSharp.CoreFSharpFuncFSharpListQubit, Unit
The gate function to compile.
qs
Type: Microsoft.FSharp.CollectionsFSharpListQubit
The qubits the new Circuit will operate on.

Return Value

Type: Circuit
A new Circuit that represents the function calls
See Also