[Paper Review] Efficient quantum algorithm for solving travelling salesman problem: An IBM quantum experience
This paper proposes a quantum algorithm for the NP-hard Travelling Salesman Problem (TSP) using phase estimation and quantum search, encoding city-to-city distances as quantum phases to enable unitary operations. It achieves a quadratic speedup over classical brute-force methods by estimating phases corresponding to all possible routes and using amplitude amplification to find the minimum-cost Hamiltonian cycle, demonstrated via simulation on IBM Quantum Experience for a 4-city instance.
The famous Travelling Salesman Problem (TSP) is an important category of optimization problems that is mostly encountered in various areas of science and engineering. Studying optimization problems motivates to develop advanced techniques more suited to contemporary practical problems. Among those, especially the NP hard problems provide an apt platform to demonstrate supremacy of quantum over classical technologies in terms of resources and time. TSP is one such NP hard problem in combinatorial optimization which takes exponential time order for solving by brute force method. Here we propose a quantum algorithm to solve the travelling salesman problem using phase estimation technique. We approach the problem by encoding the given distances between the cities as phases. We construct unitary operators whose eigenvectors are the computational basis states and eigenvalues are various combinations of these phases. Then we apply phase estimation algorithm to certain eigenstates which give us all the total distances possible for all the routes. After obtaining the distances we can search through this information using the quantum search algorithm for finding the minimum to find the least possible distance as well the route taken. This provides us a quadratic speedup over the classical brute force method for a large number of cities. In this paper, we illustrate an example of the travelling salesman problem by taking four cities and present the results by simulating the codes in the IBM's quantum simulator.
Motivation & Objective
- To develop a quantum algorithm that efficiently solves the NP-hard Travelling Salesman Problem (TSP) using quantum phase estimation and amplitude amplification.
- To encode inter-city distances as quantum phases to enable unitary evolution and phase estimation on a quantum computer.
- To achieve a quadratic speedup over classical brute-force methods for finding the optimal TSP route.
- To demonstrate the feasibility of the algorithm through simulation on IBM Quantum Experience using a 4-city example.
Proposed method
- Encode the TSP distance matrix into a unitary matrix by mapping each distance $\phi_{ij}$ to a phase $e^{i\phi_{ij}}$, forming a unitary operator $B$.
- Construct a controlled-unitary operation $C-U$ that applies phase shifts corresponding to a specific route, with the eigenstate encoding the route sequence.
- Use the Quantum Phase Estimation (QPE) algorithm to estimate the phase of the eigenstate corresponding to a given route, where the phase encodes the total route cost.
- Apply the inverse Quantum Fourier Transform (QFT) to extract the phase information, which corresponds to the total distance of the route.
- Use the Dürr and Hoyer quantum search algorithm to find the minimum phase (i.e., minimum total distance) among all $ (N-1)! $ possible routes.
- Simulate the full circuit on IBM Quantum Experience using a custom topology and QASM code for a 4-city TSP instance.
Experimental results
Research questions
- RQ1Can a quantum algorithm based on phase estimation and amplitude amplification solve the TSP with a quadratic speedup over classical brute-force search?
- RQ2How can non-unitary distance matrices be encoded into quantum phases to enable unitary evolution for TSP routing?
- RQ3What is the role of eigenstates in representing Hamiltonian cycles in the quantum circuit for TSP?
- RQ4How does the algorithm scale in terms of circuit depth and qubit requirements for larger TSP instances?
- RQ5Can the algorithm be implemented and verified on near-term quantum hardware such as IBM Quantum processors?
Key findings
- The algorithm achieves a quadratic speedup over classical brute-force search for finding the minimum TSP route, scaling as $ O(\sqrt{(N-1)!}) $ for $ N $ cities.
- For a 4-city TSP instance, the quantum circuit was successfully simulated on IBM Quantum Experience using 14 qubits and custom unitary subroutines.
- The phase estimation process correctly encoded the total route cost as a phase, which was extracted via inverse QFT and measured.
- The use of phases to represent distances enabled unitary operations, overcoming the non-unitarity of classical distance matrices.
- The algorithm remains valid without restrictive assumptions on the TSP instance, such as symmetry or bounded degree.
- The simulation demonstrated that the full circuit, including controlled unitaries and QPE, can be implemented using standard quantum gates and IBM’s custom topology.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.