English

Code switching revisited: Low-overhead magic state preparation using color codes

Quantum Physics 2025-04-25 v3

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 10310^{-3} (excluding idling noise), our code switching protocol yields a magic state encoded in the distance-33 2D color code with a logical infidelity of 4.6×105±1.6×1054.6\times 10^{-5}\pm 1.6 \times 10^{-5} (quantified by an error-corrected logical state tomography) with an 84%84\% of acceptance rate. Used in conjunction with a postselection approach, extrapolation from a polynomial fit suggests a fidelity improvement to 5.1×1075.1 \times 10^{-7} 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 TT-gate, that permits to simulate the protocol without resorting to a resource intensive state-vector simulation.

Keywords

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

R2 v1 2026-06-28T19:15:10.150Z