NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Quantum Tail-Risk Backups for Storage Dispatch Under Intermittency

Grid operators that absorb wind and solar swings with batteries do not optimize average cost. They optimize the bad tail: the few percent of cloudy afternoons or wind lulls that force expensive curtailment, reserve purchases, or voltage violations. Computing such a risk-aware plan by dynamic programming means repeatedly estimating a tail average of future cost, called conditional value-at-risk (CVaR): the mean cost over the worst $\alpha$ fraction of outcomes. Classical Monte Carlo is inefficient here for two reasons. Only an $\alpha$ fraction of samples land in the tail, and the error shrinks only as one over the square root of the sample count. Quantum mean estimation is an algorithm that estimates an average to accuracy $\epsilon$ with about $1/\epsilon$ queries to a quantum simulator of the system, instead of $1/\epsilon^2$. It attacks the second problem directly. When the quantity being averaged is rare and heavy, it also softens the first.

This note proposes a risk-aware quantum value iteration for battery dispatch under renewable intermittency. It pairs the proposed algorithm with an honest, end-to-end resource account of whether the speedup survives three costs: building the simulator oracle, fault-tolerance overhead, and classical tail-sampling tricks. The claim is not that quantum computers will dispatch batteries next year. The claim is narrower and testable. Risk-averse backups are the regime where the quantum query advantage over classical estimation is largest, and a weather model of the kind renewable forecasters already find sufficient can be compiled into a cheap enough quantum oracle to make that advantage measurable.

Core Claim

Luo et al.'s Quantum Algorithms for Finite-horizon Markov Decision Processes supplies the method. It gives quantum value iteration built from two primitives: quantum maximum search, which finds the best of $|\mathcal{A}|$ actions in about $\sqrt{|\mathcal{A}|}$ queries, and quantum mean estimation. With a generative (simulator) model, it reaches an $\epsilon$-optimal policy in $\tilde{O}(|\mathcal{S}|\sqrt{|\mathcal{A}|}H^3/\epsilon)$ samples, against the classical $\tilde{O}(|\mathcal{S}||\mathcal{A}|H^4/\epsilon^2)$. All four of its algorithms optimize expected return, and the paper touches no physical system.

Power systems work on the opposite side. Optimal Dispatch of Residential Photovoltaic Inverters Under Forecasting Uncertainties motivates the proposal: a risk-neutral inverter dispatch there prescribes 27.83 kWh of curtailment where a 95% CVaR dispatch prescribes 44.05 kWh. The risk-neutral plan therefore understates what is needed to keep the feeder safe. Diffusion-Modeled Reinforcement Learning for Carbon and Risk-Aware Microgrid Optimization likewise builds a CVaR critic into microgrid control, entirely classically.

The observation that links the two lines is that the one-step CVaR backup reduces to a minimization over means. With the standard variational form, the per-step risk-aware Bellman backup is

$$Q_h(s,a) = c_h(s,a) + \min_{t}\Big\{\, t + \tfrac{1}{\alpha}\,\mathbb{E}_{s'\sim P_h(\cdot|s,a)}\big[(V_{h+1}(s') - t)^+\big] \Big\},$$

where $c_h$ is the immediate cost, $V_{h+1}$ is the next-step risk-adjusted value, $t$ is a threshold variable, $\alpha$ is the tail fraction, and $(x)^+=\max(x,0)$. The inner term is an expectation, so quantum mean estimation applies. The outer minimum over a discretized $t$ grid, and the minimum over actions, are both quantum minimum searches.

The advantage should grow as the tail gets rarer. The clipped quantity $(V-t)^+/\alpha$ has standard deviation of order $1/\sqrt{\alpha}$ times the cost range, because it is nonzero with probability about $\alpha$ and is scaled by $1/\alpha$. Classical estimation to accuracy $\epsilon$ then costs about $1/(\alpha\epsilon^2)$ samples. Variance-aware quantum mean estimation costs about $1/(\sqrt{\alpha}\,\epsilon)$ queries. The resulting per-backup ratio is roughly $1/(\sqrt{\alpha}\,\epsilon)$, which is largest exactly where grid operators care most.

