Quantum algorithm for large-scale market equilibrium computation

Po-Wei Huang, Patrick Rebentrost

Abstract

This paper, presented at NeurIPS 2024, introduces the first quantum algorithm for computing market equilibrium that achieves sub-linear performance relative to the number of participants. By reformulating standard Proportional Response (PR) dynamics into a robust "Faulty" version, the authors leverage quantum subroutines to bypass the classical $O(mn)$ runtime bottleneck, offering a scalable solution for massive, Internet-scale Fisher markets.

Introduction

Market equilibrium—the state where supply equals demand and prices are optimized—is a fundamental concept in auction design, fair item allocation, and recommender systems. In a Fisher market, $n$ buyers with specific budgets compete for $m$ goods. The classical gold standard for solving this is Proportional Response (PR) dynamics. However, PR dynamics require updating every individual bid for every buyer and good in each iteration, leading to a runtime of $O(mn)$. As modern markets reach millions of participants, this linear scaling becomes a prohibitive computational bottleneck. This research addresses whether equilibrium can be found without exhaustively processing every interaction.

Methodology

The proposed approach bridges quantum computing and economic theory through three primary innovations:

  1. Faulty Proportional Response (FPR): The authors developed FPR, a robust version of PR dynamics. They proved that the Eisenberg-Gale convex program, which defines the equilibrium, converges even when price and utility updates contain controlled errors. This theoretical safety net allows the use of probabilistic quantum estimations.
  2. Quantum Subroutines for Estimation: The algorithm utilizes Quantum Amplitude Estimation (QAE) to estimate $\ell_1$ norms and inner products. These subroutines provide a quadratic speedup regarding market dimensions and the required error rate.
  3. QRAM and Query/Sample Output: To maintain sub-linearity, the algorithm avoids writing the full $n \times m$ bid matrix. Instead, it uses Quantum Random Access Memory (QRAM) to keep memory costs at $O(m+n)$ and outputs the result as a quantum state, allowing users to query specific bids or sample the distribution.

Theoretical Comparison

The quantum algorithm significantly improves upon the complexity of classical PR dynamics across several metrics, as shown in the table below.

Comparison of the proposed quantum algorithm against classical PR dynamics.

Key Results and Simulations

The authors validated their theoretical findings through numerical simulations on synthetic datasets mimicking various market conditions, including markets with up to 16,384 buyers and goods.

  • Theoretical Speedup: The quantum algorithm achieves a runtime of $\tilde{O}(\frac{\sqrt{mn} \max(m,n)}{\epsilon^2})$, a polynomial improvement over the classical $\tilde{O}(mn/\epsilon)$.
  • Memory Efficiency: Memory requirements are reduced from $O(mn)$ in classical RAM to $O(m+n)$ using QRAM.
  • Simulation Performance: In 16k-scale simulations, the quantum algorithm significantly outperformed classical PR dynamics and Projected Gradient Descent (PGD), reaching target objective values with far fewer queries to the bid matrix.

Discussion and Limitations

While this work represents a significant leap, several challenges remain for practical implementation. The algorithm requires fault-tolerant quantum hardware and functional QRAM, which are currently under development. Furthermore, the quantum speedup is most pronounced in large-scale markets; in cases where the number of buyers is very small, the overhead of quantum subroutines may outweigh the benefits. Future work may extend these methods beyond linear utilities to more complex, non-linear economic models.

Summary updated

BibTeX
@inproceedings{huang2024quantum,
  author = {Po-Wei Huang and Patrick Rebentrost},
  title = {{Quantum algorithm for large-scale market equilibrium computation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=0DE1dLMW2b},
}
Figure