EpsteinLib
High-performance computation of the Epstein zeta function, including a Python, Julia and Mathematica wrapper.
Cite this software
Description
EpsteinLib
Authors: Andreas A. Buchheit, Jonathan K. Busse, Ruben Gutendorf, DevOps: Jan Schmitz
Contact: buchheit@num.uni-sb.de
EpsteinLib is a C library designed for the fast and efficient computation of the Epstein zeta function for arbitrary multidimensional lattices. In addition to the C library, we also offer a Python package, epsteinlib, which can be easily installed via pip. For more information on the properties of the Epstein zeta function and on the underlying algorithm, see our recent preprint https://arxiv.org/abs/2412.16317.
Originally studied by Epstein [1,2], the Epstein zeta function forms the basis for computing general multidimensional lattice sums in classical and quantum physics applications [3]. Together with its regularization, it serves as the central ingredient in the singular Euler-Maclaurin (SEM) expansion, which generalizes the 300-year-old Euler summation formula to lattice sums in higher dimensions with physically relevant power-law interactions [4-5]. An efficiently computable representation of the Epstein zeta function is provided in [6,7,8]. In [8], we discuss in detail the analytical properties of the Epstein zeta function and present an algorithm for its computation, complete with error bounds.
Access
The stable release v0.5.0 is available on zenodo.
The latest development version of the software can be found on GitHub.
References
[1] P. Epstein. “Zur Theorie allgemeiner Zetafunctionen”. Math. Ann. 56 (1903), pp. 615–644.
[2] P. Epstein. “Zur Theorie allgemeiner Zetafunktionen. II”. Math. Ann. 63 (1906), pp. 205–216
[3] Andreas A. Buchheit et al. “Exact Continuum Representation of Long-range Interacting Systems and Emerging Exotic Phases in Unconventional Superconductors”, Phys. Rev. Research 5, 043065 (2023)
[4] Andreas A Buchheit and Torsten Keßler. “On the Efficient Computation of Large Scale Singular Sums with Applications to Long-Range Forces in Crystal Lattices”. J. Sci. Comput. 90.1 (2022), pp. 1–20
[5] Andreas A Buchheit and Torsten Keßler. “Singular Euler–Maclaurin expansion on multidimensional lattices”. Nonlinearity 35.7 (2022), p. 3706
[6] R. Crandall. “Unified algorithms for polylogarithm, L-series, and zeta variants”. Algorithmic Reflections: Selected Works. PSIpress, 2012
[7] Andreas A. Buchheit, Torsten Keßler, and Kirill Serkh. "On the computation of lattice sums without translational invariance". Mathematics of Computation 94 (2025), pp. 2533-2574.
[8] Andreas A. Buchheit, Jonathan Busse, and Ruben Gutendorf. "Computation and properties of the Epstein zeta function with high-performance implementation in EpsteinLib". arXiv preprint arXiv:2412.16317 (2024).
Participating organisations
Reference papers
Mentions
- 1.Author(s): Erik Fitzner, Igor Lesanovsky, Björn SbierskiPublished in 202610.1103/znkq-plhz
- 2.Author(s): Kapil ShrivastavaPublished in 202610.1016/j.physb.2026.419522
- 3.Author(s): David H. WoodPublished in 202610.1063/5.0331232
- 4.Author(s): Bruno Valeixo Bento, Miguel MonteroPublished in 202610.1007/jhep01(2026)099
- 5.Author(s): Andreas A. Buchheit, Jonathan K. BussePublished in 202610.1007/s00211-026-01558-y
- 6.Author(s): Jan Alexander Koziol, Kai Phillip SchmidtPublished in 202610.1038/s42005-026-02796-0
- 7.Author(s): Andrew D. Kim, Ahmed Khalifa, Shubhayu ChatterjeePublished in 202510.1103/2tx1-v7ml
- 8.Author(s): Lalit Yadav, Afonso Rufino, Rabindranath Bag, Matthew Ennis, Jan Alexander Koziol, Clarina dela Cruz, Alexander I. Kolesnikov, V. Ovidiu Garlea, Keith M. Taddei, David Graf, Kai Phillip Schmidt, Frédéric Mila, Sara HaravifardPublished in 202510.1103/9ynf-xx1t
- 9.Author(s): Andres Robles-Navarro, Shaun Cooper, Andreas A. Buchheit, Jonathan K. Busse, Antony Burrows, Odile Smits, Peter SchwerdtfegerPublished in 202510.1063/5.0276677
- 10.Author(s): Gianguido Dall’Agata, Fabio ZwirnerPublished in 202510.1007/jhep12(2025)131
- 11.Author(s): Jan Alexander Koziol, Anja Langheld, Kai Phillip SchmidtPublished in 202510.1103/syps-9r7r
- 1.Author(s): Buchheit, Andreas Alexander, Rupp, AndreasPublished in 202610.48550/arxiv.2609.18918
- 2.Author(s): Duft, Antonia, Adelhardt, Patrick, Koziol, Jan Alexander, Buchheit, Andreas A., Schmidt, Kai PhillipPublished in 202610.48550/arxiv.2609.18761
- 3.Author(s): Iosevich, A., Vagharshakyan, A., Wyman, E.Published in 202610.48550/arxiv.2604.03178
- 4.Author(s): Buchheit, Andreas A., Busse, Jonathan K.Published in 202610.48550/arxiv.2609.28282
- 5.Author(s): Qin, Mingcan, Qin, YifengPublished in 202610.48550/arxiv.2603.03755
- 6.Author(s): Chen, Hengzhun, Li, YingzhouPublished in 202610.48550/arxiv.2607.12390
- 7.Author(s): Trevor NestorPublished in 202510.21203/rs.3.rs-8443771/v1