This scaling is a hypothesis to be proven and measured, not a result in the file. It is also the sense in which intermittency is "luck-favoring" in the terminology of Enhanced learning for agents in quantum-accessible environments: rare, decisive events dominate what the agent must learn.

Research Program

The work has three parts, and the second one decides whether the other two matter.

The first part is algorithmic. We define nested (per-step) CVaR quantum value iteration by substituting the backup above into Luo et al.'s generative-model algorithm. We then prove an end-to-end sample bound, tracking how errors in the $t$-minimization and in $V_{h+1}$ propagate through the $1/\alpha$ factor across the horizon $H$. We use the paper's binary-oracle mean estimation variant, which accepts transitions given as ordinary bit-strings, so that transition probabilities never need to be loaded as amplitudes.

The second part is the oracle, which is the input problem the quantum literature flags as fatal to many speedups. We need a reversible circuit that, given a state and action, samples the next state. The state is battery state-of-charge, the hour, and a discretized forecast-residual level; the action is a charge or discharge level.

Renewable forecasting supplies a reason to expect this is cheap. Modified Auto Regressive Technique for Univariate Time Series Prediction of Solar Irradiance finds that once the clear-sky daily arc is subtracted, a low-order autoregressive model of the residual competes with much larger architectures. A low-order autoregression with quantized coefficients, plus battery dynamics that are addition and clipping, compiles into shallow reversible arithmetic. We will build this oracle, verify it on small instances in state-vector simulation, and produce logical-qubit and non-Clifford gate counts as a function of discretization. Feasibility is enforced by construction: the action register only encodes charge levels within state-of-charge limits. No infeasible action ever enters the superposition, which sidesteps the unsafe-exploration issue raised by RL for Mitigating Cascading Failures: Targeted Exploration via Sensitivity Factors.

The third part is empirical scaling. We fit the model to PJM hourly solar, wind, load, and price data, as used by DIFFCARL, and to CityLearn 2021 building profiles, yielding discretized MDPs with a few thousand states. These are small enough to solve the risk-aware DP exactly on a classical machine for ground truth. We run the quantum algorithm by faithful emulation: the output distribution of amplitude estimation for a given number of queries is known analytically. We can therefore sample estimator outputs classically, count queries exactly, and measure policy error, without pretending to have hardware. We then combine the measured query counts with the oracle gate counts and a stated fault-tolerance overhead model to locate the break-even instance size. This is the point at which quantum wall-clock time would beat the best classical estimator.

The contrast with existing quantum-grid work is deliberate. Qubit-Efficient Quantum Annealing for Stochastic Unit Commitment and Multi-Objective Quantum Power System Redispatch map one-shot scheduling onto annealers. They carry no provable query advantage, and in the redispatch study, TabuSearch beat the annealer on cost. We instead target a sequential, risk-aware policy computation, on gate-based hardware, with a provable advantage.

Baselines

The naive reference point is risk-neutral classical value iteration with plain Monte Carlo backups on the same discretized MDP, evaluated by its realized CVaR of cost. It shows how much the risk objective matters on this data, analogous to the 27.83 versus 44.05 kWh gap reported by Dall'Anese et al. on their feeder.

The ablation that isolates the proposal's key ingredient is risk-neutral quantum value iteration, meaning Luo et al.'s algorithm unchanged. It is run on the identical oracle, measuring the query advantage at $\alpha=1$. If the advantage at $\alpha=0.05$ is not clearly larger than at $\alpha=1$, the central claim about tails fails.

The strongest classical competitor for the estimation question is classical nested-CVaR value iteration whose backups use importance sampling tilted toward high-cost residuals, with the tilt fitted by cross-entropy on held-out rollouts. Importance sampling can in principle remove most of the $1/\alpha$ penalty, so it is the fair opponent, not plain Monte Carlo. There is no reported result on Lacuna for importance-sampled CVaR dynamic programming on these benchmarks, so we will implement it. The comparison is fair when both methods target the same policy-error tolerance against exact ground truth, use the same simulator, and receive the same tuning budget for their hyperparameters: the tilt parameters and $t$-grid for the classical method, and the query schedule and $t$-grid for the quantum one. Beating it means fewer simulator queries to reach a given realized-CVaR gap, with a scaling exponent in $\epsilon$ measurably below the classical one, across at least three $\alpha$ levels.

