Correction to: Nature Physics https://doi.org/10.1038/s41567-023-02074-8. Published online 29 May 2023.

In the version of this article initially published, affiliations 1 and 6, now reading “LULI, CNRS, CEA, Sorbonne Université, École Polytechnique – Institut Polytechnique de Paris, Palaiseau, France” and “Institut de Minéralogie, de Physique des Matériaux et de Cosmochimie (IMPMC), Sorbonne Université, CNRS, MNHN, Paris, France,” respectively, were incomplete and are now amended in the HTML and PDF versions of the article.