{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,15]],"date-time":"2026-05-15T03:23:11Z","timestamp":1778815391268,"version":"3.51.4"},"reference-count":43,"publisher":"Verein zur Forderung des Open Access Publizierens in den Quantenwissenschaften","license":[{"start":{"date-parts":[[2025,9,15]],"date-time":"2025-09-15T00:00:00Z","timestamp":1757894400000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["quantum-journal.org"],"crossmark-restriction":false},"short-container-title":["Quantum"],"abstract":"<jats:p>Magic State Distillation (MSD) has been a research focus for fault-tolerant quantum computing due to the need for non-Clifford resource in gaining quantum advantage. Although many of the MSD protocols so far are based on stabilizer codes with transversal <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mml:mi>T<\/mml:mi><\/mml:math> gates, there exists quite several protocols that don't fall into this class. Here we propose a method to map MSD protocols to iterative dynamical systems under the framework of stabilizer reduction. With the proposed mapping, we are able to analyze the performance of MSD protocols using techniques from dynamical systems theory, easily simulate the distillation process of input states under arbitrary noise and visualize it using flow diagram. We apply our mapping to common MSD protocols for <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mml:mrow class=\"MJX-TeXAtom-ORD\"><mml:mo stretchy=\"false\">|<\/mml:mo><\/mml:mrow><mml:mi>T<\/mml:mi><mml:mo fence=\"false\" stretchy=\"false\">&amp;#x27E9;<\/mml:mo><\/mml:math> state and find some interesting properties: The <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mml:mo stretchy=\"false\">[<\/mml:mo><mml:mo stretchy=\"false\">[<\/mml:mo><mml:mn>15<\/mml:mn><mml:mo>,<\/mml:mo><mml:mn>1<\/mml:mn><mml:mo>,<\/mml:mo><mml:mn>3<\/mml:mn><mml:mo stretchy=\"false\">]<\/mml:mo><mml:mo stretchy=\"false\">]<\/mml:mo><\/mml:math> code may distill states corresponding to <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mml:msqrt><mml:mi>T<\/mml:mi><\/mml:msqrt><\/mml:math> gate and the <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mml:mo stretchy=\"false\">[<\/mml:mo><mml:mo stretchy=\"false\">[<\/mml:mo><mml:mn>5<\/mml:mn><mml:mo>,<\/mml:mo><mml:mn>1<\/mml:mn><mml:mo>,<\/mml:mo><mml:mn>3<\/mml:mn><mml:mo stretchy=\"false\">]<\/mml:mo><mml:mo stretchy=\"false\">]<\/mml:mo><\/mml:math> code can distill the magic state corresponding to the <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mml:mi>T<\/mml:mi><\/mml:math> gate. Besides, we examine the exotic MSD protocols that may distill into other magic states proposed in [Eur. Phys. J. D 70, 55 (2016)] and identify the condition for distillable magic states. We also study new MSD protocols generated by concatenating different codes and numerically demonstrate that concatenation can generate MSD protocols with various magic states. By concatenating efficient codes with exotic codes, we can reduce the overhead of the exotic MSD protocols. We believe our proposed method will be a useful tool for simulating and visualization MSD protocols for canonical MSD protocols on <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mml:mrow class=\"MJX-TeXAtom-ORD\"><mml:mo stretchy=\"false\">|<\/mml:mo><\/mml:mrow><mml:mi>T<\/mml:mi><mml:mo fence=\"false\" stretchy=\"false\">&amp;#x27E9;<\/mml:mo><\/mml:math> as well as other unexplored MSD protocols for other states.<\/jats:p>","DOI":"10.22331\/q-2025-09-15-1858","type":"journal-article","created":{"date-parts":[[2025,9,15]],"date-time":"2025-09-15T09:54:14Z","timestamp":1757930054000},"page":"1858","update-policy":"https:\/\/doi.org\/10.22331\/q-crossmark-policy-page","source":"Crossref","is-referenced-by-count":2,"title":["From Magic State Distillation to Dynamical Systems"],"prefix":"10.22331","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-6419-986X","authenticated-orcid":false,"given":"Yunzhe","family":"Zheng","sequence":"first","affiliation":[{"name":"Department of Physics, Tsinghua University, Beijing, 100084, China"},{"name":"Department of Applied Physics, Yale University, New Haven, Connecticut, 06511, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Dong E.","family":"Liu","sequence":"additional","affiliation":[{"name":"Department of Physics, Tsinghua University, Beijing, 100084, China"},{"name":"Frontier Science Center for Quantum Information, Beijing 100084, China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"9598","published-online":{"date-parts":[[2025,9,15]]},"reference":[{"key":"0","doi-asserted-by":"publisher","unstructured":"Google Quantum AI. ``Quantum error correction below the surface code threshold&apos;&apos; (2024).","DOI":"10.1038\/s41586-024-08449-y"},{"key":"1","unstructured":"Hengyun Zhou, Chen Zhao, Madelyn Cain, Dolev Bluvstein, Casey Duckering, Hong-Ye Hu, Sheng-Tao Wang, Aleksander Kubica, and Mikhail D. Lukin. ``Algorithmic Fault Tolerance for Fast Quantum Computing&apos;&apos; (2024). arXiv:2406.17653."},{"key":"2","doi-asserted-by":"publisher","unstructured":"Riddhi S. Gupta, Neereja Sundaresan, Thomas Alexander, Christopher J. Wood, Seth T. Merkel, Michael B. Healy, Marius Hillenbrand, Tomas Jochym-O&apos;Connor, James R. Wootton, Theodore J. Yoder, Andrew W. Cross, Maika Takita, and Benjamin J. Brown. ``Encoding a magic state with beyond break-even fidelity&apos;&apos;. Nature 625, 259\u2013263 (2024).","DOI":"10.1038\/s41586-023-06846-3"},{"key":"3","doi-asserted-by":"publisher","unstructured":"Bryan Eastin and Emanuel Knill. ``Restrictions on Transversal Encoded Quantum Gate Sets&apos;&apos;. Physical Review Letters 102, 110502 (2009).","DOI":"10.1103\/PhysRevLett.102.110502"},{"key":"4","unstructured":"Bei Zeng, Andrew Cross, and Isaac L. Chuang. ``Transversality versus Universality for Additive Quantum Codes&apos;&apos; (2007). arXiv:0706.1382."},{"key":"5","doi-asserted-by":"publisher","unstructured":"Andrew Steane. ``Multiple Particle Interference and Quantum Error Correction&apos;&apos;. Proceedings of the Royal Society of London. Series A: Mathematical, Physical and Engineering Sciences 452, 2551\u20132577 (1996). arXiv:quant-ph\/9601029.","DOI":"10.1098\/rspa.1996.0136"},{"key":"6","doi-asserted-by":"publisher","unstructured":"Austin G. Fowler. ``Two-dimensional color-code quantum computation&apos;&apos;. Physical Review A 83, 042310 (2011).","DOI":"10.1103\/PhysRevA.83.042310"},{"key":"7","doi-asserted-by":"publisher","unstructured":"Austin G. Fowler, Matteo Mariantoni, John M. Martinis, and Andrew N. Cleland. ``Surface codes: Towards practical large-scale quantum computation&apos;&apos;. Physical Review A 86, 032324 (2012).","DOI":"10.1103\/PhysRevA.86.032324"},{"key":"8","doi-asserted-by":"publisher","unstructured":"Sergey Bravyi and Alexei Kitaev. ``Universal quantum computation with ideal Clifford gates and noisy ancillas&apos;&apos;. Physical Review A 71, 022316 (2005).","DOI":"10.1103\/PhysRevA.71.022316"},{"key":"9","doi-asserted-by":"publisher","unstructured":"Mark Howard and Hillary Dawkins. ``Small codes for magic state distillation&apos;&apos;. The European Physical Journal D 70, 55 (2016).","DOI":"10.1140\/epjd\/e2016-60682-y"},{"key":"10","doi-asserted-by":"publisher","unstructured":"Guillaume Duclos-Cianci and Krysta M. Svore. ``Distillation of nonstabilizer states for universal quantum computation&apos;&apos;. Phys. Rev. A 88, 042325 (2013).","DOI":"10.1103\/PhysRevA.88.042325"},{"key":"11","doi-asserted-by":"publisher","unstructured":"Sergey Bravyi and Jeongwan Haah. ``Magic-state distillation with low overhead&apos;&apos;. Physical Review A 86, 052329 (2012).","DOI":"10.1103\/PhysRevA.86.052329"},{"key":"12","doi-asserted-by":"publisher","unstructured":"Matthew B. Hastings and Jeongwan Haah. ``Distillation with Sublogarithmic Overhead&apos;&apos;. Physical Review Letters 120, 050504 (2018).","DOI":"10.1103\/PhysRevLett.120.050504"},{"key":"13","doi-asserted-by":"publisher","unstructured":"Anirudh Krishna and Jean-Pierre Tillich. ``Towards Low Overhead Magic State Distillation&apos;&apos;. Physical Review Letters 123, 070507 (2019).","DOI":"10.1103\/PhysRevLett.123.070507"},{"key":"14","unstructured":"Adam Wills, Min-Hsiu Hsieh, and Hayata Yamasaki. ``Constant-Overhead Magic State Distillation&apos;&apos; (2024). arXiv:2408.07764."},{"key":"15","doi-asserted-by":"crossref","unstructured":"Quynh T. Nguyen. ``Good binary quantum codes with transversal CCZ gate&apos;&apos; (2024). arXiv:2408.10140.","DOI":"10.1145\/3717823.3718186"},{"key":"16","doi-asserted-by":"crossref","unstructured":"Louis Golowich and Venkatesan Guruswami. ``Asymptotically Good Quantum Codes with Transversal Non-Clifford Gates&apos;&apos; (2024). arXiv:2408.09254.","DOI":"10.1145\/3717823.3718234"},{"key":"17","unstructured":"Seok-Hyung Lee, Felix Thomsen, Nicholas Fazio, Benjamin J. Brown, and Stephen D. Bartlett. ``Low-overhead magic state distillation with color codes&apos;&apos; (2024). arXiv:2409.07707."},{"key":"18","doi-asserted-by":"publisher","unstructured":"Lucas Daguerre and Isaac H. Kim. ``Code switching revisited: Low-overhead magic state preparation using color codes&apos;&apos; (2024). arXiv:2410.07327.","DOI":"10.1103\/PhysRevResearch.7.023080"},{"key":"19","doi-asserted-by":"publisher","unstructured":"Tomohiro Itogawa, Yugo Takada, Yutaka Hirano, and Keisuke Fujii. ``Even more efficient magic state distillation by zero-level distillation&apos;&apos; (2024). arXiv:2403.03991.","DOI":"10.1103\/thxx-njr6"},{"key":"20","doi-asserted-by":"publisher","unstructured":"Christopher Chamberland and Andrew W. Cross. ``Fault-tolerant magic state preparation with flag qubits&apos;&apos;. Quantum 3, 143 (2019).","DOI":"10.22331\/q-2019-05-20-143"},{"key":"21","unstructured":"Craig Gidney, Noah Shutty, and Cody Jones. ``Magic state cultivation: growing t states as cheap as cnot gates&apos;&apos; (2024). arXiv:2409.17595."},{"key":"22","doi-asserted-by":"publisher","unstructured":"Hayato Goto. ``Minimizing resource overheads for fault-tolerant preparation of encoded states of the steane code&apos;&apos;. Scientific reports 6, 19578 (2016).","DOI":"10.1038\/srep19578"},{"key":"23","doi-asserted-by":"publisher","unstructured":"Ben W. Reichardt. ``Quantum Universality from Magic States Distillation Applied to CSS Codes&apos;&apos;. Quantum Information Processing 4, 251\u2013264 (2005).","DOI":"10.1007\/s11128-005-7654-8"},{"key":"24","unstructured":"Ben W. Reichardt. ``Quantum universality by state distillation&apos;&apos; (2009). arXiv:quant-ph\/0608085."},{"key":"25","doi-asserted-by":"crossref","unstructured":"Tomas Jochym-O&apos;connor, Yafei Yu, Bassam Helou, and Raymond Laflamme. ``The robustness of magic state distillation against errors in clifford gates&apos;&apos;. Quantum Information & Computation 13, 361\u2013378 (2013). arXiv:1205.6715.","DOI":"10.26421\/QIC13.5-6-1"},{"key":"26","doi-asserted-by":"publisher","unstructured":"Earl T Campbell, Hussain Anwar, and Dan E Browne. ``Magic-state distillation in all prime dimensions using quantum reed-muller codes&apos;&apos;. Physical Review X 2, 041021 (2012).","DOI":"10.1103\/PhysRevX.2.041021"},{"key":"27","unstructured":"Patrick Rall. ``Signed quantum weight enumerators characterize qubit magic state distillation&apos;&apos; (2017). arXiv:1702.06990."},{"key":"28","doi-asserted-by":"crossref","unstructured":"Earl T. Campbell and Dan E. Browne. ``On the Structure of Protocols for Magic State Distillation&apos;&apos; (2009). arXiv:0908.0838.","DOI":"10.1007\/978-3-642-10698-9_3"},{"key":"29","doi-asserted-by":"publisher","unstructured":"Oscar Higgott, Matthew Wilson, James Hefford, James Dborin, Farhan Hanif, Simon Burton, and Dan E. Browne. ``Optimal local unitary encoding circuits for the surface code&apos;&apos;. Quantum 5, 517 (2021).","DOI":"10.22331\/q-2021-08-05-517"},{"key":"30","doi-asserted-by":"publisher","unstructured":"Ying Li. ``A magic state\u2019s fidelity can be superior to the operations that created it&apos;&apos;. New Journal of Physics 17, 023037 (2015).","DOI":"10.1088\/1367-2630\/17\/2\/023037"},{"key":"31","unstructured":"Daniel Gottesman. ``Stabilizer Codes and Quantum Error Correction&apos;&apos; (1997). arXiv:quant-ph\/9705052."},{"key":"32","doi-asserted-by":"publisher","unstructured":"Michael E Beverland, Aleksander Kubica, and Krysta M Svore. ``Cost of universality: A comparative study of the overhead of state distillation and code switching with color codes&apos;&apos;. PRX Quantum 2, 020341 (2021).","DOI":"10.1103\/PRXQuantum.2.020341"},{"key":"33","doi-asserted-by":"publisher","unstructured":"Cody Jones. ``Multilevel distillation of magic states for quantum computing&apos;&apos;. Physical Review A 87, 042305 (2013).","DOI":"10.1103\/PhysRevA.87.042305"},{"key":"34","unstructured":"Adam M. Meier, Bryan Eastin, and Emanuel Knill. ``Magic-state distillation with the four-qubit code&apos;&apos; (2012). arXiv:1204.4221."},{"key":"35","doi-asserted-by":"publisher","unstructured":"Jeongwan Haah. ``Towers of generalized divisible quantum codes&apos;&apos;. Physical Review A 97, 042327 (2018).","DOI":"10.1103\/PhysRevA.97.042327"},{"key":"36","doi-asserted-by":"publisher","unstructured":"Stefanie J. Beale, Joel J. Wallman, Mauricio Guti\u00e9rrez, Kenneth R. Brown, and Raymond Laflamme. ``Quantum error correction decoheres noise&apos;&apos;. Phys. Rev. Lett. 121, 190501 (2018).","DOI":"10.1103\/PhysRevLett.121.190501"},{"key":"37","doi-asserted-by":"publisher","unstructured":"Peter Shor and Raymond Laflamme. ``Quantum Analog of the MacWilliams Identities for Classical Coding Theory&apos;&apos;. Physical Review Letters 78, 1600\u20131602 (1997).","DOI":"10.1103\/PhysRevLett.78.1600"},{"key":"38","doi-asserted-by":"crossref","unstructured":"Eric M Rains. ``Quantum weight enumerators&apos;&apos;. IEEE Transactions on Information Theory 44, 1388\u20131394 (2002). arXiv:quant-ph\/9612015.","DOI":"10.1109\/18.681316"},{"key":"39","unstructured":"Patrick Rall. ``Fractal Properties of Magic State Distillation&apos;&apos; (2017). arXiv:1708.09256."},{"key":"40","doi-asserted-by":"publisher","unstructured":"Vadym Kliuchnikov, Dmitri Maslov, and Michele Mosca. ``Practical approximation of single-qubit unitaries by single-qubit quantum clifford and t circuits&apos;&apos;. IEEE Transactions on Computers 65, 161\u2013172 (2016).","DOI":"10.1109\/TC.2015.2409842"},{"key":"41","unstructured":"Yunzhe Zheng, Yuanchen Zhao, and Dong E Liu. ``Magic state distillation under imperfect measurements&apos;&apos; (2025). arXiv:2503.01165."},{"key":"42","unstructured":"``Wikipedia for box counting&apos;&apos;. url: https:\/\/en.wikipedia.org\/wiki\/Box_counting."}],"container-title":["Quantum"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/quantum-journal.org\/papers\/q-2025-09-15-1858\/pdf\/","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"}],"deposited":{"date-parts":[[2025,9,15]],"date-time":"2025-09-15T09:54:18Z","timestamp":1757930058000},"score":1,"resource":{"primary":{"URL":"https:\/\/quantum-journal.org\/papers\/q-2025-09-15-1858\/"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,9,15]]},"references-count":43,"URL":"https:\/\/doi.org\/10.22331\/q-2025-09-15-1858","archive":["CLOCKSS"],"relation":{},"ISSN":["2521-327X"],"issn-type":[{"value":"2521-327X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,9,15]]},"article-number":"1858"}}