For policy quality in the application, the reference is classical risk-aware control. DIFFCARL reports 2.3% to 30.1% lower operating cost than SAC, DQN, DDPG, and model predictive control on PJM-based feeders, and 98.2% of an offline perfect-foresight optimum. We rerun a CVaR actor-critic of that kind on our PJM-derived environment with matched simulator interactions. The purpose is not to beat it on cost. It is to confirm that the exact risk-aware DP policy, which our quantum method approximates, is at least competitive; if it is not, the discretization is too coarse to be useful. The rolling-horizon stochastic programming heuristic of The Value of Multi-stage Stochastic Programming in Risk-averse Unit Commitment under Uncertainty serves as a second application baseline. That paper reports a consistently low optimality gap but no numerical value found on Lacuna, so we measure it ourselves.

Why not just…?

Why not just use classical importance sampling for the tail? This is the real threat, and we treat it as the main baseline rather than a footnote. A well-tilted classical sampler may erase the $1/\alpha$ factor, leaving only the $1/\epsilon$ versus $1/\epsilon^2$ gap that holds for any mean. The experiments settle this by reporting query counts against $\alpha$ for both methods on the same MDPs. If importance sampling is flat in $\alpha$, we will say so, and the paper's claim shrinks to the generic quadratic advantage in accuracy plus a resource estimate. That is still a useful answer, but a smaller one.

Why not just use classical risk-aware reinforcement learning like DIFFCARL, or rolling-horizon programming? These solve today's dispatch problem, and nothing here competes with them on current hardware. They do not offer accuracy guarantees for the tail estimate, and Mahmutoğulları et al. show the full multi-stage version scaling from 7 to 2,000 seconds on a 10-generator system. Our question concerns asymptotic cost for certified risk-aware policies, which these methods do not address. We include them only to check that the discretized DP target is operationally sensible.

Why not just put the scheduling problem on a quantum annealer? The two annealing papers already did this. In the redispatch study, TabuSearch won on cost and precision; in the unit commitment study, the annealer landed 0.31% above Gurobi with wall-clock time dominated by communication latency. Annealing offers no query-complexity guarantee to test, whereas the gate-based estimation route does.

Why not just use a variational quantum policy? Benchmarking Quantum Reinforcement Learning found a 14-qubit circuit matching a much larger classical network in parameter count. It also found that training took about 12 minutes per run in simulation versus seconds classically, and that 100 runs were needed to control variance. Parameter efficiency is not a computational speedup, so this route cannot answer our question.

Proposed Experiments

On PJM-derived and CityLearn-derived storage MDPs at three discretization sizes, we first solve the exact nested-CVaR DP classically for $\alpha \in \{1, 0.2, 0.05, 0.01\}$. We then run emulated quantum CVaR value iteration, risk-neutral quantum value iteration, plain Monte Carlo CVaR value iteration, and importance-sampled CVaR value iteration to a sweep of target tolerances.

The primary metric is total simulator queries needed to bring the realized CVaR of the resulting policy within $\epsilon$ of optimal. Secondary metrics are the realized CVaR and mean cost on held-out weather years, and the oracle's logical-qubit and non-Clifford gate counts.

There are three decisive checks. First, the fitted query exponent in $\epsilon$ should be near $-1$ for the quantum method and near $-2$ for both classical methods. Second, the quantum-to-importance-sampling query ratio should grow as $\alpha$ shrinks; if it does not, the tail-specific claim is refuted. Third, the break-even instance size, after multiplying queries by oracle cost and fault-tolerance overhead, should fall within a range that realistic regional dispatch problems reach. If it lands orders of magnitude beyond that range, the result is a documented negative. That negative would still be the first physically grounded one for quantum policy evaluation in power systems.