Nature Physics, Published online: 16 September 2025; doi:10.1038/s41567-025-03026-0
The creation and purification of magic states can be a limiting step in quantum computing. Now an error correcting code has been found where the overhead of this process is the lowest value possible, showing that optimal performance can be achieved.