Correction to: Nature Communications https://doi.org/10.1038/s41467-023-40733-9, published online 15 August 2023

The original version of this Article contained an error in the author affiliations. Lauren J. Riddiford was incorrectly associated with ‘Paul Scherrer Institut, Forschungsstrasse 111, 5232 Villigen, Switzerland’. This has now been corrected in both the PDF and HTML versions of the Article.

The original version of this Article contained an error in the author affiliations. Egecan Cogulu and Haowen Ren were incorrectly associated with ‘Department of Physics, New York University, New York, NY 10003, USA’. This has now been corrected in both the PDF and HTML versions of the Article.

The original version of this Article omitted the following from the Acknowledgements: H.R. was supported by Quantum Materials for Energy Efficient Neuromorphic Computing (Q-MEEN-C), an Energy Frontier Research Center funded by the US Department of Energy (DOE), Office of Science, Basic Energy Sciences (BES), under Award DE-SC0019273. E.C. and A.D.K. were supported by the National Science Foundation under Award DMR-2105114. This has now been corrected in both the PDF and HTML versions of the Article.