HOPPS: Hardware-Aware Optimal Phase Polynomial Synthesis with Blockwise Optimization for Quantum Circuits
Xinpeng Li, Ji Liu, Shuai Xu, Paul Hovland, Vipin Chaudhary
TL;DR
This work addresses the challenge of hardware-aware, optimal synthesis for quantum circuits restricted to {CNOT, R_z} gates by introducing HOPPS, a SAT-based framework that can produce CNOT-count or CNOT-depth optimal circuits under device connectivity. It combines a common encoding with specialized constraints to achieve doubly optimal solutions, and further extends to practical circuit optimization via peephole and iterative blockwise strategies. A key contribution is the iterative blockwise optimization that partitions large blocks, enabling parallel SAT solving and scalable convergence toward improved Ct and Dp metrics. Empirical results on IBM devices and QAOA-like benchmarks show substantial reductions in Ct and Dp compared to Qiskit and other baselines, along with favorable runtime characteristics and scalability. These findings support the practicality of HOPPS for integration into end-to-end quantum compilers and for generating hardware-aware optimization templates and datasets.
Abstract
Blocks composed of {CNOT, Rz} are ubiquitous in modern quantum applications, notably in circuits such as QAOA ansatzes and quantum adders. After compilation, many of them exhibit large CNOT counts or depths, which lowers fidelity. Therefore, we introduce HOPPS: a SAT-based hardware-aware optimal phase polynomial synthesis algorithm that could generate {CNOT, Rz} blocks with CNOT count or depth optimality. Sometime {CNOT, Rz} blocks are large, such as in QAOA ansatzes, HOPPS's pursuit of optimality limits its scalability. To address this issue, we introduce an iterative blockwise optimization strategy: large circuits are partitioned into smaller blocks, each block is optimally refined, and the process is repeated for several iterations. Empirical results show that HOPPS is more efficient comparing with existing near optimal synthesis tools. Used as a peephole optimizer, HOPPS reduces the CNOT count by up to 50.0% and the CNOT depth by up to 57.1% under OLSQ. For large QAOA circuit, after mapping by Qiskit, circuit can be reduced CNOT count and depth by up to 44.4% and 42.4% by our iterative blockwise optimization. Index Terms-Phase Polynomial, Quantum Circuit Synthesis, Quantum Circuit Optimization.
