Towards Quantum Algorithms for the Optimization of Spanning Trees: The Power Distribution Grids Use Case
Carsten Hartmann, Nil Rodellas-Gràcia, Christian Wallisch, Thiemo Pesch, Frank K. Wilhelm, Dirk Witthaut, Tobias Stollenwerk, Andrea Benigni
TL;DR
This work tackles reconfiguration of radial distribution grids to minimize Ohmic losses by mapping the problem to MDST, a spanning-tree optimization that is NP-hard and non-locally dependent on topology. It proposes two quantum primitives based on the Quantum Alternating Operator Ansatz (QAOA): a penalty-based sampling method and an invariant feasible-subspace approach that uses partial edge-rotation mixers to navigate only between feasible spanning trees. The authors provide a rigorous quantum encoding using binary variables $y_{e,n}$, develop complete edge-rotation moves, derive resource estimates, and perform QAOA simulations showing the invariant-subspace method can outperform penalty-based sampling on small instances, albeit with deeper circuits and sensitivity to hyperparameters. By mapping network reconfiguration to MDST+ on reduced graphs, the paper links a hard classical problem to quantum optimization strategies, offering pathways for future hardware experiments and potential benefits for energy-grid planning and resilience.
Abstract
Optimizing the topology of networks is an important challenge across engineering disciplines. In energy systems, network reconfiguration can substantially reduce losses and costs and thus support the energy transition. Unfortunately, many related optimization problems are NP hard, restricting practical applications. In this article, we address the problem of minimizing losses in radial networks, a problem that routinely arises in distribution grid operation. We show that even the computation of approximate solutions is computationally hard and propose quantum optimization as a promising alternative. We derive two quantum algorithmic primitives based on the Quantum Alternating Operator Ansatz (QAOA) that differ in the sampling of network topologies: a tailored sampling of radial topologies and simple sampling with penalty terms to suppress non-radial topologies. We show how to apply these algorithmic primitives to distribution grid reconfiguration and quantify the necessary quantum resources.
