Skip to main content

Module observables

Module observables 

Source
Expand description

Observables of a walk state (Sellapillay & Verga, section 2.2): position and color probabilities, edge spins, entanglement entropies (base-2 logarithm) and concurrence.

Functions§

concurrence
Concurrence max(0, √λ₁ − √λ₂ − √λ₃ − √λ₄) of a two-qubit density matrix, λ the eigenvalues of ρ (Y⊗Y) ρ* (Y⊗Y) in decreasing order.
ks_distance
Kolmogorov–Smirnov distance between a distribution over the nodes and the uniform one, max_x |Σ_{y ≤ x} p(y) − (x + 1)/N| (Sellapillay & Verga, Eq. 31): 0 for a walker spread evenly, larger for a localized one.
von_neumann
−Σ λ log₂ λ over the eigenvalues of a density matrix.