Please wait a minute...
Chin. Phys. B, 2026, Vol. 35(6): 060303    DOI: 10.1088/1674-1056/ae1818
GENERAL Prev   Next  

Quantum toric code decoding method based on syndrome-preliminary error fusion module and ResNet architecture

Nai-Hua Ji(纪乃华)1, Ping-Li Song(宋平俐)1, Wei Wang(王伟)1, Hui-Qian Sun(孙汇倩)1, and Hong-Yang Ma(马鸿洋)2,†
1 School of Information and Control Engineering, Qingdao University of Technology, Qingdao 266033, China;
2 School of Sciences, Qingdao University of Technology, Qingdao 266033, China
Abstract  Quantum error correction technology is based on the principle of redundant encoding, encoding logical quantum information into multiple physical qubits to provide important support for the stable operation of quantum computers. To address the issues of low decoding accuracy and limited feature extraction in quantum error correction, this paper proposes a toric code decoder based on a syndrome-preliminary error fusion module (SPEFM) and a ResNet architecture. This decoder takes full advantage of the correlations between $X$ and $Z$ errors. In the SPEFM, the syndrome and preliminary error predictions are deeply fused, while a unidirectional Swin transformer architecture is incorporated to extract global error features from the syndrome data, significantly improving both decoding accuracy and computational efficiency. In addition, this paper further extracts local error features from the fused features using the deep residual structure of ResNet, enhancing the decoder's ability to capture quantum error patterns. Experimental results show that the decoder is applicable to different code distances (${d}=4, 6, 8, 10$) under the depolarizing noise model. Its bit error rate is lower than that of the minimum weight perfect matching (MWPM) algorithm, and its logical error rate is lower than both the MWPM algorithm and the ResNet18 decoder. Furthermore, the decoding threshold is increased to 0.163, representing a 3.82% improvement over the MWPM algorithm threshold of 0.157.
Keywords:  quantum error correction      toric code      ResNet      Swin transformer  
Received:  15 May 2025      Revised:  25 October 2025      Accepted manuscript online:  28 October 2025
PACS:  03.67.Pp (Quantum error correction and other methods for protection against decoherence)  
  03.67.-a (Quantum information)  
Fund: Project supported by the Joint Fund of the Natural Science Foundation of Shandong Province, China (Grant Nos. ZR2022LLZ012 and ZR2021LLZ001) and the Key Research and Development Program of Shandong Province, China (Grant No. 2023CXGC010901).
Corresponding Authors:  Hong-Yang Ma     E-mail:  mahongyang@qut.edu.cn

Cite this article: 

Nai-Hua Ji(纪乃华), Ping-Li Song(宋平俐), Wei Wang(王伟), Hui-Qian Sun(孙汇倩), and Hong-Yang Ma(马鸿洋) Quantum toric code decoding method based on syndrome-preliminary error fusion module and ResNet architecture 2026 Chin. Phys. B 35 060303

