Resource-efficient variational quantum solver for the travelling salesman problem and its silicon photonics implementation
Alessio Baldazzi, Stefano Azzini, Lorenzo Pavesi
TL;DR
This work introduces a resource-efficient variational quantum algorithm for the traveling salesman problem (TSP) that uses two maximally entangled registers, encoding routes in a correlation matrix $X$ and requiring only $2\,\lceil\log_2 N\rceil$ qubits. The algorithm forms a quantum route adjacency matrix via $X_{ij}(\boldsymbol{\alpha})=2^n\mathrm{Tr}[\rho(\boldsymbol{\alpha})\hat{P}_{ij}]$, which is doubly-stochastic and combined with subtour-elimination yields a convex-cost function $C(\boldsymbol{\alpha})=\sum_{ij} D_{ij} X_{ij}(\boldsymbol{\alpha}) - A_{\rm sub}\sum_{S} \sum_{i\in S} \sum_{j\notin S}X_{ij}(\boldsymbol{\alpha})$. This formulation leverages the Birkhoff–von Neumann decomposition to interpret $X$ as a convex combination of permutation matrices, enabling direct optimization over feasible routes. The authors validate the approach experimentally by solving four-city TSPs on a room-temperature silicon photonic integrated circuit, mapping departure/arrival indices to path-encoded qudits and reconstructing $X$ from coincidence measurements (with observed overlaps to optimal routes around 90–95%). The work demonstrates a promising, qubit-efficient path for near-term quantum devices to tackle NP-hard combinatorial problems while highlighting current limitations in optimization convergence and subtour-term scaling, and it discusses prospects for scalability with modular photonic architectures.
Abstract
The travelling salesman problem is a well-known example of computationally-hard combinatorial problem for classical machines. Here, we propose a novel variational quantum algorithm to solve it. The method is based on the preparation of two maximally entangled quantum registers whose correlations are assigned to different paths between pairs of cities. For $N$ cities, this encoding requires $2 \lceil\log_2 N\rceil$ qubits and the solution to the problem is directly found in the correlation matrix of the two registers composing the overall trial state. As a proof-of-concept experiment, we implement this algorithm for generic problems with four cities on a reconfigurable room-temperature silicon photonic circuit with integrated photon-pair sources, used to initialize maximally entangled path-encoded single-photon states.
