Transformer-QEC: Quantum Error Correction Code Decoding with Transferable Transformers
Massachusetts Institute of Technology(麻省理工学院);Carnegie Mellon University(卡内基梅隆大学);Yale University(耶鲁大学);Arizona State University(亚利桑那州立大学);University of Texas at Austin(德克萨斯大学奥斯汀分校)
Hanrui Wang, Pengyu Liu, Kevin Shao, Dantong Li, Jiaqi Gu, David Z. Pan, Yongshan Ding, Song Han
备注:
Accepted to ICCAD 2023, FAST ML for Science Workshop; 7 pages, 8 figures
量子计算有望解决经典系统难以处理的问题,但当代量子设备的高错误率通常超出了有效算法执行的容许极限。量子纠错(QEC)通过采用冗余机制来缓解这一问题,将量子信息分布在多个数据量子比特上,并利用校验子量子比特监测其状态以发现错误。随后,通过解码算法解释校验子,以识别并纠正数据量子比特中的错误。由于影响数据量子比特、校验子量子比特以及校验子提取操作的错误源具有多重性,该任务十分复杂。此外,相同的校验子可能源于不同的错误源,因此需要一种能够整体评估校验子的解码算法。尽管诸如多层感知机(MLPs)和卷积神经网络(CNNs)等机器学习(ML)解码器已被提出,但它们通常聚焦于局部校验子区域,且在调整以适应不同码距时需要重新训练。我们提出了一种基于 transformer 的 QEC 解码器,该解码器采用自注意力机制在所有输入校验子上实现全局感受野。它结合了混合损失训练方法,将局部物理错误与全局奇偶校验标签损失相结合。此外,transformer 架构对可变长度输入的固有适应性允许进行高效的迁移学习,使解码器能够适应不同的码距而无需重新训练。在六种码距和十种不同错误配置下的评估表明,我们的模型始终优于 Union Find(UF)和 Minimum Weight Perfect Matching(MWPM)等非 ML 解码器以及其他 ML 解码器,从而实现了最佳逻辑错误率。此外,迁移学习可节省超过 10 倍的训练成本。
英文摘要:
Quantum computing has the potential to solve problems that are intractable for classical systems, yet the high error rates in contemporary quantum devices often exceed tolerable limits for useful algorithm execution. Quantum Error Correction (QEC) mitigates this by employing redundancy, distributing quantum information across multiple data qubits and utilizing syndrome qubits to monitor their states for errors. The syndromes are subsequently interpreted by a decoding algorithm to identify and correct errors in the data qubits. This task is complex due to the multiplicity of error sources affecting both data and syndrome qubits as well as syndrome extraction operations. Additionally, identical syndromes can emanate from different error sources, necessitating a decoding algorithm that evaluates syndromes collectively. Although machine learning (ML) decoders such as multi-layer perceptrons (MLPs) and convolutional neural networks (CNNs) have been proposed, they often focus on local syndrome regions and require retraining when adjusting for different code distances. We introduce a transformer-based QEC decoder which employs self-attention to achieve a global receptive field across all input syndromes. It incorporates a mixed loss training approach, combining both local physical error and global parity label losses. Moreover, the transformer architecture's inherent adaptability to variable-length inputs allows for efficient transfer learning, enabling the decoder to adapt to varying code distances without retraining.
Evaluation on six code distances and ten different error configurations demonstrates that our model consistently outperforms non-ML decoders, such as Union Find (UF) and Minimum Weight Perfect Matching (MWPM), and other ML decoders, thereby achieving best logical error rates. Moreover, the transfer learning can save over 10x of training cost.
A Scalable Open-Source QEC System with Sub-Microsecond Decoding-Feedback Latency
Joint Center for Quantum Information and Computer Science, University of Maryland(马里兰大学量子信息与计算科学联合中心);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室)
Estimating and decoding coherent errors of QEC experiments with detector error models
Duke Quantum Center, Duke University(杜克量子中心,杜克大学);Department of Electrical and Computer Engineering, Duke University(电气与计算机工程系,杜克大学);Department of Physics, Duke University(物理系,杜克大学);Department of Chemistry, Duke University(化学系,杜克大学)
Rethink the Role of Neural Decoders in Quantum Error Correction
College of Computing;Data Science, Nanyang Technological University, Singapore 639798, Singapore;Department of Electrical Engineering;Computer Science, Tokyo University of Agriculture \& Technology, Koganei, Tokyo, 184-8588, Japan;School of Physical;Mathematical Sciences, Nanyang Technological University, Singapore 639798, Singapore
qecGPT: decoding Quantum Error-correcting Codes with Generative Pre-trained Transformers
Institute of Theoretical Physics, Chinese Academy of Sciences(中国科学院理论物理研究所);School of Physical Sciences, University of Chinese Academy of Sciences(中国科学院大学物理科学学院);School of Fundamental Physics and Mathematical Sciences, Hangzhou Institute for Advanced Study, UCAS(中国科学院大学杭州高等研究院基础物理与数学科学学院);International Centre for Theoretical Physics Asia-Pacific(国际理论物理中心亚太地区)
LEGO_HQEC: Automating the Analysis, Construction, and Decoding of Holographic Quantum Codes
QuTech, Delft University of Technology(代尔夫特理工大学量子技术研究所);Quantum and Computer Engineering Department, Delft University of Technology(代尔夫特理工大学量子与计算机工程系);Freie Universität Berlin(柏林自由大学);Virginia Tech(弗吉尼亚理工大学)
DGR: Tackling Drifted and Correlated Noise in Quantum Error Correction via Decoding Graph Re-weighting
Massachusetts Institute of Technology(麻省理工学院);Carnegie Mellon University(卡内基梅隆大学);Cornell University(康奈尔大学);Arizona State University(亚利桑那州立大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);University of Chicago(芝加哥大学)
Quantum error correction and fault tolerance: A comprehensive tutorial
Joint Center for Quantum Information and Computer Science, NIST/University of Maryland(量子信息与计算机联合中心,美国国家标准与技术研究院/马里兰大学);Department of Physics, University of Maryland(马里兰大学物理系);Joint Quantum Institute, NIST/University of Maryland(量子联合研究所,美国国家标准与技术研究院/马里兰大学);Centre for Quantum Technologies, National University of Singapore(新加坡国立大学量子技术中心);Nanyang Quantum Hub, School of Physical and Mathematical Sciences, Nanyang Technological University(南洋理工大学理学院南洋量子枢纽);Quantum Research Center, Technology Innovation Institute(技术创新研究所量子研究中心);Department of Computer Science and Institute for Advanced Co(计算机科学系与高级合作研究所)
Performance Limits of Fault-Tolerant Quantum Error Correction Schemes
University of Bologna(博洛尼亚大学);CNIT/WiLab(国家信息技术研究与开发中心/无线实验室);Department of Electrical, Electronic, and Information Engineering “Guglielmo Marconi”(“古列尔莫·马可尼”电气、电子和信息工程系);Quantinuum
Fault-tolerant quantum architectures based on erasure qubits
California Institute of Technology(加州理工学院);AWS Center for Quantum Computing(亚马逊量子计算中心);Racah Institute of Physics, The Hebrew University of Jerusalem(耶路撒冷希伯来大学雷卡物理研究所)
Graduate School of Science and Technology, Meiji University(Meiji大学科学技术研究生院);Department of Computer Science, School of Science and Technology, Meiji University(Meiji大学科学技术学院计算机科学系)
TETRIS-Q: Tiling-based Effective Transient-fault Reduction on Interleaved Superconducting Qubits
University of Trento(特伦托大学);Trento Institute for Fundamental Physics and Applications, National Institute for Nuclear Physics(特伦托基础物理与应用研究所,意大利国家核物理研究所)