Performs a gate under classical control.
The parent gate will be executed if the control qubit has a measured value of One.
Namespace: Microsoft.Research.LiquidAssembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax static member BC :
f : FSharpFunc<FSharpList<Qubit>, Unit> *
qs : FSharpList<Qubit> -> unit
Parameters
- f
- Type: Microsoft.FSharp.CoreFSharpFuncFSharpListQubit, Unit
The parent gate to control - qs
- Type: Microsoft.FSharp.CollectionsFSharpListQubit
A list of qubits.
The head qubit is the control qubit; its measured state determines whether or not
the parent gate is executed.
The tail of the list is passed to the parent gate if it is executed.
See Also