Article view

Cosmologix: Fast, accurate and differentiable distances in the universe with JAX

By M. Betoule, J. Neveu, Dylan Kuhn, M. Le Jeune, Mathieu Bernard, N. Regnault, S. Bongard

Article information

Publication
Published 1 June 2026
Institutions at publication
Centre National de la Recherche Scientifique; Laboratoire de Physique Nucléaire et de Hautes Énergies; Laboratoire de Physique des 2 Infinis Irène Joliot-Curie; Laboratoire AstroParticule et Cosmologie; Agence Parisienne du Climat
1 Citations OpenAlex, 3 December 2026 FULL LIST: Citations
Countries with citations No data yet
Usage Phase 3: not collected yet

Abstract

Type Ia supernovae serve as standardizable candles to measure luminosity distances in the Universe. Cosmologix accelerates and simplifies cosmological parameter inference from large datasets by providing fully differentiable calculations of the distance-redshift relation as a function of cosmological parameters. This is achieved through the use of JAX, a Python library providing automatic differentiation and compilation for CPU and hardware accelerators. Cosmologix incorporates the density evolution of all relevant species, including neutrinos. It also provides common fitting formulae for the acoustic scale so that the resulting code can be used for fast cosmological inference from supernovae in combination with baryon acoustic oscillation or cosmic microwave background distance measurements. We checked the accuracy of our computation against CAMB, CCL and astropy.cosmology.We demonstrated that our implementation is approximately ten times faster than existing cosmological distance computation libraries, computing distances for 1000 redshifts in approximately 500 microseconds on a standard laptop CPU, while maintaining an accuracy of 10 -4 mag in the distance modulus over the redshift range 0.01 < 𝑧 < 1000.

Citations per year

Citations per year
YearCitations
2026 1

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

OpenAlex counts 1 citation, but the citing work is not listed here yet: citing works are collected from OpenAlex a few at a time, and it lists most, not all, of the citations it counts.

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • AUTHORS
  • CITATIONS No data yet
  • USAGE Phase 3
Authors by country
CountryAuthors
France7