Skip to main content
QUICK REVIEW

[Paper Review] A Realizable GAS-based Quantum Algorithm for Traveling Salesman Problem

Jieao Zhu, Yihuai Gao|arXiv (Cornell University)|Dec 6, 2022
Quantum Computing Algorithms and ArchitectureComputer Science9 citations
TL;DR

This paper presents a realizable Grover Adaptive Search (GAS)-based quantum algorithm for the Traveling Salesman Problem (TSP) that ensures feasible solutions and reduces qubit usage. By introducing a novel Hamiltonian Cycle Detection (HCD) oracle based on a proven Cycle Determination Theorem and an anchor register strategy, the authors achieve 86.71% success in finding the optimal solution for a 7-node TSP using only 31 qubits on IBM’s Qiskit platform.

ABSTRACT

The paper proposes a quantum algorithm for the traveling salesman problem (TSP) based on the Grover Adaptive Search (GAS), which can be successfully executed on IBM's Qiskit library. Under the GAS framework, there are at least two fundamental difficulties that limit the application of quantum algorithms for combinatorial optimization problems. One difficulty is that the solutions given by the quantum algorithms may not be feasible. The other difficulty is that the number of qubits of current quantum computers is still very limited, and it cannot meet the minimum requirements for the number of qubits required by the algorithm. In response to the above difficulties, we designed and improved the Hamiltonian Cycle Detection (HCD) oracle based on mathematical theorems. It can automatically eliminate infeasible solutions during the execution of the algorithm. On the other hand, we design an anchor register strategy to save the usage of qubits. The strategy fully considers the reversibility requirement of quantum computing, overcoming the difficulty that the used qubits cannot be simply overwritten or released. As a result, we successfully implemented the numerical solution to TSP on IBM's Qiskit. For the seven-node TSP, we only need 31 qubits, and the success rate in obtaining the optimal solution is 86.71%.

Motivation & Objective

  • To address the two major challenges in applying quantum algorithms to combinatorial optimization: infeasible solutions and high qubit requirements.
  • To develop a practical, realizable quantum algorithm for the NP-hard Traveling Salesman Problem (TSP) that can be executed on near-term quantum hardware.
  • To ensure the algorithm produces only valid Hamiltonian cycles without relying on precomputed legal tours.
  • To minimize qubit usage through a reversible anchor register strategy that avoids qubit overwriting or release issues.
  • To demonstrate a working, numerically validated implementation of a quantum TSP solver on IBM’s Qiskit platform.

Proposed method

  • Proposed a Cycle Determination Theorem to mathematically transform Hamiltonian cycle validation into a testable quantum circuit problem.
  • Designed an improved HCD oracle using the Cycle Determination Theorem to detect valid cycles with fewer quantum circuit layers and qubits.
  • Introduced an anchor register strategy to preserve qubit reversibility and reduce total qubit count by reusing ancillary qubits efficiently.
  • Implemented a quantum-addressed multiplexer using Gray code traversal to reduce the number of Toffoli gates from $\mathcal{O}(2^n)$ to $\mathcal{O}(2^n)$, achieving linear gate scaling.
  • Integrated the HCD oracle and cost comparison into the Grover Adaptive Search framework with controlled phase marking and uncomputation steps to maintain coherence.
  • Used a phase estimation-like structure with a controlled-U operation and inverse quantum Fourier transform to estimate tour costs and apply threshold filtering.

Experimental results

Research questions

  • RQ1Can a quantum algorithm for TSP be designed to guarantee only feasible (Hamiltonian) tours without pre-filtering all legal cycles?
  • RQ2How can qubit overhead be minimized in a reversible quantum computation framework for combinatorial optimization?
  • RQ3Can the Grover Adaptive Search framework be successfully adapted to TSP with high success probability on current NISQ devices?
  • RQ4What is the minimal qubit count required to implement a functional, error-resilient TSP solver on real quantum hardware?
  • RQ5Can a fully automated, self-validating quantum circuit detect and exclude illegal tours during the search process?

Key findings

  • The proposed HCD oracle successfully eliminates infeasible solutions during the quantum search by leveraging the Cycle Determination Theorem, ensuring only valid Hamiltonian cycles are considered.
  • For a 7-node TSP instance, the algorithm achieved a 86.71% success rate in measuring the optimal solution using only 31 qubits.
  • The anchor register strategy reduced qubit usage by enabling reversible reuse of ancillary qubits, overcoming the limitation of non-reusable qubits in quantum circuits.
  • The quantum-addressed multiplexer design reduced the number of Toffoli gates from exponential to linear in the number of input states, improving scalability.
  • The algorithm was successfully implemented and tested on IBM’s Qiskit platform, demonstrating feasibility on real quantum hardware.
  • The method avoids the need to precompute all valid Hamiltonian cycles—a task that is itself NP-hard—by embedding cycle validation directly into the quantum circuit.

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.