Correction to: Nature Physics https://doi.org/10.1038/s41567-024-02743-2, published online 22 January 2025.

In the version of this article originally published, the boxes around “Quantum interactions” in Fig. 1 were reversed, where “Free-electron–bound-electron resonant interactions” appeared on the right and “Quantum PINEM” appeared on the left side. The labels have been amended in the HTML and PDF versions of the article.