Operations.CCgate Method

Liquid Quantum Simulator

OperationsCCgate Method
Performs a parent gate under two-qubit 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 CCgate : 
        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 two qubits are the control, and the remainder are passed to the parent gate.
See Also