Papers
Topics
Authors
Recent
Search
2000 character limit reached

Towards Implementable Quantum Divide and Conquer: A TSP Solver with Improved Exponential Base over Held-Karp

Published 5 Jun 2026 in quant-ph and cs.CC | (2606.07322v1)

Abstract: The traveling salesman problem (TSP) is a significant classical NP-hard combinatorial optimization problem. In this work, we demonstrate that combining classical dynamic programming with quantum search can yield an achievable quantum advantage for TSP on the basis of excellent work by the authors of~\cite{ambainis2019quantum}. We design the quantum divide and conquer strategy to provide a parameterized spectrum for this combination. The hybrid algorithm proposed in~\cite{ambainis2019quantum} corresponds to a specific case in this spectrum, while the two extremes of the spectrum represent the purely classical Held-Karp and the purely quantum search algorithm, respectively. Within our parameterized spectrum, we prove that the optimal query complexity is $O*(1.865666\ldotsn)$, achieved with the 4-subset scheme, while the counting in~\cite{ambainis2019quantum} overlooked half of the recursive branches. The correct query complexity of their algorithm is $O*(2.225880\ldotsn)$ at their chosen parameter ($α\approx0.055362$), and cannot fall below $O*(2n)$ for any $α$ - meaning their $8$-subset scheme, correctly analyzed, never surpasses the classical Held-Karp bound. Furthermore, in previous studies on quantum advantages for NP-hard combinatorial optimization problems, researchers focused only on improvements in query complexity. Our work, however, points out that the quantum advantage stems not only from the quadratic speedup of quantum search but also from the structured quantum state preparation. We argue that structured state preparation is indispensable for realizing the oracle operator while maintaining the total time complexity of $O*(1.865666\ldotsn)$. Therefore, we design an elegant method for preparing the set partition state, which makes our TSP solver practically executable.

Authors (3)

Summary

  • The paper introduces a quantum divide-and-conquer framework for TSP that corrects previous enumeration errors and achieves a query complexity of O*(1.865666^n).
  • It employs ordered set partition state preparation combined with polynomial-depth oracle queries to efficiently assemble and evaluate Hamiltonian cycles.
  • Experimental simulations on small TSP instances demonstrate high accuracy, indicating a practical pathway toward quantum speedups in NP-hard problems.

Quantum Divide-and-Conquer for TSP: Algorithmic, Complexity, and Implementational Advances

Introduction and Context

The traveling salesman problem (TSP) is a central combinatorial optimization task with strong relevance to algorithm design, complexity theory, and quantum computing. Dynamic programming, notably the Held-Karp algorithm with complexity O(n22n)O(n^2 2^n), sets the classical gold standard for exact TSP solutions via exponential-time dynamic programming. Quantum algorithms, prominently those employing Grover search and quantum minimum finding, have held promise for surpassing these classical exponential regimes by leveraging coherent quantum walks, amplitude amplification, and hybrid recursive schemes.

This paper presents a critical reassessment and significant advance over prior quantum algorithms for exponential-time dynamic programming on TSP, specifically those based on the approach of Ambainis et al. ("Quantum speedups for exponential-time dynamic programming algorithms" [ambainis2019quantum]). The authors rigorously identify an error in the solution space enumeration of the previous quantum TSP approach, formally prove a corrected exponent, and construct a quantum divide-and-conquer (QDC) framework using optimal ordered set partitioning. The result is a TSP quantum algorithm with query complexity O∗(1.865666…n)O^*(1.865666\dots^n), a true exponential improvement over the classical Held-Karp bound of O∗(2n)O^*(2^n).

Quantum Divide-and-Conquer: Framework and Correctness

The QDC framework generalizes both Held-Karp's recursive dynamic programming and quantum search-based global minimum finding as parameter extremes on a spectrum. The hybrid algorithms interpolate between these extremes via parameterizing the number kk of subsets in which the node set is partitioned. Notably:

  • Formulation: The algorithm partitions the full node set into kk ordered disjoint subsets of specified sizes, computes all intra-subset shortest paths using classical DP (on subsets of size up to m1m_1), and uses quantum minimum search over all ways to concatenate these paths into a valid Hamiltonian cycle.
  • Reduction to Ordered Partition Superposition: Quantum advantage is achieved by preparing a uniform superposition state over all ordered kk-partitions with labeled origin/end pairs per subset, enabling efficient, parallelizable quantum search.
  • Generalization: The cases k=2k=2 (classical dynamic programming) and k=nk=n (direct quantum search over all permutations) form the extremal points; the optimal value k∗=4k^*=4 balances the quantum/classical recursion tradeoff for minimum exponent. Figure 1

    Figure 1: The framework of the TSP quantum solver: index register encodes set partition states, while value registers enable controlled evaluation of Hamiltonian cycle costs via superposition.

Mathematical Correction: The authors expose a miscount in the recursive solution space in prior work [ambainis2019quantum]. Specifically, the previous approach underestimated the number of valid recursive branches when using higher-order subset schemes (e.g., O∗(1.865666…n)O^*(1.865666\dots^n)0). The corrected enumeration doubles certain factors, resulting in a higher exponent and, crucially, demonstrates that the claimed previous bound (O∗(1.865666…n)O^*(1.865666\dots^n)1) is unattainable—the actual complexity with correct accounting is O∗(1.865666…n)O^*(1.865666\dots^n)2, which fails to beat the O∗(1.865666…n)O^*(1.865666\dots^n)3 Held-Karp baseline. Figure 2

