A SAT Scalpel for Lattice Surgery: Representation and Synthesis of Subroutines for Surface-Code Fault-Tolerant Quantum Computing
Abstract: Quantum error correction is necessary for large-scale quantum computing. A promising quantum error correcting code is the surface code. For this code, fault-tolerant quantum computing (FTQC) can be performed via lattice surgery, i.e., splitting and merging patches of code. Given the frequent use of certain lattice-surgery subroutines (LaS), it becomes crucial to optimize their design in order to minimize the overall spacetime volume of FTQC. In this study, we define the variables to represent LaS and the constraints on these variables. Leveraging this formulation, we develop a synthesizer for LaS, LaSsynth, that encodes a LaS construction problem into a SAT instance, subsequently querying SAT solvers for a solution. Starting from a baseline design, we can gradually invoke the solver with shrinking spacetime volume to derive more compact designs. Due to our foundational formulation and the use of SAT solvers, LaSsynth can exhaustively explore the design space, yielding optimal designs in volume. For example, it achieves 8% and 18% volume reduction respectively over two states-of-the-art human designs for the 15-to-1 T-factory, a bottleneck in FTQC.
- P. W. Shor, “Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer,” SIAM Review, vol. 41, no. 2, pp. 303–332, 1999, DOI: 10.1137/S0036144598347011.
- Google Quantum AI, “Suppressing quantum errors by scaling a surface code logical qubit,” Nature, vol. 614, no. 7949, pp. 676–681, 2023, DOI: 10.1038/s41586-022-05434-1.
- S. A. Moses, C. H. Baldwin, M. S. Allman, R. Ancona, L. Ascarrunz, C. Barnes, J. Bartolotta, B. Bjork, P. Blanchard, M. Bohn, J. G. Bohnet, N. C. Brown, N. Q. Burdick, W. C. Burton, S. L. Campbell, J. P. Campora, C. Carron, J. Chambers, J. W. Chan, Y. H. Chen, A. Chernoguzov, E. Chertkov, J. Colina, J. P. Curtis, R. Daniel, M. DeCross, D. Deen, C. Delaney, J. M. Dreiling, C. T. Ertsgaard, J. Esposito, B. Estey, M. Fabrikant, C. Figgatt, C. Foltz, M. Foss-Feig, D. Francois, J. P. Gaebler, T. M. Gatterman, C. N. Gilbreth, J. Giles, E. Glynn, A. Hall, A. M. Hankin, A. Hansen, D. Hayes, B. Higashi, I. M. Hoffman, B. Horning, J. J. Hout, R. Jacobs, J. Johansen, L. Jones, J. Karcz, T. Klein, P. Lauria, P. Lee, D. Liefer, S. T. Lu, D. Lucchetti, C. Lytle, A. Malm, M. Matheny, B. Mathewson, K. Mayer, D. B. Miller, M. Mills, B. Neyenhuis, L. Nugent, S. Olson, J. Parks, G. N. Price, Z. Price, M. Pugh, A. Ransford, A. P. Reed, C. Roman, M. Rowe, C. Ryan-Anderson, S. Sanders, J. Sedlacek, P. Shevchuk, P. Siegfried, T. Skripka, B. Spaun, R. T. Sprenkle, R. P. Stutz, M. Swallows, R. I. Tobey, A. Tran, T. Tran, E. Vogt, C. Volin, J. Walker, A. M. Zolot, and J. M. Pino, “A race-track trapped-ion quantum processor,” Phys. Rev. X, vol. 13, p. 041052, 2023, DOI: 10.1103/PhysRevX.13.041052.
- A. R. Calderbank, E. M. Rains, P. M. Shor, and N. J. Sloane, “Quantum error correction via codes over GF(4),” IEEE Transactions on Information Theory, vol. 44, no. 4, pp. 1369–1387, 1998, DOI: 10.1109/ISIT.1997.613213.
- E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, “Topological quantum memory,” Journal of Mathematical Physics, vol. 43, no. 9, pp. 4452–4505, 2002, DOI: 10.1063/1.1499754.
- D. Gottesman, “Stabilizer codes and quantum error correction,” Ph.D. dissertation, California Institute of Technology, 1997, DOI: 10.48550/arXiv.quant-ph/9705052.
- A. G. Fowler, M. Mariantoni, J. M. Martinis, and A. N. Cleland, “Surface codes: Towards practical large-scale quantum computation,” Phys. Rev. A, vol. 86, p. 032324, 2012, DOI: 10.1103/PhysRevA.86.032324.
- D. Litinski, “A game of surface codes: Large-scale quantum computing with lattice surgery,” Quantum, vol. 3, p. 128, 2019, DOI: 10.22331/q-2019-03-05-128.
- D. Litinski and N. Nickerson, “Active volume: An architecture for efficient fault-tolerant quantum computers with limited non-local connections”, 2022, DOI: 10.48550/arXiv.2211.15465.
- A. G. Fowler and C. Gidney, “Low overhead quantum computation using lattice surgery”, 2019, DOI: 10.48550/arXiv.1808.06709.
- D. Horsman, A. G. Fowler, S. Devitt, and R. V. Meter, “Surface code quantum computing by lattice surgery,” New Journal of Physics, vol. 14, no. 12, p. 123011, 2012, DOI: 10.1088/1367-2630/14/12/123011.
- R. Raussendorf, J. Harrington, and K. Goyal, “Topological fault-tolerance in cluster state quantum computation,” New Journal of Physics, vol. 9, no. 6, p. 199, 2007, DOI: 10.1088/1367-2630/9/6/199.
- M. E. Beverland, P. Murali, M. Troyer, K. M. Svore, T. Hoefler, V. Kliuchnikov, G. H. Low, M. Soeken, A. Sundaram, and A. Vaschillo, “Assessing requirements to scale to practical quantum advantage”, 2022, DOI: 10.48550/arXiv.2211.07629.
- C. Chamberland and E. T. Campbell, “Universal quantum computing with twist-free and temporally encoded lattice surgery,” PRX Quantum, vol. 3, p. 010331, 2022, DOI: 10.1103/PRXQuantum.3.010331.
- A. Paler and A. G. Fowler, “OpenSurgery for topological assemblies,” in 2020 IEEE Globecom Workshops, 2020, DOI: 10.1109/GCWkshps50303.2020.9367489.
- G. Watkins, H. M. Nguyen, V. Seshadri, K. Watkins, S. Pearce, H.-K. Lau, and A. Paler, “A high performance compiler for very large scale surface code computations”, 2023, DOI: 10.48550/arXiv.2302.02459.
- S. A. Cuccaro, T. G. Draper, S. A. Kutin, and D. P. Moulton, “A new quantum ripple-carry addition circuit”, 2004, DOI: 10.48550/arXiv.quant-ph/0410184.
- S. Aaronson and D. Gottesman, “Improved simulation of stabilizer circuits,” Phys. Rev. A, vol. 70, p. 052328, 2004, DOI: 10.1103/PhysRevA.70.052328.
- C. Gidney and A. G. Fowler, “Flexible layout of surface code computations using AutoCCZ states”, 2019, DOI: 10.48550/arXiv.1905.08916.
- C. Gidney and A. G. Fowler, “Efficient magic state factories with a catalyzed |CCZ⟩ket𝐶𝐶𝑍|CCZ\rangle| italic_C italic_C italic_Z ⟩ to 2|T⟩2ket𝑇2|T\rangle2 | italic_T ⟩ transformation,” Quantum, vol. 3, p. 135, 2019, DOI: 10.22331/q-2019-04-30-135.
- C. Gidney and M. Ekerå, “How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits,” Quantum, vol. 5, p. 433, 2021, DOI: 10.22331/q-2021-04-15-433.
- C. Gidney, “Inplace access to the surface code Y basis,” Quantum, vol. 8, p. 1310, 2024, DOI: 10.22331/q-2024-04-08-1310.
- N. de Beaudrap and D. Horsman, “The ZX calculus is a language for surface code lattice surgery,” Quantum, vol. 4, p. 218, 2020, DOI: 10.22331/q-2020-01-09-218.
- J. van de Wetering, “ZX-calculus for the working quantum computer scientist”, 2020, DOI: 10.48550/arXiv.2012.13966.
- M. Backens, S. Perdrix, and Q. Wang, “A simplified stabilizer ZX-calculus,” Electronic Proceedings in Theoretical Computer Science, vol. 236, pp. 1–20, 2017, DOI: 10.4204/eptcs.236.1.
- H. Bombin, D. Litinski, N. Nickerson, F. Pastawski, and S. Roberts, “Unifying flavors of fault tolerance with the ZX calculus”, 2023, DOI: 10.48550/arXiv.2303.08829.
- L. de Moura and N. Bjørner, “Z3: An efficient SMT solver,” in Tools and Algorithms for the Construction and Analysis of Systems, ser. Lecture Notes in Computer Science, C. R. Ramakrishnan and J. Rehof, Eds. Berlin, Heidelberg: Springer, 2008, pp. 337–340, DOI: 10.1007/978-3-540-78800-3“˙ 24.
- A. Biere and M. Fleury, “Gimsatul, IsaSAT and Kissat entering the SAT Competition 2022,” in Proc. of SAT Competition 2022 – Solver and Benchmark Descriptions, ser. Department of Computer Science Series of Publications B, T. Balyo, M. Heule, M. Iser, M. Järvisalo, and M. Suda, Eds., vol. B-2022-1. University of Helsinki, 2022, pp. 10–11. [Online]. Available: https://cca.informatik.uni-freiburg.de/papers/BiereFleury-SAT-Competition-2022-solvers.pdf
- C. Gidney, “Stim: a fast stabilizer circuit simulator,” Quantum, vol. 5, p. 497, 2021, DOI: 10.22331/q-2021-07-06-497.
- D. B. Tan, “Code for ISCA’24 paper A SAT Scalpel for Lattice Surgery”, 2024, DOI: 10.5281/zenodo.11051466.
- S. Liu, N. Benchasattabuse, D. Q. Morgan, M. Hajdušek, S. J. Devitt, and R. Van Meter, “A substrate scheduler for compiling arbitrary fault-tolerant graph states,” in 2023 IEEE International Conference on Quantum Computing and Engineering (QCE), vol. 01, 2023, pp. 870–880, DOI: 10.1109/QCE57702.2023.00101.
- M. Hein, W. Dür, J. Eisert, R. Raussendorf, M. Van den Nest, and H.-J. Briegel, “Entanglement in graph states and its applications,” in Quantum Computers, Algorithms and Chaos, ser. Proceedings of the Enrico Fermi International School of Physics, vol. 162. Varenna, Italy: IOP Press, 2006, pp. 115–218, DOI: 10.3254/978-1-61499-018-5-115.
- M. K. Vijayan, A. Paler, J. Gavriel, C. R. Myers, P. P. Rohde, and S. J. Devitt, “Compilation of algorithm-specific graph states for quantum circuits,” Quantum Science and Technology, vol. 9, no. 2, p. 025005, feb 2024, DOI: 10.1088/2058-9565/ad1f39.
- A. Cabello, L. E. Danielsen, A. J. López-Tarrida, and J. R. Portillo, “Optimal preparation of graph states,” Phys. Rev. A, vol. 83, p. 042314, 2011, DOI: 10.1103/PhysRevA.83.042314.
- D. Schreiber and P. Sanders, Scalable SAT Solving in the Cloud. Springer, Cham, 07 2021, pp. 518–534, DOI: 10.1007/978-3-030-80223-3“˙ 35.
- D. Herr, F. Nori, and S. J. Devitt, “Lattice surgery translation for quantum computation,” New Journal of Physics, vol. 19, no. 1, p. 013034, 2017, DOI: 10.1088/1367-2630/aa5709.
- D. Litinski, “Magic state distillation: Not as costly as you think,” Quantum, vol. 3, p. 205, 2019, DOI: 10.22331/q-2019-12-02-205.
- A. Paler, S. J. Devitt, and A. G. Fowler, “Synthesis of arbitrary quantum circuits to topological assembly,” Scientific reports, vol. 6, no. 1, p. 30600, 2016, DOI: 10.1038/srep30600.
- A. G. Fowler and S. J. Devitt, “A bridge to lower overhead quantum computation”, 2013, DOI: 10.48550/arXiv.1209.0510.
- C.-H. Hsu, W.-H. Lin, W.-H. Tseng, and Y.-W. Chang, “A bridge-based compression algorithm for topological quantum circuits,” in 2021 58th ACM/IEEE Design Automation Conference (DAC), 2021, pp. 457–462, DOI: 10.1109/DAC18074.2021.9586322.
- Y. Lin, B. Yu, M. Li, and D. Z. Pan, “Layout synthesis for topological quantum circuits with 1-D and 2-D architectures,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 37, no. 8, pp. 1574–1587, 2018, DOI: 10.1109/TCAD.2017.2760511.
- F. Hua, Y. Chen, Y. Jin, C. Zhang, A. Hayes, Y. Zhang, and E. Z. Zhang, “AutoBraid: A framework for enabling efficient surface code communication in quantum computing,” in 54th Annual IEEE/ACM International Symposium on Microarchitecture, ser. MICRO ’21. New York, NY, USA: Association for Computing Machinery, 2021, p. 925–936, DOI: 10.1145/3466752.3480072.
- A. Javadi-Abhari, P. Gokhale, A. Holmes, D. Franklin, K. R. Brown, M. Martonosi, and F. T. Chong, “Optimized surface code communication in superconducting quantum computers,” in Proceedings of the 50th Annual IEEE/ACM International Symposium on Microarchitecture, ser. MICRO-50 ’17. New York, NY, USA: Association for Computing Machinery, 2017, p. 692–705, DOI: 10.1145/3123939.3123949.
- S. S. Tannu, Z. A. Myers, P. J. Nair, D. M. Carmean, and M. K. Qureshi, “Taming the instruction bandwidth of quantum computers via hardware-managed error correction,” in Proceedings of the 50th Annual IEEE/ACM International Symposium on Microarchitecture, ser. MICRO-50 ’17. New York, NY, USA: Association for Computing Machinery, 2017, p. 679–691, DOI: 10.1145/3123939.3123940.
- Y. Ding, A. Holmes, A. Javadi-Abhari, D. Franklin, M. Martonosi, and F. T. Chong, “Magic-state functional units: Mapping and scheduling multi-level distillation circuits for fault-tolerant quantum architectures,” in Proceedings of the 51st Annual IEEE/ACM International Symposium on Microarchitecture, ser. MICRO-51. IEEE Press, 2018, p. 828–840, DOI: 10.1109/MICRO.2018.00072.
- N. Shutty and C. Chamberland, “Decoding merged color-surface codes and finding fault-tolerant Clifford circuits using solvers for Satisfiability Modulo Theories,” Physical Review Applied, vol. 18, no. 1, p. 014072, 2022, DOI: 10.1103/PhysRevApplied.18.014072.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.