Skip to main content
QUICK REVIEW

[Paper Review] Dynamic Programming on a Quantum Annealer: Solving the RBC Model

Jesús Fernández‐Villaverde, Isaiah Hull|arXiv (Cornell University)|Jun 7, 2023
Quantum Computing Algorithms and ArchitectureComputer Science3 citations
TL;DR

This paper presents a novel method to solve dynamic programming problems—specifically the Real Business Cycle (RBC) model—on a quantum annealer, leveraging reverse and inhomogeneous annealing to achieve a 10x speed-up over classical benchmarks. It demonstrates that quantum annealing can outperform classical implementations in computation time while maintaining acceptable solution accuracy.

ABSTRACT

We introduce a novel approach to solving dynamic programming problems, such as those in many economic models, on a quantum annealer, a specialized device that performs combinatorial optimization. Quantum annealers attempt to solve an NP-hard problem by starting in a quantum superposition of all states and generating candidate global solutions in milliseconds, irrespective of problem size. Using existing quantum hardware, we achieve an order-of-magnitude speed-up in solving the real business cycle model over benchmarks in the literature. We also provide a detailed introduction to quantum annealing and discuss its potential use for more challenging economic problems.

Motivation & Objective

  • To develop a practical method for solving dynamic programming problems in economics on existing quantum annealing hardware.
  • To overcome the quantum-to-classical bottleneck and iterative limitations inherent in quantum annealers for economic models.
  • To demonstrate the feasibility and performance of quantum annealing on a standard macroeconomic model (RBC) using real quantum hardware.
  • To compare quantum annealing performance against classical benchmarks and hybrid algorithms in terms of speed, accuracy, and solution quality.

Proposed method

  • The authors use a parametric dynamic programming formulation to encode the RBC model’s value and policy functions into a quadratic binary optimization (QUBO) problem suitable for quantum annealing.
  • They implement reverse and inhomogeneous annealing schedules to improve solution quality and reduce state correlation across multiple anneals.
  • The method employs 200 independent anneals per execution to sample diverse candidate solutions and reduce dependence on individual runs.
  • A one-shot quantum algorithm is used to compute the full solution path in a single quantum execution, avoiding iterative classical loops.
  • The solution is validated by comparing simulated consumption paths with the analytical RBC solution, assessing accuracy across time periods.
  • Classical pre-processing and post-processing are used to initialize and interpret quantum results, ensuring compatibility with standard economic modeling workflows.

Experimental results

Research questions

  • RQ1Can quantum annealing be effectively applied to solve standard dynamic programming problems in macroeconomics, such as the RBC model?
  • RQ2How does the performance of quantum annealing compare to classical value function iteration (VFI) and combinatorial algorithms in terms of computation time?
  • RQ3What impact do advanced annealing techniques—such as reverse and inhomogeneous annealing—have on solution accuracy and convergence?
  • RQ4To what extent can quantum annealing overcome the quantum-to-classical bottleneck in recovering high-dimensional policy and value functions?
  • RQ5Can quantum annealing provide a viable warm-start for classical dynamic programming algorithms in high-dimensional economic models?

Key findings

  • The quantum annealing implementation solved the RBC model in 0.065 seconds on the D-Wave QPU, representing 3.8% of the time required by the multi-anneal quantum algorithm and 8.9% of the C++ VFI implementation from AFV (0.73 seconds).
  • The one-shot quantum algorithm achieved a 10x speed-up over classical benchmarks, with execution time at 3% of the C++ VFI implementation and 0.66% of the classical combinatorial algorithm.
  • The average error for the policy and value functions was lower than that of the multi-anneal quantum algorithm, with mean errors of 2.98%, 1.71%, and 4.52% for $x_1$, $x_2$, and $x_3$ respectively.
  • The solution quality was superior to both the multi-anneal and hybrid classical-quantum algorithms, particularly in the immediate aftermath of a negative productivity shock.
  • Despite higher execution time than the multi-anneal algorithm, the one-shot method produced more independent and higher-quality solutions due to reduced state correlation.
  • The method successfully encoded high-dimensional economic solutions into $N$-qubit states, demonstrating a viable path to overcoming the quantum-to-classical bottleneck in economic modeling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.