MCP
arXivarXiv
Preprint
Published: December 2, 2026
quant-ph

A categorical harness for simultaneous end-to-end compilation of variational quantum programs

1,23*4*56,7891,2†
1 College of Physics and Electronic Engineering, Shanxi University, Taiyuan 030006, China
2 Collaborative Innovation Center of Extreme Optics, Shanxi University, Taiyuan 030006, China
3 Beijing Academy of Quantum Information Sciences, Beijing 100193, China
4 School of Mathematical Sciences, Beijing Information Science & Technology University, Beijing, China
5 School of Future Technology, Henan University, Zhengzhou 450046, China
6 Research Institute of Beihang University in Shenzhen, Shenzhen 518057, China
7 Jiangxi Beidouyun Intelligent Technology Co., Ltd., Nanchang, China
8 School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou 510006, China
9 School of Mathematics (Zhuhai), Sun Yat-sen University, Zhuhai 519082, China
* Equal contribution
† Corresponding authors
Abstract
Realizing large-scale fault-tolerant quantum computing hinges on quantum compilers to map abstract algorithms onto native physical hardware, yet existing compilation pipelines suffer from prohibitive compilation overheads, intricate hardware operations and degraded output fidelity, severely limiting their scalability. Choices made during gate decomposition and placement determine the routes and schedules available downstream. We represent a compiled program as a composition of maps between typed quantum-classical interfaces. Our categorical harness optimizes the composition against the task requirements and the physical cost of the complete program. Given a task specification and a realizable hardware platform, the harness rewrites the diagram, verifies the observables specified by the task and uses physical cost bounds to certify optimal end-to-end strategies. Across eleven neutral-atom pipelines, encoded quantum-memory and Steane benchmarks, nine variational applications and superconducting hardware, the harness improves on the corresponding host workflows, reducing native operation counts, depth, physical qubit occupancy and execution time while improving fidelity, logical readout accuracy and task acceptance. In four paired blocks on Haituo, the gate-minimum strategy used one-seventh as many native gates per shot as LightCone and reduced mean absolute energy error by 75.1%. Together, these results establish categorical diagram rewriting as a rigorous foundation for scalable, resource-efficient quantum compilation across near-term and fault-tolerant architectures.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first