A categorical harness for simultaneous end-to-end compilation of variational quantum programs
Ximo Wang, Xi Zhao, Rui Li, Shikun Zhang, Zheng Qin, Kai Kang, Jianbo Sun, Yichi Zhang
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.
Create a lesson
Related papers
An Efficient, Universal and Scalable Quantum Compiler
Shared title terminologyquant-phTao Zhang, Linghui Chen, Hui Zhai
Hybrid Quantum--Classical Proximal Policy Optimization with Variational Quantum Circuits
Shared title terminologyquant-phSheng-Chieh Tseng, Samuel Yen-Chi Chen, Ying-Jer Kao
A Variational Lattice Boltzmann Approach to Quantum Computational Fluid Dynamics: Platform, Error Budget, and Verification
Shared title terminologyquant-phMadhava Syamlal, Carter Copen, Prakash Saini et al.
Classical Regularization in Variational Quantum Eigensolvers: from Noiseless Landscapes to Realistic Noise
Shared title terminologyquant-phYury Chernyak, Ijaz Ahamed Mohammad, Martin Plesch
A Distributed Quantum Algorithm for Simultaneous Information Transmission from n Senders to k Receivers
Shared title terminologyquant-phTheodore Andronikos, Michail Stefanidakis
Second-order classical capacity of entanglement-breaking quantum channels
Shared title terminologyquant-phZhiwei Song, Kun Fang