English

GPU-Accelerated Host-Aware Dead-Measurement Detection in Hybrid Quantum--Classical Programs: Full Version

Quantum Physics 2026-07-10 v1 Emerging Technologies Programming Languages

Abstract

Hybrid programs combine a quantum circuit with a classical host program that consumes measurement outcomes. In such programs, an outcome may be syntactically read by the host but semantically non-contributory: changing the outcome cannot change the returned value. Such outcomes obscure gates that are dead only relative to the host semantics, and are therefore invisible to circuit-local optimizers. We present a semantics-aware host-side static analysis that identifies non-contributory measurement outcomes by abstract interpretation, and prove its soundness. We implement the analysis and evaluate it on 2424 application-faithful hybrid workloads across quantum chemistry, optimization, quantum machine learning, and quantum finance. Compared with a syntactic liveness baseline, our analysis identifies more than 4×4\times as many non-contributory measurements, and it standalone enables the removal of 37.98%37.98\% of total gates on average. Even after the state-of-the-art optimizers like Qiskit, t|ket\rangle, and PyZX have already optimized the circuits, our analysis still enables removal of more than 30%30\% of the post-optimized gates, showing that the host-semantic opportunities exposed by our analysis are not subsumed by circuit-local optimization. To scale our analysis, we further lower host programs to an SSA-style levelized intermediate representation that exposes level-wise parallelism for GPU execution, and implement a CUDA backend. We prove that this lowering preserves the analysis result, and the evaluation shows speedups of up to 6.53×6.53\times over a sequential baseline as structural parallelism increases.

Cite

@article{arxiv.2607.09976,
  title  = {GPU-Accelerated Host-Aware Dead-Measurement Detection in Hybrid Quantum--Classical Programs: Full Version},
  author = {Yanbin Chen and Qunyou Liu and Yu Wang and Christian B. Mendl and Helmut Seidl},
  journal= {arXiv preprint arXiv:2607.09976},
  year   = {2026}
}

Comments

Accepted at 33rd Static Analysis Symposium (SAS 2026), https://conf.researchr.org/home/splash-issta-2026/sas-2026. This is the full version that includes all proofs and technical details in the appendices, which are omitted in the conference manuscript for conciseness