**EDKit.jl** is a lightweight Julia package for performing Exact Diagonalization (ED) of generic many-body quantum systems. Developed by Roger Luo (author of Yao.jl), it provides a flexible framework for constructing Hamiltonians, handli…
**EDKit.jl** is a lightweight Julia package for performing Exact Diagonalization (ED) of generic many-body quantum systems. Developed by Roger Luo (author of Yao.jl), it provides a flexible framework for constructing Hamiltonians, handling symmetries, and performing spectral analysis. It is designed to be extensible, allowing users to define custom operator bases and exploit symmetries like $U(1)$ (particle conservation) and $\mathbb{Z}_2$ (spatial reflection).
Reference papers are not yet linked for this code.
EDKit.jl is a lightweight Julia package for performing Exact Diagonalization (ED) of generic many-body quantum systems. Developed by Roger Luo (author of Yao.jl), it provides a flexible framework for constructing Hamiltonians, handling symmetries, and performing spectral analysis. It is designed to be extensible, allowing users to define custom operator bases and exploit symmetries like $U(1)$ (particle conservation) and $\mathbb{Z}_2$ (spatial reflection).
Scientific domain: Quantum Many-Body Physics, Tensor Networks, Quantum Information Target user community: Researchers prototyping ED codes or studying small quantum lattice systems
TranslationalBasis).Op("Z", i)).SparseArrays, LinearAlgebra.Yao.jl (Quantum Computing), KrylovKit.jl (Eigensolvers).using EDKit
# Define basis with symmetry
basis = TensorProductBasis(2, 4; qn = TotalSz(0))
# Construct Hamiltonian
H = trans_invariant_hamiltonian(basis, ...)
# Solve
vals, vecs = eigs(H)
| Feature | EDKit.jl | ExactDiagonalization.jl | xdiag |
|---|---|---|---|
| Language | Julia | Julia | C++ / Julia Wrapper |
| Focus | Lightweight / Prototyping | Integrated (QuantumLattices.jl) | HPC / Production |
| Symmetry | U(1), Z2, Translation | General (via QL) | General (Space/Point) |
| Performance | Good (Julia) | Good (Julia) | Excellent (C++ Core) |
Primary sources:
Verification status: ✅ VERIFIED