[1] Krinner S, Lacroix N, Remm A, Di Paolo A, Genois E, Leroux C, Hellings C, Lazar S, Swiadek F, Herrmann J, Norris G J, Andersen C K, Müller M and Blais A 2022 Nature 605 669
[2] Xin T, Wang B X, Li K R, Kong X Y, Wei S J, Wang T, Ruan D and Long G L 2018 Chin. Phys. B 27 020308
[3] Gill S S, Kumar A, Singh H, Singh M, Kaur K, Usman M and Buyya R 2022 Software: Practice and Experience 52 66
[4] Zurek W H 2003 Rev. Mod. Phys. 75 715
[5] Schlosshauer M 2019 Physics Reports 831 1
[6] Schlosshauer M 2005 Rev. Mod. Phys. 76 1267
[7] Sang S, Zou Y and Hsieh T H 2024 Phys. Rev. X 14 031044
[8] LivingstonWP, Blok M S, Flurin E, Dressel J, Jordan A N and Siddiqi I 2022 Nat Commun 13 2307
[9] Heußen S, Locher D F and Müller M 2024 PRX Quantum 5 010333
[10] Xu Q, Seif A, Yan H, Mannucci N, Sane B O, Van Meter R, Cleland A N and Jiang L 2022 Phys. Rev. Lett 129 240502
[11] Wang H W, Xue Y J, Qu Y J, Mu X Y and Ma H Y 2022 npj Quantum Inf 8 134
[12] Ji Y X, Chen Q H, Wang R, Ji N H and Ma H Y 2024 Quantum Inf Process 23 255
[13] Qin D, Xu X and Li Y 2022 Chin. Phys. B 31 090306
[14] Ji N H, Sun H Q, Xiao B, Song P L and Ma H Y 2025 Chin. Phys. B 34 020309
[15] Li A Q, Tian C W, Xu X X, Ma H Y and Liang J Q 2025 Chin. Phys. B 34 030306
[16] Li A Q, Li F, Gan Q D and Ma H Y 2023 Applied Sciences 13 9689
[17] Piveteau C, Sutter D, Bravyi S, Gambetta JMand Temme K 2021 Phys. Rev. Lett. 127 200505
[18] Li F, Li A Q, Gan Q D and Ma H Y 2024 Chin. Phys. B 33 040307
[19] Qu Y J, Chen Z, WangWJ and Ma H Y 2023 Chin. Phys. B 32 100307
[20] Shinde U U and Bandaru R 2024 Sci Rep 14 14289
[21] Chen Q H, Ji Y X, Wang K H, Ma H Y and Ji N H 2024 Chin. Phys. B 33 060314
[22] Qi L, Yan Y, Xing Y, Zhao X D, Liu S, Cui W X, Han X, Zhang S and Wang H F 2021 Phys. Rev. Res. 3 023037
[23] Lin Y, Huang S and Brown K R 2024 Phys. Rev. A 109 052438
[24] Fitzek D, Eliasson M, Kockum A F and Granath M 2020 Phys. Rev. Research 2 023230
[25] Andreasson P, Johansson J, Liljestrand S and Granath M 2019 Quantum 3 183
[26] Torlai G and Melko R G. 2017 Phys. Rev. Lett. 119 030501
[27] Domingo Colomer L, Skotiniotis M and Muñoz-Tapia R 2020 Physics Letters A 384 126353
[28] Hsieh M H and Le Gall F 2011 Phys. Rev. A 83 052331
[29] Ji N H, Chen Z, Qu Y J, Bao R Y, Yang X and Wang S M 2023 Front. Phys. 11 1164567
[30] Iyer P and Poulin D 2015 Front. Phys. 61 5209
[31] Cook W and Rohe A 1999 INFORMS Journal on Computing 11 138
[32] Huang S, Newman M and Brown K R 2020 Phys. Rev. A 102 012419
[33] Duclos-Cianci G and Poulin D 2010 Phys. Rev. Lett. 104 050504
[34] Duclos-Cianci G and Poulin D 2013 arXiv:1304.6100 [quant-ph]
[35] Hutter A, Wootton J R and Loss D 2014 Phys. Rev. A 89 022326
[36] Wootton J R and Loss D 2012 Phys. Rev. Lett. 109 160503
[37] Bravyi S, Suchara M and Vargo A 2014 Phys. Rev. A 90 032326
[38] Wagner T, Kampermann H and Bruß D 2020 Phys. Rev. A 102 042411
[39] Varsamopoulos S, Criger B and Bertels K 2017 Quantum Sci. Technol. 3 015004
[40] Chamberland C and Ronagh P 2018 Quantum Sci. Technol. 3 044002
[41] Ni X 2020 Quantum 4 310
[42] Choukroun Y and Wolf L 2024 AAAI February 20–27, 2024, Vancouver, Canada, p. 64
[43] Cao H, Pan F, Wang Y and Zhang P 2023 arXiv: 2307.09025 [quantph]
[44] Dauphinais G, Kribs D W and Vasmer M 2024 Quantum 8 1261
[45] Li K, Wan Y, Hung L Y, Lan T, Long G, Lu D, Zeng B and Laflamme R 2017 Phys. Rev. Lett. 118 080502
[46] Poulin D 2005 Phys. Rev. Lett. 95 230504
[47] Terhal B M 2015 Rev. Mod. Phys. 87 307
[48] Devitt S J, MunroWJ and Nemoto K 2013 Rep. Prog. Phys. 76 076001
[49] Wang H W, Xue Y J, Ma Y L, Hua N and Ma H Y 2022 Chin. Phys. B 31 010303
[50] Dennis E, Kitaev A, Landahl A and Preskill J 2002 Journal of Mathematical Physics 43 4452
[51] Chen G, Zhang W H, Yin P, Li C F and Guo G C 2021 Fundamental Research 1 27
[52] Singh S and Mahmood A 2021 IEEE Access 9 68675
[53] Han K, Wang Y, Chen H, Chen X, Guo J, Liu Z, Tang Y, Xiao A, Xu C, Xu Y, Yang Z, Zhang Y and Tao D 2022 IEEE Trans. Pattern Anal. Mach. Intell. 45 87
[54] Khan S, Naseer M, Hayat M, Zamir S W, Khan F S and Shah M 2022 ACM Comput. Surv. 54 1
[55] Liu Z, Lin Y, Cao Y, Hu H, Wei Y, Zhang Z, Lin S and Guo B 2021 ICCV, October 11-17, 2021, p.10012
[56] Krastanov S and Jiang L 2017 Sci Rep 7 11003
[57] Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez A N, Kaiser L and Polosukhin I 2017 arXiv:1706.03762 [cs.CL]
[58] He K, Zhang X, Ren S and Sun J 2016 2016 CVPR, June 26–July 1, 2016, Las Vegas, USA, p. 770
[59] Kingma D P and Ba J 2014 arXiv: 1412.6980 [cs.LG]
[60] Higgott O 2022 ACM Transactions on Quantum Computing 3 1
[1] Three-dimensional ResNet for efficient prediction of ground state phases in multicomponent dipolar spinor BECs
Chengji Liao(廖承继), Tiantian Li(李甜甜), Xiao-Dong Bai(柏小东), and Yunbo Zhang(张云波). Chin. Phys. B, 2025, 34(7): 076701.
[2] Planar: A software for exact decoding quantum error correction codes with planar structure
Dongyang Feng(冯东阳), Hanyan Cao(曹涵彦), and Pan Zhang(张潘). Chin. Phys. B, 2025, 34(5): 050311.
[3] A graph neural network and multi-task learning-based decoding algorithm for enhancing XZZX code stability in biased noise
Bo Xiao(肖博), Zai-Xu Fan(范在旭), Hui-Qian Sun(孙汇倩), Hong-Yang Ma(马鸿洋), and Xing-Kui Fan(范兴奎). Chin. Phys. B, 2025, 34(5): 050306.
[4] Global receptive field transformer decoder method on quantum surface code data and syndrome error correction
Ao-Qing Li(李熬庆), Ce-Wen Tian(田策文), Xiao-Xuan Xu(徐晓璇), Hong-Yang Ma(马鸿洋), and Jun-Qing Liang(梁俊卿). Chin. Phys. B, 2025, 34(3): 030306.
[5] Quantum decoder design for subsystem surface code based on multi-head graph attention and edge weighting
Nai-Hua Ji(纪乃华), Hui-Qian Sun(孙汇倩), Bo Xiao(肖博), Ping-Li Song(宋平俐), and Hong-Yang Ma(马鸿洋). Chin. Phys. B, 2025, 34(2): 020309.
[6] Decoding topological XYZ2 codes with reinforcement learning based on attention mechanisms
Qing-Hui Chen(陈庆辉), Yu-Xin Ji(姬宇欣), Ke-Han Wang(王柯涵), Hong-Yang Ma(马鸿洋), and Nai-Hua Ji(纪乃华). Chin. Phys. B, 2024, 33(6): 060314.
[7] Recurrent neural network decoding of rotated surface codes based on distributed strategy
Fan Li(李帆), Ao-Qing Li(李熬庆), Qi-Di Gan(甘启迪), and Hong-Yang Ma(马鸿洋). Chin. Phys. B, 2024, 33(4): 040307.
[8] Feedback control and quantum error correction assisted quantum multi-parameter estimation
Hai-Yuan Hong(洪海源), Xiu-Juan Lu(鲁秀娟), and Sen Kuang(匡森). Chin. Phys. B, 2023, 32(4): 040603.
[9] Performance of entanglement-assisted quantum codes with noisy ebits over asymmetric and memory channels
Ji-Hao Fan(樊继豪), Pei-Wen Xia(夏沛文), Di-Kang Dai(戴迪康), and Yi-Xiao Chen(陈一骁). Chin. Phys. B, 2023, 32(12): 120304.
[10] An overview of quantum error mitigation formulas
Dayue Qin(秦大粤), Xiaosi Xu(徐晓思), and Ying Li(李颖). Chin. Phys. B, 2022, 31(9): 090306.
[11] Determination of quantum toric error correction code threshold using convolutional neural network decoders
Hao-Wen Wang(王浩文), Yun-Jia Xue(薛韵佳), Yu-Lin Ma(马玉林), Nan Hua(华南), and Hong-Yang Ma(马鸿洋). Chin. Phys. B, 2022, 31(1): 010303.
[12] Quantum computation and error correction based on continuous variable cluster states
Shuhong Hao(郝树宏), Xiaowei Deng(邓晓玮), Yang Liu(刘阳), Xiaolong Su(苏晓龙), Changde Xie(谢常德), and Kunchi Peng(彭堃墀). Chin. Phys. B, 2021, 30(6): 060312.
[13] Encoding entanglement-assisted quantum stabilizer codes
Wang Yun-Jiang(王云江), Bai Bao-Ming(白宝明), Li Zhuo(李卓), Peng Jin-Ye(彭进业), and Xiao He-Ling(肖鹤玲) . Chin. Phys. B, 2012, 21(2): 020304.
[14] Jointly-check iterative decoding algorithm for quantum sparse graph codes
Shao Jun-Hu(邵军虎), Bai Bao-Ming(白宝明), Lin Wei(林伟), and Zhou Lin(周林). Chin. Phys. B, 2010, 19(8): 080307.
[15] Secure deterministic communication in a quantum loss channel using quantum error correction code
Wu Shuang(吴双), Liang Lin-Mei(梁林梅), and Li Cheng-Zu(李承祖). Chin. Phys. B, 2007, 16(5): 1229-1232.
No Suggested Reading articles found!