Compiles a function implemented as a sequence of gate function calls into a Circuit.
Namespace: Microsoft.Research.LiquidAssembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax 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:
CircuitA new Circuit that represents the function calls
See Also