Traveling Salesman Problem from a Tensor Networks Perspective
Alejandro Mata Ali, Iñigo Perez Delgado, Aitor Moreno Fdez. de Leceta
TL;DR
This work introduces a quantum-inspired tensor-network algorithm for the Traveling Salesman Problem (TSP) that uses uniform superposition, imaginary time evolution, projection, and partial tracing to obtain approximate solutions with reduced cost. It extends the approach to generalized TSP variants (DNSNN, NMTSP, BTSP, PTSP, TSPP) and demonstrates a proof-of-concept on the ONCE Job Reassignment Problem, including an approximate, scalable option via constraint-layer reduction and MPS compression. The method relies on non-unitary operations and MPO-based constraint layers to enforce the one-visit-per-node rule and other problem-specific constraints, with a detailed contraction scheme and complexity analysis showing exponential scaling in the number of nodes, yet practical advantages through reuse and approximations. The results on industrially relevant instances indicate competitive performance against specialized hardware and highlight the framework's potential for hybrid classical-quantum or quantum-inspired optimization workflows.
Abstract
We present a novel quantum-inspired algorithm for solving the Traveling Salesman Problem (TSP) and some of its variations using tensor networks. This approach consists on the simulated initialization of a quantum system with superposition of all possible combinations, an imaginary time evolution, a projection, and lastly a partial trace to search for solutions. This is a heuristically approximable algorithm to obtain approximate solutions with a more affordable computational cost. We adapt it to different generalizations of the TSP and apply it to the job reassignment problem, a real productive industrial case.
