Click or drag to resize
OperationsCgate Method
Performs a parent gate under quantum control. The parent must be a unitary gate.

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

Parameters

f
Type: Microsoft.FSharp.CoreFSharpFuncFSharpListQubit, Unit
The gate to control.
qs
Type: Microsoft.FSharp.CollectionsFSharpListQubit
The first qubit is the control qubit, and the remainder are passed to the parent gate.
See Also