DeepQuantum: A PyTorch-based Software Platform for Quantum Machine Learning and Photonic Quantum Computing

Jun-Jie He, Ke-Ming Hu, Yu-Ze Zhu, Guan-Ju Yan, Shu-Yi Liang, Xiang Zhao, Ding Wang, Fei-Xiang Guo, Ze-Feng Lan, Xiao-Wen Shang, Zi-Ming Yin, Xin-Yang Jiang, Lin Yang, Hao Tang, Xian-Min Jin

Preprint: not peer reviewed. Results may change in later versions.

Abstract

We introduce DeepQuantum, an open-source, PyTorch-based software platform for quantum machine learning and photonic quantum computing. This AI-enhanced framework enables efficient design and execution of hybrid quantum-classical models and variational quantum algorithms on both CPUs and GPUs. For photonic quantum computing, DeepQuantum implements Fock, Gaussian, and Bosonic backends, catering to different simulation needs. To our knowledge, it is the first framework to realize closed-loop integration of three paradigms of quantum computing, namely quantum circuits, photonic quantum circuits, and measurement-based quantum computing, thereby enabling robust support for both specialized and universal photonic quantum algorithm design. Furthermore, DeepQuantum supports large-scale simulations based on tensor network techniques and a distributed parallel computing architecture. We demonstrate these capabilities through comprehensive benchmarks and illustrative examples. With its unique features, DeepQuantum is intended to be a powerful platform for both AI for Quantum and Quantum for AI.

Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.

Record

Archive ID
arxiv:2512.18995
Published
Dec 22, 2025
Updated
May 14, 2026
arXiv
2512.18995
Categories
quant-ph
Provenance
arxiv

Topics