Click or drag to resize
KetDumpKP Method
Dump the portion of this state vector that includes a specific qubit and all of the qubits it is entangled with. If this Ket is a product state, then only the factor containing the specified qubit is dumped.

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
member DumpKP : 
        q : Qubit * 
        f : FSharpFunc<int, FSharpFunc<string, Unit>> * 
        level : int * 
        doMCC : FSharpOption<bool> -> unit 

Parameters

q
Type: Microsoft.Research.LiquidQubit
The Qubit that iodentifies the product state factor.
f
Type: Microsoft.FSharp.CoreFSharpFuncInt32, FSharpFuncString, Unit
The optional output function to use. The default is showLogInd.
level
Type: SystemInt32
The optional indentation level. The default is 0.
doMCC
Type: Microsoft.FSharp.CoreFSharpOptionBoolean
An option that, if true, causes probabilities (complex magnitude squared) to be output for each state entry, rather than the complex amplitude. The default is to output the complex amplitude for each state.
See Also