OperationsBangLess Operator |
In F# code, this operator is named !<.
Gets the gate definition from a gate function.
This is usually used to discover the "parent" gate.
Namespace: Microsoft.Research.LiquidAssembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax F# does not support this operator.
Parameters
- f
- Type: Microsoft.FSharp.CoreFSharpFuncFSharpListQubit, Unit
The gate function we want the Gate for. - qs
- Type: Microsoft.FSharp.CollectionsFSharpListQubit
A list of Qubits that can be used to find the gate.
Return Value
Type:
GateThe Gate corresponding to the gate function.
Note that if f is not a gate function, this function will raise an exception.
See Also