English

ABCMB: A Python+JAX Package for the Cosmic Microwave Background Power Spectrum

Cosmology and Nongalactic Astrophysics 2026-02-18 v1 High Energy Physics - Phenomenology

Abstract

We present ABCMB, a differentiable Einstein-Boltzmann solver for the cosmic microwave background (CMB). ABCMB is a complete code capturing important effects to linear order in ΛCDM\Lambda{\rm CDM} cosmology. It computes the CMB power spectrum and includes effects like lensing, polarization, massive neutrinos, and a state-of-the-art treatment of BBN 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. 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

Cite

@article{arxiv.2602.15104,
  title  = {ABCMB: A Python+JAX Package for the Cosmic Microwave Background Power Spectrum},
  author = {Zilu Zhou and Cara Giovanetti and Hongwan Liu},
  journal= {arXiv preprint arXiv:2602.15104},
  year   = {2026}
}

Comments

54 pages, 15 figures

R2 v1 2026-07-01T10:39:06.559Z