Papers
Topics
Authors
Recent
Search
2000 character limit reached

A SAT Scalpel for Lattice Surgery: Representation and Synthesis of Subroutines for Surface-Code Fault-Tolerant Quantum Computing

Published 29 Apr 2024 in quant-ph and cs.ET | (2404.18369v3)

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.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (46)
  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. D. Gottesman, “Stabilizer codes and quantum error correction,” Ph.D. dissertation, California Institute of Technology, 1997, DOI: 10.48550/arXiv.quant-ph/9705052.
  7. 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.
  8. 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.
  9. 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.
  10. A. G. Fowler and C. Gidney, “Low overhead quantum computation using lattice surgery”, 2019, DOI: 10.48550/arXiv.1808.06709.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. A. Paler and A. G. Fowler, “OpenSurgery for topological assemblies,” in 2020 IEEE Globecom Workshops, 2020, DOI: 10.1109/GCWkshps50303.2020.9367489.
  16. 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.
  17. 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.
  18. S. Aaronson and D. Gottesman, “Improved simulation of stabilizer circuits,” Phys. Rev. A, vol. 70, p. 052328, 2004, DOI: 10.1103/PhysRevA.70.052328.
  19. C. Gidney and A. G. Fowler, “Flexible layout of surface code computations using AutoCCZ states”, 2019, DOI: 10.48550/arXiv.1905.08916.
  20. C. Gidney and A. G. Fowler, “Efficient magic state factories with a catalyzed |C⁢C⁢Z⟩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.
  21. 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.
  22. C. Gidney, “Inplace access to the surface code Y basis,” Quantum, vol. 8, p. 1310, 2024, DOI: 10.22331/q-2024-04-08-1310.
  23. 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.
  24. J. van de Wetering, “ZX-calculus for the working quantum computer scientist”, 2020, DOI: 10.48550/arXiv.2012.13966.
  25. 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.
  26. 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.
  27. 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.
  28. 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
  29. C. Gidney, “Stim: a fast stabilizer circuit simulator,” Quantum, vol. 5, p. 497, 2021, DOI: 10.22331/q-2021-07-06-497.
  30. D. B. Tan, “Code for ISCA’24 paper A SAT Scalpel for Lattice Surgery”, 2024, DOI: 10.5281/zenodo.11051466.
  31. 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.
  32. 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.
  33. 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.
  34. 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.
  35. 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.
  36. 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.
  37. 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.
  38. 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.
  39. A. G. Fowler and S. J. Devitt, “A bridge to lower overhead quantum computation”, 2013, DOI: 10.48550/arXiv.1209.0510.
  40. 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.
  41. 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.
  42. 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.
  43. 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.
  44. 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.
  45. 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.
  46. 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.
Citations (9)

Summary

  • The paper introduces LaSsynth, which encodes lattice surgery designs into SAT problems to systematically optimize quantum computing subroutines.
  • The paper demonstrates notable spacetime volume reductions—up to 18%—compared to conventional human-crafted designs for T-factories.
  • The paper paves the way for automated, scalable design improvements in fault-tolerant quantum computing, bridging theory and practical hardware implementation.

Optimizing Lattice Surgery Subroutines Using LaSsynth and SAT Solvers

Introduction

Lattice surgery is a prevalent scheme for fault-tolerant quantum computing (FTQC) due to its comparatively low resource overhead. Traditionally, lattice surgery operations, such as merges and splits of code patches, have been graphically represented and manually optimized by researchers. This method, although intuitive at smaller scales, becomes less feasible as system complexity increases. The presented paper introduces a systematic approach for synthesizing and optimizing lattice surgery subroutines (LaS) using a custom tool, LaSsynth, which fully leverages the power of satisfiability (SAT) solvers to explore the vast design space systematically.

LaSsynth: A Scalpel for Lattice Surgery Designs

LaSsynth encodes the design of lattice surgery subroutines into a SAT problem, transforming optimization into a query for SAT solvers. The tool starts with a reference design, iteratively shrinking its spacetime volume until an optimal volume is achieved, provided that the instances remain satisfiable. This approach avoids heuristic human-design biases, uncovering counterintuitive, optimal designs that might be overlooked otherwise.

Key Contributions

  • Representation and Formulation: LaSsynth uses a novel representation, LaSre, allowing intricate operations between any adjacent patches in the plane at any time. This flexibility surpasses traditional lattice surgery operations represented by fixed, simplistic graphical models (tiles and bridges).
  • Functional Implementation: LaSsynth efficiently transforms the LaS synthesis problem into a SAT instance. This encompasses creating constraints for both structural validity and correct implementation of specified stabilizers, dictated through correlation surfaces.
  • Results: Utilizing this approach, LaSsynth has demonstrated a significant reduction in both spacetime volumes and design complexity over existing human-crafted solutions. For instance, it achieved volume reductions of 8\% and 18\% over two state-of-the-art designs for the 15-to-1 T-factory.

Implications and Future Prospects

The development of LaSsynth signifies a pivotal move towards fully automated, optimizable designs in quantum computing hardware. By offloading the cognitive burden of design onto computationally efficient algorithms, researchers can scale operations more effectively, increasing both the reliability and feasibility of larger quantum systems. This approach is particularly beneficial in optimizing frequently used subroutines, which compounds the overall efficiency in larger FTQC protocols.

The broader adoption of tools like LaSsynth could stimulate further exploration into different quantum computing paradigms and architectures, including testing the efficiency of quasi-1D architectures or small footprint quantum chips. Furthermore, ongoing improvements to the underlying SAT solvers or integration with higher-level quantum compilers could enhance the scalability and appeal of this method.

Concluding Thoughts

In sum, the study encapsulates a significant advance in quantum compiler technology by introducing an innovative, scalable tool for optimizing lattice surgery subroutines through SAT solvers. As the quantum computing field moves towards more complex and large-scale implementations, tools like LaSsynth will be crucial in bridging the gap between theoretical models and practical, deployable quantum systems. The reduction in spacetime volume not only improves resource efficiency but also paves the way for more sophisticated designs and optimizations in fault-tolerant quantum computing.

Paper to Video (Beta)

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 3 tweets with 65 likes about this paper.