Code switching revisited: Low-overhead magic state preparation using color codes
Abstract
We propose a protocol to prepare a high-fidelity magic state on a two-dimensional (2D) color code using a three-dimensional (3D) color code. Our method modifies the known code switching protocol with (i) a recently discovered transversal gate between the 2D and the 3D code and (ii) a judicious use of flag-based postselection. We numerically demonstrate that these modifications lead to a significant improvement in the fidelity of the magic state. For instance, subjected to a uniform circuit-level noise of (excluding idling noise), our code switching protocol yields a magic state encoded in the distance- 2D color code with a logical infidelity of (quantified by an error-corrected logical state tomography) with an of acceptance rate. Used in conjunction with a postselection approach, extrapolation from a polynomial fit suggests a fidelity improvement to for the same code. Our protocol is aimed for architectures that allow nonlocal connectivity and should be readily implementable in near-term devices. Finally, we also present a simulation technique akin to an extended stabilizer simulator which effectively incorporates the non-Clifford -gate, that permits to simulate the protocol without resorting to a resource intensive state-vector simulation.
Cite
@article{arxiv.2410.07327,
title = {Code switching revisited: Low-overhead magic state preparation using color codes},
author = {Lucas Daguerre and Isaac H. Kim},
journal= {arXiv preprint arXiv:2410.07327},
year = {2025}
}
Comments
12 pages, 11 figures. v2: minor changes. v3: several changes have been made with respect to v2, including modifications of the text body, abstract, and Tables I and II, as well as the addition of Appendix A, Section IV C and Figure 10