Correction to: Nature Physics https://doi.org/10.1038/s41567-022-01644-6, published online 4 July 2022.

In the version of this article initially published, there was a typographical error in the x-axis label of Fig. 1b, where the label now reading “Impurity–superconductor coupling” originally appeared as “Impurity–semiconductor coupling.” The figure has been replaced in the HTML and PDF versions of the article.