ABCMB: A Python+JAX Package for the Cosmic Microwave Background Power Spectrum
- 1 August 2026
- journal article
- Published by IOP Publishing in Journal of Cosmology and Astroparticle Physics
- Vol. 2026 (08) , 078
Abstract
We present ABCMB, a differentiable Einstein-Boltzmann solver for the cosmic microwave background (CMB). ABCMB is an analysis-ready code package capturing important effects to linear order in ΛCDM cosmology. It computes the CMB power spectrum and includes effects like lensing, polarization, massive neutrinos, and a state-of-the-art treatment of Big Bang Nucleosynthesis and recombination. ABCMB has sub-percent-level agreement with CLASS and can be run on a GPU with competitive, and sometimes even faster, run times, owing to ABCMB's favorable run time scaling with maximum multipole moment. It is refactored compared to previous codes and takes advantage of object-oriented programming to improve extensibility, meaning new physics can be added to it without the need for modifying source files. ABCMB provides accurate and stable gradients to the user, making Fisher analyses straightforward, and enabling the use of efficient gradient-based sampling methods.Keywords
All Related Versions
This publication has 57 references indexed in Scilit:
- SymBoltz.jl: A symbolic-numeric, approximation-free, and differentiable linear Einstein–Boltzmann solverAstronomy & Astrophysics, 2026
- candl: cosmic microwave background analysis with a differentiable likelihoodAstronomy & Astrophysics, 2024
- PArthENoPE revolutionsComputer Physics Communications, 2022
- Array programming with NumPyNature, 2020
- Planck2018 resultsAstronomy & Astrophysics, 2020
- SciPy 1.0: fundamental algorithms for scientific computing in PythonNature Methods, 2020
- PArthENoPE reloadedComputer Physics Communications, 2018
- Precision big bang nucleosynthesis with improved Helium-4 predictionsPhysics Reports, 2018
- PArthENoPE: Public algorithm evaluating the nucleosynthesis of primordial elementsComputer Physics Communications, 2008
- Relic neutrino decoupling including flavour oscillationsNuclear Physics B, 2005