Making Repeated Variational Circuit Optimization Efficient on GPUs
Runzhe Zhang, Jiaqi Liu, Anbang Wu, Pu Pang, Shixuan Sun, Yu Feng, Quan Chen, Jingwen Leng, Minyi Guo
Abstract
Repeated numerical optimization is a defining workload for classical simulation of parameterized quantum circuits. Although successive training steps change gate parameters, they usually preserve circuit connectivity and reuse a small set of gate-layer patterns. We use this regularity to accelerate gradient evaluation on GPUs. Our framework combines execution primitives for common circuit layers with adjoint differentiation, coordinating state evolution and derivative computation to reduce launch overhead, intermediate storage, and state-vector traffic. Because effective schedules depend on circuit size, gate structure, and device resources, our framework retains several execution choices instead of committing to a single schedule. Structural and hardware constraints narrow these choices, after which measurements on representative layers guide plan selection. The selected plans are reused while circuit structure remains fixed, spreading the selection cost over repeated training iterations. This approach targets the computation required by optimization rather than forward simulation alone, while retaining the numerical semantics of state-vector differentiation. Experiments across multiple circuit families and GPU platforms compare our framework with the native GPU adjoint implementation in PennyLane Lightning. The results demonstrate substantially lower gradient evaluation times over the evaluated workloads, together with the numerical accuracy checks reported in the evaluation.
Create a lesson
Metadata
- Comments
- 15 pages
Related papers
Asynchronous Byzantine Lattice Agreement with Logarithmic Response Time and Optimal Resilience
Shared title terminologycs.DCHagit Attiya, Yao David Kolegain, Arnaud Labourel et al.
TideCache: Efficient Hybrid LLM Serving with Transparent Cache Management and Layer-Wise Streaming
Shared title terminologycs.DCJinbin Luo, Xiaozhe Yao, Shang Yang et al.
AscMLA: Unlocking FP4 Efficiency for Long-Context MLA Decoding through Asymmetric Scaling
Shared title terminologycs.DCZechun Zhou, Zhiyong Zheng, Xiaomin Zhang et al.
Matching Architecture to Workload: Comparing RISC-V Parallel Accelerators for Energy-Efficient Embedded Computing
Shared title terminologycs.DCLuca Colombo, Luigi Ghionda, Amirhossein Kiamarzi et al.
A Runtime System for Mitigating Crossbar Port Contention on SM-Partitioned GPUs
Shared title terminologycs.DCZiwen Wang, Qi Luo, Kunlin Li et al.
LEDGE: An Efficient Simulator for Distributed LLM Serving on Heterogeneous Edge Devices
Shared title terminologycs.DCZihao Wang, Ye Tian, Tajana Rosing et al.