[Paper Review] Planning for Compilation of a Quantum Algorithm for Graph Coloring
This paper applies temporal planning to compile Quantum Alternating Operator Ansatz (QAOA) circuits for graph coloring on near-term quantum hardware, extending prior work on MaxCut. It introduces qubit initialization as a classical planning problem, showing that automated planning improves makespan over random or manual initialization, with TFD and SGPlan outperforming others in key benchmarks.
The problem of compiling general quantum algorithms for implementation on near-term quantum processors has been introduced to the AI community. Previous work demonstrated that temporal planning is an attractive approach for part of this compilationtask, specifically, the routing of circuits that implement the Quantum Alternating Operator Ansatz (QAOA) applied to the MaxCut problem on a quantum processor architecture. In this paper, we extend the earlier work to route circuits that implement QAOA for Graph Coloring problems. QAOA for coloring requires execution of more, and more complex, operations on the chip, which makes routing a more challenging problem. We evaluate the approach on state-of-the-art hardware architectures from leading quantum computing companies. Additionally, we apply a planning approach to qubit initialization. Our empirical evaluation shows that temporal planning compares well to reasonable analytic upper bounds, and that solving qubit initialization with a classical planner generally helps temporal planners in finding shorter-makespan compilations for QAOA for Graph Coloring. These advances suggest that temporal planning can be an effective approach for more complex quantum computing algorithms and architectures.
Motivation & Objective
- Address the challenge of compiling complex QAOA circuits for graph coloring on near-term quantum processors with constrained connectivity and gate operations.
- Extend prior work on MaxCut routing to a more complex problem class requiring hybrid gates and intricate operation ordering.
- Evaluate temporal planning on realistic hardware architectures from Google, IBM, and Rigetti, closer to actual NISQ devices.
- Investigate qubit initialization as a classical planning problem to reduce overall circuit makespan.
- Demonstrate that automated planning for initialization improves performance across multiple temporal planners and problem scales.
Proposed method
- Model QAOA circuit routing for graph coloring as a PDDL2.1 durative action problem, representing quantum operations and routing constraints as temporal planning tasks.
- Use state-of-the-art temporal planners (TFD, OPTIC, SGPlan) to generate conflict-free, parallel sequences of gate operations with minimal makespan.
- Decouple qubit initialization (QI) from routing by modeling it as a classical planning problem using Fast Downward, relaxing temporal and MIX gate constraints.
- Compare performance across manual, random, and planner-generated initializations to assess impact on final makespan.
- Evaluate on realistic hardware graphs and gate durations from Google, IBM, and Rigetti, using diverse problem instances and configurations.
- Use analytical upper bounds as reference to assess plan quality, especially for smaller or structured cases.
Experimental results
Research questions
- RQ1Can temporal planning effectively route QAOA circuits for graph coloring, a more complex variant of QAOA than MaxCut, on realistic near-term quantum hardware architectures?
- RQ2How does automated qubit initialization via classical planning compare to manual or random initialization in reducing circuit makespan for QAOA on graph coloring?
- RQ3Which temporal planner (TFD, OPTIC, SGPlan) performs best across diverse hardware and problem configurations for QAOA graph coloring compilation?
- RQ4Does solving qubit initialization as a separate classical planning problem improve the performance of temporal planners in the main routing task?
- RQ5To what extent do planner performance and makespan vary with problem size and hardware architecture, and can automated initialization scale effectively?
Key findings
- Temporal planning with Fast Downward for qubit initialization significantly improves makespan across most configurations, outperforming random and manual initialization in 13 out of 15 test cases.
- TFD consistently achieves the best plan quality for smaller problems, while SGPlan is the fastest, solving all problems in seconds despite inconsistent results.
- For larger problems, where manual initialization is infeasible, Fast Downward-generated initialization yields better makespans than manual setups for TFD and OPTIC.
- The Routing-I setup, where both initialization and routing are solved in one planner, fails to produce high-quality plans, with only one best makespan found (by OPTIC), indicating limitations of current planners on combined problems.
- SGPlan occasionally produces plans with much lower makespans than other planners, suggesting potential for portfolio-based approaches.
- The classical planning approach for qubit initialization provides a scalable alternative to expert knowledge, especially for large-scale, general instances where manual setup is impractical.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.