NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CLINE: Improving Control Flow Compilation of Quantum Programs with Control Line Encoding

Anbang Wu, Liqiang Lu, Jianwei Yin, Jingwen Leng, Minyi Guo2026

Abstract

Important applications like quantum search and quantum simulation rely on control flow implemented by oracle circuits, which may account for up to 99% of the total gate count [1] as oracle circuits consist of expensive multi-controlled (MC) quantum operations that formulate the control flow. Existing efforts optimize them by simplifying Boolean expressions associated with MC gates. They merge MC gates, if associated Boolean expressions are adjacent, to reduce the gate cost. Being more aggressive, our work introduces control line encoding (CLE), a technique that even allows merging non-adjacent MC gates by modifying their control (line) polarity. We further develop a plug-in compiler framework that efficiently applies this technique. The framework is grounded in the following observations: 1) Control flows often commute with one another and can be globally reorganized to maximize their merging by CLE; 2) numerous CLE schemes exist to allow gate merge and we can co-design CLE applications to diminish the overhead of CLE itself. Experiments demonstrate that, compared to the baseline, our framework further reduces the CX and T cost, on average by 54.7% and 56.8%, respectively.
BibTeX
@misc{wu2026cline,
  author = {Anbang Wu and Liqiang Lu and Jianwei Yin and Jingwen Leng and Minyi Guo},
  title = {{CLINE: Improving Control Flow Compilation of Quantum Programs with Control Line Encoding}},
  year = {2026},
  doi = {10.1109/hpca68181.2026.11408609},
}

Loading related content...

Figure