Correction to: Nature Photonics https://doi.org/10.1038/s41566-023-01272-3, published online 14 August 2023.

In the version of the article initially published, there was an error in the scale bar of Fig. 2d: the range now shown as 0 to 1 showed 0 to ∞. This has been corrected in the HTML and PDF versions of the article.