Ket.Entropy Method

Liquid Quantum Simulator

KetEntropy Method
Get the entanglement entropy

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
member Entropy : 
        alpha : int * 
        qPos : int * 
        order : FSharpOption<FSharpList<int>> -> float 

Parameters

alpha
Type: SystemInt32
Denotes the generalized entropy parameter: 1 for Von Neumann or 2 for Reny
qPos
Type: SystemInt32
qubit position, 0 to nQubits (based on order)
order
Type: Microsoft.FSharp.CoreFSharpOptionFSharpListInt32
Int list of qubit order to wind up in []=use results of previous call (optional=[0..N-1])

Return Value

Type: Double
Entropy value
See Also