The Language-Integrated Quantum Operations (LIQUi|>) Simulator
GateOptimizeKraus Method |
Optimze a Channel gate with Kraus operators (checks correctness and orders by magnitude)
Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)

F#
member OptimizeKraus : g2 : FSharpOption<Gate> * name : FSharpOption<string> * idMult : FSharpOption<int> * povm : FSharpOption<string> -> FSharpFunc<FSharpList<Qubit>, Unit>
Parameters
- g2
- Type: Microsoft.FSharp.CoreFSharpOptionGate
Gate to append to make more complex channels (optional=None) - name
- Type: Microsoft.FSharp.CoreFSharpOptionString
New name for the gate (optional=K####) - idMult
- Type: Microsoft.FSharp.CoreFSharpOptionInt32
If appending, how much to multiply the parent gate IDs by (optional=count of appended) - povm
- Type: Microsoft.FSharp.CoreFSharpOptionString
Tag to use as POVM symbol for the new gate (optional="POVM")
Return Value
Type: FSharpFuncFSharpListQubit, UnitNew Gate Function