Figure 2: Recursive tree structure of the quantum DP TSP algorithm; each layer encodes increasingly refined set partitions.

Ordered Set Partition State Preparation

A core technical contribution is an efficient and scalable quantum circuit to prepare the uniform superposition (the "set partition state") over all ordered O∗(1.865666…n)O^*(1.865666\dots^n)4-partitions with labeled origins/ends. The method extends deterministic Dicke state preparation to the full encoding of subset labels, allowing for:

  • Polynomial (O∗(1.865666…n)O^*(1.865666\dots^n)5 gates, O∗(1.865666…n)O^*(1.865666\dots^n)6 depth) resource requirements for state preparation, even without ancillas.
  • Efficient retrieval of classical DP-computed shortest-path values via quantum oracles, structured to exploit the partition labels and origins/ends.
  • Bypassing the need for unwieldy oracles that would otherwise require exponential classical preprocessing or complicated bijections from indices to combinatorial structures. Figure 3

    Figure 3: Quantum circuit for preparing the Dicke state O∗(1.865666…n)O^*(1.865666\dots^n)7, a building block for set partition encodings.

    Figure 4

    Figure 4: Binary tree produced in preparing an ordered O∗(1.865666…n)O^*(1.865666\dots^n)8-partition state; each path encodes a valid assignment of vertices to subsets with origin/end labeling.

The explicit encoding of combinatorial structure into the quantum state is essential to prevent the classical preprocessing required for quantum RAM (QRAM) based oracles from overwhelming the overall time complexity, a limitation of trivial O∗(1.865666…n)O^*(1.865666\dots^n)9-gate-based uniform superpositions.

Oracle Implementation and Query Complexity

Sparse Boolean Memory (SBM): Oracle queries utilize a classical table of shortest-path weights (precomputed via DP for subsets up to O∗(2n)O^*(2^n)0 nodes), with SBM providing the mechanism to query combinatorially-structured functions in depth O∗(2n)O^*(2^n)1. Although the oracle as a whole requires exponential qubit and gate resources due to the complexity of the SBM, the per-query circuit depth is polynomial, and the overall query complexity in the optimal regime dominated by quantum search is strictly O∗(2n)O^*(2^n)2 for O∗(2n)O^*(2^n)3, O∗(2n)O^*(2^n)4.

Query Complexity Summary: The table below summarizes key numerical results; the bold line highlights the new result that achieves the true quantum exponential gain.

Algorithm Query Complexity Base O∗(2n)O^*(2^n)5
Held-Karp (classical) O∗(2n)O^*(2^n)6 O∗(2n)O^*(2^n)7
Ambainis et al. (claimed) O∗(2n)O^*(2^n)8 O∗(2n)O^*(2^n)9
Ambainis et al. (corrected) kk0 kk1
This work (kk2 optimal) kk3 1.865666...n

Tightness of the Tradeoff: As kk4 increases, classical precomputation cost falls, but the quantum search space grows combinatorially. Beyond kk5, the advantage is lost to exponential partition proliferation; kk6 is nearly as performant numerically, potentially preferable for small kk7.

Experimental Demonstration

The authors validate the implementability of the QDC TSP algorithm via IBM Qiskit simulation experiments on small kk8. Circuit-level simulations demonstrate high accuracy in recovering optimal TSP tours, using the described set partition state encodings, and the feasibility of marking optimal solutions via thresholded cost oracles employing QFT-based arithmetic. Figure 5

Figure 5

Figure 5: Simulation results for a 6-node graph using the ordered kk9-partition variant of the quantum TSP solver, showing frequency of optimal tour recovery.

Practical and Theoretical Implications

Extending Quantum Speedups for Combinatorial Search: The QDC approach provides a principled template for attacking other exponential-time combinatorial problems by tightly integrating classical recursion/decomposition with structured quantum state preparation and search.

Necessity of Structured State Preparation: The explicit analysis here illustrates that quantum advantage for such problems is fundamentally nontrivial: achieving true time complexity improvement necessitates both quadratic search speedup and careful exploitation of structured state preparation; otherwise, the classical overhead can negate asymptotic quantum advantages. Figure 6

Figure 6: Address transmission schematic for a single vertex in the set partition encoding, demonstrating how subset assignment and origin/end markers are encoded and used for oracle data access.

Conclusion

This work firmly establishes a new quantum query complexity bound for TSP, identifies and formally corrects prior enumeration errors, and presents a highly implementable framework leveraging divide-and-conquer, combinatorial state encoding, and polynomial-depth oracles. It moves the field toward genuinely practical quantum exponential-time algorithms, revealing that the path to quantum advantage in combinatorial optimization is subtler than simply invoking quantum unstructured search. It highlights structured state preparation as central to quantum algorithmic design for NP-hard problems and sets a foundation for exploring similar techniques in scheduling, graph problems, and beyond.

While exponential quantum resource requirements remain a practical barrier for large kk0, the principles and constructions here offer clear direction for future algorithmic and hardware developments. Possible avenues include exploring hybrid classical-quantum recursion strategies for other problems, optimizing state preparation for more general combinatorial objects, and further reducing circuit depth and ancillary overhead via advanced compilation or hardware-aware methods.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 2 tweets with 2 likes about this paper.