Universal Quantum Speedup for Branch-and-Bound, Branch-and-Cut, and Tree-Search Algorithms

Shouvanik Chakrabarti, Pierre Minssen, Romina Yalovetzky, Marco PistoiaarXiv 2022 · DOI

This paper, authored by researchers at JPMorgan Chase & Co., presents a significant step forward in making quantum algorithms relevant to real-world optimization. It introduces a "universal" quantum speedup for the workhorse algorithms of modern industry: Branch-and-Bound and Branch-and-Cut.

TL;DR

The researchers developed a quantum meta-algorithm, Incremental-Quantum-Branch-and-Bound, that provides a near-quadratic speedup over the actual performance of classical solvers on any given input. Unlike previous methods that only targeted worst-case scenarios, this approach respects the heuristics and early-stopping techniques used in commercial solvers like Gurobi and CPLEX, making quantum advantage more predictable and practical.

What Problem Does This Paper Address?

Mixed Integer Programming (MIP) is the backbone of logistics, financial engineering, and operations research. Because MIP is NP-hard, classical solvers don't just "brute force" solutions; they use Branch-and-Bound (B&B) and Branch-and-Cut (B&C). These methods explore a tree of possibilities, using heuristics to prune branches and "cutting planes" to tighten the search space.

Previous quantum speedups for these problems (notably by Ashley Montanaro) were limited. They typically focused on the worst-case complexity of finding all optimal solutions. However, in the real world, engineers usually want one good solution and use clever heuristics to find it quickly. If a classical solver gets "lucky" and finds a solution in 1,000 nodes instead of 1,000,000, previous quantum algorithms couldn't necessarily capitalize on that luck. This paper addresses that gap by creating a quantum algorithm that speeds up the specific path a classical heuristic takes.

Methods

The authors introduce Incremental-Quantum-Branch-and-Bound (IQBB). The core innovation is the "universal" nature of the speedup. If a classical algorithm explores $Q$ nodes to reach a solution at depth $d$, the IQBB algorithm achieves the same result with a complexity of roughly $\tilde{O}(\sqrt{Q}d)$.

Key technical components include:

  • Quantum Partial Subtree Estimation: A new primitive that allows the quantum algorithm to estimate the size of the tree the classical heuristic would have searched, without actually searching it all.
  • Heuristic Integration: The framework supports "Branch-Local Heuristics," a broad category including depth-first, cost-based, and $A^*$ searches.
  • Global Cutting Planes: The authors extend the logic to Branch-and-Cut by showing how global constraints discovered during the search can be incorporated into the quantum state.

Datasets

To validate their theory, the authors performed numerical simulations on three classes of NP-hard optimization problems:

  1. Sherrington-Kirkpatrick (SK) Model: A classic problem from statistical physics used to benchmark optimization.
  2. Maximum Independent Set (MIS): Tested on Erdős-Rényi graphs (random graphs with a fixed edge probability).
  3. Mean-Variance Portfolio Optimization: A financial problem involving budget, cardinality, and diversification constraints.

They used these simulations to record how the number of nodes ($Q$) and tree depth ($d$) scale with problem size ($n$) in commercial solvers like Gurobi and CPLEX.

Key Insights and Ideas

  • The "Universal" Speedup: This is the "aha moment." By making the quantum algorithm's complexity dependent on the classical algorithm's actual number of queries ($Q$), the authors ensure that the quantum version is always faster (quadratically so, provided $Q \gg d$).
  • Depth vs. Size: The speedup is effective because, in practical MIP instances, the number of nodes $Q$ grows exponentially with problem size, while the depth $d$ often grows much more slowly (linearly or quadratically).
  • Heuristic-Agnosticism: The algorithm doesn't require a new quantum heuristic; it "wraps" around existing classical heuristics. This makes it a "meta-algorithm" that can potentially be dropped into existing software pipelines once fault-tolerant quantum hardware exists.

Key Results

The paper provides concrete projections for quantum performance based on classical benchmarks:

  • Quadratic Scaling: For the SK model, Gurobi's complexity was found to be $O(2^{0.494n})$. The projected quantum complexity is $\tilde{O}(2^{0.247n})$.
  • Empirical Verification: Simulations confirmed that for all three problem types, $Q \gg d$ holds true as problem size increases, satisfying the condition for a near-quadratic speedup.
  • Spread Handling: The authors showed that the "spread" (the difference between the easiest and hardest instances of the same size) is massive—sometimes over 45,000% in portfolio optimization. Their universal speedup ensures the quantum algorithm remains efficient even on the "easy" instances where a worst-case algorithm would be overkill.

Limitations and Future Work

  • Hardware Requirements: Like most algorithms offering quadratic speedups (e.g., Grover’s), this requires a large-scale, fault-tolerant quantum computer, which does not yet exist.
  • The Depth Factor ($d$): While $d$ is usually small, if a specific problem or heuristic results in a very deep, narrow tree where $d \approx Q$, the quantum advantage disappears.
  • Global Cutting Planes: While the paper incorporates them, the complexity has a linear dependence on the number of global cuts ($p$). If a solver uses an astronomical number of global cuts, the speedup could be mitigated.
  • Future Direction: The authors suggest exploring whether quantum-specific heuristics (rather than just speeding up classical ones) could yield even higher speedups.

Summary updated

Abstract

Mixed Integer Programs (MIPs) model many optimization problems of interest in Computer Science, Operations Research, and Financial Engineering. Solving MIPs is NP-Hard in general, but several solvers have found success in obtaining near-optimal solutions for problems of intermediate size. Branch-and-Cut algorithms, which combine Branch-and-Bound logic with cutting-plane routines, are at the core of modern MIP solvers. Montanaro proposed a quantum algorithm with a near-quadratic speedup compared to classical Branch-and-Bound algorithms in the worst case, when every optimal solution is desired. In practice, however, a near-optimal solution is satisfactory, and by leveraging tree-search heuristics to search only a portion of the solution tree, classical algorithms can perform much better than the worst-case guarantee. In this paper, we propose a quantum algorithm, Incremental-Quantum-Branch-and-Bound, with universal near-quadratic speedup over classical Branch-and-Bound algorithms for every input, i.e., if classical Branch-and-Bound has complexity $Q$ on an instance that leads to solution depth $d$, Incremental-Quantum-Branch-and-Bound offers the same guarantees with a complexity of $\tilde{O}(\sqrt{Q}d)$. Our results are valid for a wide variety of search heuristics, including depth-based, cost-based, and $A^{\ast}$ heuristics. Universal speedups are also obtained for Branch-and-Cut as well as heuristic tree search. Our algorithms are directly comparable to commercial MIP solvers, and guarantee near quadratic speedup whenever $Q \gg d$. We use numerical simulation to verify that $Q \gg d$ for typical instances of the Sherrington-Kirkpatrick model, Maximum Independent Set, and Portfolio Optimization; as well as to extrapolate the dependence of $Q$ on input size parameters. This allows us to project the typical performance of our quantum algorithms for these important problems.
BibTeX
@misc{chakrabarti2022universal,
  author = {Shouvanik Chakrabarti and Pierre Minssen and Romina Yalovetzky and Marco Pistoia},
  title = {{Universal Quantum Speedup for Branch-and-Bound, Branch-and-Cut, and Tree-Search Algorithms}},
  year = {2022},
  eprint = {2210.03210},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.03210},
}
Figure