**xdiag** is a modern, high-performance software package for the **Exact Diagonalization (ED)** of quantum many-body systems. Created by Alexander Wietek, it features a dual-language architecture: a highly optimized C++ core for computat…
**xdiag** is a modern, high-performance software package for the **Exact Diagonalization (ED)** of quantum many-body systems. Created by Alexander Wietek, it features a dual-language architecture: a highly optimized C++ core for computational efficiency and a Julia wrapper (`XDiag.jl`) for a user-friendly, high-level interface. It is designed to solve generic spin, boson, and fermion models on arbitrary geometries, exploiting symmetries to reach the largest possible system sizes.
xdiag is a modern, high-performance software package for the Exact Diagonalization (ED) of quantum many-body systems. Created by Alexander Wietek, it features a dual-language architecture: a highly optimized C++ core for computational efficiency and a Julia wrapper (XDiag.jl) for a user-friendly, high-level interface. It is designed to solve generic spin, boson, and fermion models on arbitrary geometries, exploiting symmetries to reach the largest possible system sizes.
Scientific domain: Quantum Many-Body Physics, Strongly Correlated Systems, Magnetism Target user community: Theorists using ED for spectral functions, ground states, and time evolution
libxdiag): Implements fast state lookup (Lin tables), matrix-vector multiplication, and parallelization.Coupling, Site, and Geometry.XDiag.jl registered in Julia General registry.Julia Example:
using XDiag
block = Spinhalf(N=16, n_up=8)
ops = OpSum()
ops += "Sz", 1, "Sz", 2
H = Hamiltonian(ops, block)
eigs, vecs = eigsolve(H)
| Feature | xdiag | QuSpin | EDKit.jl |
|---|---|---|---|
| Core | C++ (Distributed) | Python/C++ | Julia |
| Parallelism | MPI + OpenMP | OpenMP (Shared) | Threads (Julia) |
| Scaling | Cluster / Supercomputer | Single Node | Single Node |
| Symmetries | Extensive (Point/Space) | Moderate | U(1) / Translation |
Primary sources:
Verification status: ✅ VERIFIED