FewBodyToolkit.jl: a Julia package for solving quantum few-body problems
Lucas Happ
TL;DR
FewBodyToolkit.jl delivers an open-source, Julia-based framework for solving quantum few-body problems by unifying two- and three-body solvers across 1D–3D with arbitrary pairwise interactions. The approach relies on the Gaussian expansion method, leveraging Jacobi coordinates and Faddeev decomposition to build a generalized eigenvalue problem that yields bound and resonant states, complemented by automatic angular-momentum coupling and symmetrization. The work provides a modular, well-documented API with dedicated solvers (GEM2B, GEM3B1D, ISGL), a detailed workflow (validation, size estimation, precomputation, interpolation, and observables), and practical demonstrations through Coulomb, mass-imbalanced, and positronium examples, along with benchmarks. This combination of flexibility, diagnostics, and accessible documentation positions the package as a versatile tool for research, teaching, benchmarking, and method development in quantum few-body physics.
Abstract
Few-body physics explores quantum systems of a small number of particles, bridging the gap between single-particle and many-body regimes. To provide an accessible tool for such studies, we present FewBodyToolkit.jl, a Julia package for quantum few-body simulations. The package supports general two- and three-body systems in various spatial dimensions with arbitrary pair-interactions, and allows to calculate bound and resonant states. The implementation is based on the well-established Gaussian expansion method and we illustrate the package's capabilities through benchmarks and research examples. The package comes with documentation and examples, making it useful for research, teaching, benchmarking, and method development.
