Optimal power flow must be solved in real-time to accommodate variable operating conditions from uncertain renewable supply and stable data-center demand. Traditional optimisation techniques face computational complexity and non-convexity challenges in large-scale networks. This paper proposes a hybrid quantum-classical quantum annealing (QA) workflow for alternating current optimal power flow (AC-OPF), implemented through D-Wave’s constrained quadratic model (CQM) solver. The formulation starts from standard AC-OPF and uses first-order linearization around an operating point to obtain CQM-admissible constraints for voltage, angle, and branch-flow limits. We benchmark the workflow on IEEE 9-, 14-, 118-, and 300-bus systems against IPOPT. To avoid over-interpretation, we distinguish solver-reported QPU access time from end-to-end wall-clock runtime and explicitly report feasibility checks for power-balance and voltage constraints. Results indicate that the hybrid QA-CQM workflow can provide fast feasible dispatch candidates, while accuracy depends on linearization quality and hardware noise. These findings position QA as a complementary near-term tool for time-critical OPF screening rather than a universal replacement for classical AC-OPF.
Optimal power flow must be solved in real-time to accommodate variable operating conditions from uncertain renewable supply and stable data-center demand. Traditional optimisation techniques face computational complexity and non-convexity challenges in large-scale networks. This paper proposes a hybrid quantum-classical quantum annealing (QA) workflow for alternating current optimal power flow (AC-OPF), implemented through D-Wave’s constrained quadratic model (CQM) solver. The formulation starts from standard AC-OPF and uses first-order linearization around an operating point to obtain CQM-admissible constraints for voltage, angle, and branch-flow limits. We benchmark the workflow on IEEE 9-, 14-, 118-, and 300-bus systems against IPOPT. To avoid over-interpretation, we distinguish solver-reported QPU access time from end-to-end wall-clock runtime and explicitly report feasibility checks for power-balance and voltage constraints. Results indicate that the hybrid QA-CQM workflow can provide fast feasible dispatch candidates, while accuracy depends on linearization quality and hardware noise. These findings position QA as a complementary near-term tool for time-critical OPF screening rather than a universal replacement for classical AC-OPF.
Optimal Power Flow (OPF) is a fundamental optimisation problem in power systems, aiming to minimize the generation cost dispatch while satisfying operational constraints. Traditional optimisation methods, especially the AC-OPF formulation, struggle to converge or find optimal solutions due tothenon-linear andnon-convexnatureoftheproblem. Thisstudyaddressesthe AC-OPF using a hybrid iterative algorithm that combines classical and quantum computing, where Quantum Annealing assists in optimizing decision variables. ThemethodologysplitstheAC-OPFintotwointerrelatedproblems. Thefirstsub-problemisthe classical OPFformulation, whichincorporatesallelectricalnetworkcomponentsandminimizes the objective function under technical and operational constraints. The second sub-problem, also known as the master problem, is a binary problem that assumes activation states of the generators, while minimizingcostsofgenerationandstart-upcostsfordifferenttimesteps. This forms aBinary Integer Linear Programming (BILP) problem, which is well-suited for quantum computing due to its discrete structure and combinatorial complexity. Once the BILP is defined, it is converted into a Hamiltonian and evolved using Quantum Annealing throughtheQiboframework. Theresultingoptimalbinarycombinationisthenapplied to the network model and solved classically. If the solution is feasible and optimal, the process ends. If not, the combination is excluded from the BILP and added as a constraint to guide the search for the next best feasible solution. This methodology is tested on two IEEE networks of 9 to evaluate computational speedup and assess the limitations of actual quantum hardware. Once this is done, future work will explore the use of Quantum Machine Learning to generate 24-hour load and generation profiles, while in this work, an LSTM is used, enabling the AC-OPF solutions.
Alternating Current Optimal Power Flow Unit Commitment (AC-OPF-UC) is a difficult mixed-integer nonlinear optimization problem that combines binary generator commitment decisions with nonconvex continuous AC power-flow constraints. In this work, we investigate whether hybrid quantum-classical variational algorithms can improve the solution of single-period AC-OPF-UC relative to classical approaches. To the best of our knowledge, this is the first study to directly evaluate quantum or hybrid quantum-classical algorithms for the full AC-OPF-UC problem. We consider two candidate algorithms for improving AC-OPF-UC solution quality relative to purely classical methods on ideal quantum hardware. The first applies QAOA directly to a fully discretized formulation of the problem, with equality and inequality constraints incorporated through penalty terms and slack variables. Although conceptually straightforward, this approach requires a prohibitively large number of qubits even for small instances. The second, qubit-efficient approach encodes only the binary generator status variables on a quantum computer, while optimizing the continuous power-flow variables classically for each sampled bitstring. We benchmark this method on randomly generated AC-OPF-UC instances with 5 to 13 generators and compare it against SCIP, SMAC, and uniform random sampling. Our simulations show that the qubit-efficient hybrid method does not outperform uniform sampling. These results suggest that in order to establish potential advantage of the variational hybrid strategy considered here over the best classical algorithms, if any, much larger system sizes (25+ generators) need to be tested, which is beyond our computational capacity. Alternatively, different approaches, such as quantum versions of branch-and-bound methods, may be more promising.
This study further explores reformulating power flow (PF) analysis as a discrete combinatorial optimization problem, proposed in our earlier study using the Adiabatic Quantum Power Flow (AQPF) algorithm, which can be executed on Ising machines, including quantum and quantum-inspired hardware. This approach provides a new representation of the underlying equations, analogous to how neural networks approximate complex functions using simple operations. While the resulting combinatorial optimization problem is NP-hard, it is compatible with emerging quantum hardware designed to address such complexity. We introduce the Adiabatic Quantum Optimal Power Flow (AQOPF) algorithm, which transforms the classical optimal power flow (OPF) equations into quadratic unconstrained binary optimization (QUBO) models. Furthermore, the AQPF and AQOPF algorithms are evaluated on standard test cases ranging from 4- to 1354-bus systems using D-Wave's Advantage\texttrademark\ system (QA), its hybrid quantum-classical solver (HA), and Fujitsu's third-generation Digital Annealer (DAv3) and Quantum-Inspired Integrated Optimization (QIIO) platform. Both full and partitioned formulations are investigated, with particular attention to scalability and robustness in ill-conditioned scenarios. The results demonstrate that the algorithms can reproduce feasible PF and OPF solutions and exhibit promising computational scalability when supported by scalable hardware.
Modern distribution grids face unprecedented challenges from intermittent renewable integration, extreme weather events, and the need for real-time optimal power flow (OPF) solutions that preserve physical constraints while minimizing operational costs. This paper introduces Constraint-Aware QAOA for Real-Time Quantum Smart Grid Optimization, a novel hybrid quantum-classical framework that directly addresses renewable dispatch, battery scheduling, and demand response in distribution networks. We formulate the stochastic OPF problem with renewable integration as a constrained optimization challenge and propose three innovative solution approaches: (1) Constraint-Preserving QAOA (CP-QAOA) with a novel Power-Flow Preserving Mixer (PF-Mixer) that enforces Kirchhoff-style flow conservation during quantum evolution, (2) Phase-Encoded Power-Flow (PEPF) mapping that reduces qubit requirements by 3× through mixed binary-phase representation, and (3) Hybrid Receding-Horizon Quantum Controller (HRQC) enabling subminute reoptimization via intelligent problem decomposition. For renewable integration modeling, we develop multimodal fusion techniques combining real-time generation forecasts, battery state-of-charge dynamics, and demand response signals with quantum superposition states. Our experimental evaluation on IEEE test systems with realistic renewable penetration scenarios demonstrates significant improvements: the CP-QAOA approach achieves 18.3% reduction in operational costs compared to classical OPF baselines, while quantum methods provide > 95% constraint feasibility compared to < 31% for standard QAOA with penalty encoding. The hybrid framework shows strong promise for scalable deployment in real smart grid infrastructure, with practical implications for quantum-enhanced grid operations under high renewable penetration.
This paper proposes the use of annealing-based quantum computing for solving combinatorial optimal power flow problems. Quantum annealers provide a physical computing platform which utilises quantum phase transitions to solve specific classes of combinatorial problems. These devices have seen rapid increases in scale and performance, and are now approaching the point where they could be valuable for industrial applications. This paper shows how an optimal power flow problem incorporating linear multiphase network modelling, discrete sources of energy flexibility, renewable generation placement/sizing and network upgrade decisions can be formulated as a quadratic unconstrained binary optimisation problem, which can be solved by quantum annealing. Case studies with these components integrated with the IEEE European Low Voltage Test Feeder are implemented using D-Wave Systems’ 5,760 qubit Advantage quantum processing unit and hybrid quantum-classical solver.
Uncertainty is fundamental in modern power systems, where renewable generation and fluctuating demand make stochastic optimization indispensable. The chance constrained unit commitment problem (UCP) captures this uncertainty but rapidly becomes computationally challenging as the number of scenarios grows. Quantum computing has been proposed as a potential route to overcome such scaling barriers. In this work, we evaluate the applicability of quantum annealing platforms to the chance constrained UCP. Focusing on a scenario approximation, we reformulated the problem as a mixed integer linear program and solved it using DWave hybrid quantum classical solver alongside Gurobi. The hybrid solver proved competitive under strict runtime limits for large scenario sets (15,000 in our experiments), while Gurobi remained superior on smaller cases. QUBO reformulations were also tested, but current annealers cannot accommodate stochastic UCPs due to hardware limits, and deterministic cases suffered from embedding overhead. Our study delineates where chance constrained UCPs can already be addressed with hybrid quantum classical methods, and where current quantum annealers remain fundamentally limited.