Hybrid Quantum-Classical Multi-Agent Pathfinding

Thore Gerlach, Loong Kuan Lee, Frederic Barbaresco, Nico Piatkowski

Abstract

Multi-Agent Path Finding (MAPF) is a critical challenge in robotics and logistics, requiring the coordination of multiple agents to reach destinations without collisions. While classical solvers struggle with the NP-hard complexity of optimal MAPF at scale, current Noisy Intermediate-Scale Quantum (NISQ) hardware lacks the capacity to solve large instances directly. This paper presents a novel hybrid quantum-classical framework using Branch-and-Cut-and-Price (BCP) to decompose MAPF into manageable subproblems. By utilizing a hardware-aware Conflict Graph formulation, the proposed algorithms achieve optimal solutions on real quantum hardware and remain competitive with state-of-the-art classical solvers.

Introduction

Multi-Agent Path Finding (MAPF) involves calculating collision-free routes for a fleet of agents moving through a shared environment. As the number of agents increases, the computational complexity grows exponentially, making the search for optimal solutions—those that minimize total travel time or distance—notoriously difficult. While heuristic-based classical solvers can find feasible paths quickly, they often sacrifice optimality.

Quantum Computing (QC) offers a potential paradigm shift for such combinatorial optimization problems. However, we are currently in the NISQ era, where quantum devices are limited by low qubit counts and high error rates. To bridge this gap, this research introduces a hybrid approach that leverages the strengths of classical operations research and the optimization potential of quantum annealing.

Methodology: Branch-and-Cut-and-Price

The core of the proposed approach is a hybrid framework based on Branch-and-Cut-and-Price (BCP). Rather than attempting to map the entire MAPF problem onto a quantum chip, the algorithm iteratively builds a "Restricted Master Problem" (RMP) that contains only a small, promising subset of all possible paths.

The system operates in a three-stage loop:

  1. Pricing (Classical): A classical algorithm identifies new potential paths for agents and adds them to the pool.
  2. Separation (Classical): The system detects potential collisions between the current set of paths and introduces them as constraints.
  3. Solving (Quantum/QUBO): The RMP is translated into a Quadratic Unconstrained Binary Optimization (QUBO) format. A quantum annealer then selects the optimal combination of non-colliding paths from the restricted pool.

The authors introduce two specific algorithms: QUBO-and-Price (QP) and QUBO-and-Cut-and-Price (QCP). A key mathematical contribution is the proof of a stopping criterion that guarantees global optimality, even if the quantum solver provides only approximate solutions during intermediate iterations.

Hardware-Aware QUBO Formulation

Standard methods for converting constraints into QUBO format often rely on "slack variables," which consume a significant number of qubits. To make the problem viable for current hardware, the authors developed a Conflict Graph formulation. In this model, nodes represent specific paths and edges represent collisions between them.

This approach naturally fragments the problem into smaller, independent sub-problems. By modeling constraints as a graph rather than a dense matrix of variables, the researchers drastically reduced the qubit overhead, allowing complex routing problems to fit within the limited topology of modern quantum processors.

Experimental Evaluation

The algorithms were benchmarked using the MovingAI dataset, encompassing a variety of environments including open grids, mazes, and complex game maps (e.g., Dragon Age: Origins maps).

Classical and Simulation Results

When the RMP was solved using classical exact methods (QP-ILP), the framework consistently outperformed top-tier classical anytime solvers such as LNS2 and LaCAM* within a 180-second window. Furthermore, the QP-QUBO method, when tested via classical simulated annealing, proved more effective than many state-of-the-art heuristics, validating the strength of the underlying mathematical formulation.

Real Quantum Hardware Performance

The researchers validated their approach on the D-Wave Advantage quantum annealer, utilizing 5,670 physical qubits. While standard QUBO formulations failed to find feasible solutions due to noise and connectivity limits, the Conflict Graph formulation successfully solved 20-agent problems. This demonstrates that hardware-aware algorithmic design is essential for making quantum optimization practical in the near term.

Discussion and Future Work

Despite the success of the hybrid framework, hardware limitations remain a primary bottleneck. The restricted connectivity of current quantum annealers requires "chaining" multiple physical qubits to represent a single logical variable, which limits the scale of problems that can be addressed. Additionally, the performance of QUBO solvers is highly sensitive to penalty weights; if these weights are poorly tuned, the quantum hardware may struggle to distinguish between valid paths and constraint violations.

Future research will focus on scaling these experiments as denser quantum architectures, such as D-Wave’s Zephyr topology, become available. The authors also aim to explore advanced initialization heuristics to further accelerate the classical path-generation phase, moving closer to real-time optimal coordination for large-scale robotic swarms.

Summary updated

BibTeX
@inproceedings{gerlach2025hybrid,
  author = {Thore Gerlach and Loong Kuan Lee and Frederic BARBARESCO and Nico Piatkowski},
  title = {{Hybrid Quantum-Classical Multi-Agent Pathfinding}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=KWzddk0Ejx},
}
Figure