Quantum Compiling with Reinforcement Learning on a Superconducting Processor
Z. T. Wang, Qiuhao Chen, Yuxuan Du, Z. H. Yang, Xiaoxia Cai, Kaixuan Huang, Jingning Zhang, Kai Xu, Jun Du, Yinan Li, Yuling Jiao, Xingyao Wu, Wu Liu, Xiliang Lu, Huikai Xu, Yirong Jin, Ruixia Wang, Haifeng Yu, S. P. Zhao
TL;DR
The paper tackles efficient quantum circuit compilation for NISQ devices by introducing a reinforcement-learning-based compiler that combines a deep Q-network with AQ* search tailored to a superconducting processor's native gate set and connectivity. It demonstrates hardware-aware, short-depth circuit synthesis, achieving notable results such as a three-qubit QFT using seven CZ gates with unity fidelity and superior performance under topological constraints compared with conventional methods. The approach includes a variational post-processing extension (VRL) that further improves fidelity by optimizing single-qubit gate parameters. Overall, the work exemplifies software-hardware co-design for quantum compilation on real devices and offers a scalable framework for RL-based compilers on multiqubit systems.
Abstract
To effectively implement quantum algorithms on noisy intermediate-scale 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 develop a reinforcement learning (RL)-based quantum compiler for a superconducting processor and demonstrate its capability of discovering novel and hardware-amenable circuits with short lengths. We show that for the three-qubit quantum Fourier transformation, a compiled circuit using only seven CZ gates with unity circuit fidelity can be achieved. The compiler is also able to find optimal circuits under device topological constraints, with lengths considerably shorter than those by the conventional method. Our study exemplifies the codesign of the software with hardware for efficient quantum compilation, offering valuable insights for the advancement of RL-based compilers.
