Quantum compiling with reinforcement learning on a superconducting processor
Abstract Effectively implementing quantum algorithms on noisy intermediatescale quantum (NISQ) processors is a central task in modern quantum technology. NISQ processors feature tens to a few hundreds of noisy qubits with limited coherence times and gate operations with errors, so NISQ algorithms naturally require employing circuits of short lengths via quantum compilation. Here, we evaluate a reinforcement learning (RL)-based quantum compiler on a superconducting processor. Our experiments reveal that for two-qubit circuits, the RL-based compiler surpasses conventional methods, demonstrating its ability to discover hardware-amenable circuits with near-optimal lengths. However, for three-qubit circuits, the RL-based compiler does not achieve unity theoretical fidelity. To address this limitation, we integrate a variational strategy with the RL-based compiler, highlighting their complementary strengths. Systematic experiments show that this variational RL-based compiler consistently identifies near-optimal circuits, even under stringent hardware constraints, outperforming conventional techniques. Furthermore, we analyze the impact of decoherence and gate errors, providing critical insights into the practical performance of RL-based compilers on quantum hardware. These findings exemplify the codesign of the software with hardware for efficient quantum compilation, offering valuable insights for the advancement of RL-based compilers.
Authors
- Jing-Ning Zhang (ORCID: https://orcid.org/0000-0003-3712-5774)
- Qiuhao Chen (ORCID: https://orcid.org/0009-0001-3795-4380)
- Yuxuan Du (ORCID: https://orcid.org/0000-0002-5997-7882)
- Ziting Wang (ORCID: https://orcid.org/0000-0002-5248-9077)
- Yirong Jin (ORCID: https://orcid.org/0000-0003-4906-9263)
- Xingyao Wu
- Xiliang Lu (ORCID: https://orcid.org/0000-0002-7592-5994)
- Haifeng Yu (ORCID: https://orcid.org/0000-0002-5963-8266)
- Huikai Xu (ORCID: https://orcid.org/0000-0002-8909-0748)
- Wu Liu (ORCID: https://orcid.org/0000-0003-1633-7575)
- Yuling Jiao (ORCID: https://orcid.org/0000-0003-2762-0421)
- Ruixia Wang (ORCID: https://orcid.org/0000-0002-3944-8836)
- Kai Xu (ORCID: https://orcid.org/0000-0002-7776-2455)
- Jun Du
- Yinan Li
- Zhihu Yang (ORCID: https://orcid.org/0009-0009-1752-5616)
- Kaixuan Huang
- Xiaoxia Cai
Institutions
- Zhongnan University of Economics and Law (CN)
- Nanyang Technological University (SG)
- Chinese Academy of Sciences (CN)
- Wuhan University (CN)
- FZU ‒ Institute of Physics of the Academy of Sciences of the Czech Republic (CZ)
- Beijing Academy of Quantum Information Sciences (CN)
Publication Details
- Journal
- Machine Learning Science and Technology
- Published
- 2026-06-26
- DOI
- https://doi.org/10.1088/2632-2153/ae835e
- Citations
- 2
- Primary Topic
- Quantum Computing Algorithms and Architecture
- Type
- preprint
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Wuhan University
- Beijing Nova Program
- National Key Research and Development Program of China
- Fundamental Research Funds for the Central Universities