Correction to: Nature https://doi.org/10.1038/s41586-022-05139-5 Published online 31 August 2022

In the version of this article initially published, there were errors in the second display equation in the Methods section, where the third, fourth and sixth closing brackets were missing. The equations have been corrected in the HTML and PDF versions of the article