Click or drag to resize
OperationsCgateNC Method
Performs a parent gate under quantum control. The parent must be a unitary gate. The resulting gate is not cached.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
static member CgateNC : 
        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