Probabilistic greedy algorithm solver using magnetic tunneling junctions for traveling salesman problem
Combinatorial optimization underpins applications in artificial intelligence, logistics, and network design, yet classical techniques such as greedy search and dynamic programming struggle to balance efficiency and solution quality at scale. We present a probabilistic framework that embeds true random number generators based on spin-transfer-torque magnetic tunnel junctions into a greedy solver. Intrinsic stochastic switching enables configurable random number distributions, which we use to inject controlled randomness via a temperature parameter that interpolates between deterministic and stochastic choices, balancing exploration and exploitation. Applied to the traveling salesman problem, the framework yields high-quality tours and outperforms simulated annealing and genetic algorithms in solution quality and convergence speed. In larger instances with up to 70 cities, it maintains its advantage, reaching near-optimal solutions with fewer iterations and reduced computational cost. These results show that hardware true randomness with tunable statistics can improve heuristic search and motivate integrated, energy-efficient probabilistic hardware for scalable optimization.
Authors
- Shiqiang Liu (ORCID: https://orcid.org/0009-0001-5415-4705)
- Xiufeng Han (ORCID: https://orcid.org/0000-0001-8053-793X)
- Caihua Wan (ORCID: https://orcid.org/0000-0002-5456-1052)
- Meike Hindenberg (ORCID: https://orcid.org/0009-0006-7863-6043)
- Alptekin Vardar (ORCID: https://orcid.org/0009-0004-0629-0325)
- Raik Hoffmann (ORCID: https://orcid.org/0009-0007-9464-6185)
- Yihui Sun (ORCID: https://orcid.org/0009-0000-5507-9105)
- Thomas Kämpfe (ORCID: https://orcid.org/0000-0002-4672-8676)
- Guoqiang Yu (ORCID: https://orcid.org/0000-0002-7439-6920)
- Shikun He (ORCID: https://orcid.org/0000-0003-0351-2485)
- Zejie Zheng (ORCID: https://orcid.org/0000-0001-7917-0077)
- Yingqian Xu (ORCID: https://orcid.org/0009-0001-3771-0255)
- Qiang Dai (ORCID: https://orcid.org/0000-0002-3007-9149)
- Shilong Xiong (ORCID: https://orcid.org/0009-0002-2238-6509)
- Ran Zhang (ORCID: https://orcid.org/0000-0001-5711-6475)
- Xiaohan Li (ORCID: https://orcid.org/0000-0001-9311-6253)
- Junlu Gong
- Dehao Kong (ORCID: https://orcid.org/0009-0009-1013-4268)
Institutions
- Chinese Academy of Sciences (CN)
- Fraunhofer Institute for Photonic Microsystems (DE)
- Songshan Lake Materials Laboratory (CN)
- FZU ‒ Institute of Physics of the Academy of Sciences of the Czech Republic (CZ)
- Fraunhofer Institute for Surface Engineering and Thin Films (DE)
- Institute of Physics (CN)
- Zhejiang Medicine (China) (CN)
- National Laboratory for Superconductivity (CN)
- University of Chinese Academy of Sciences (CN)
- Technische Universität Braunschweig (DE)
Publication Details
- Journal
- Nature Communications
- Published
- 2025-12-04
- DOI
- https://doi.org/10.1038/s41467-025-66864-9
- Citations
- 1
- Primary Topic
- Quantum Computing Algorithms and Architecture
- Type
- article
- Field-Weighted Citation Impact
- 2.48
Funders
- National Natural Science Foundation of China
- Chinese Academy of Sciences
- Youth Innovation Promotion Association of the Chinese Academy of Sciences
- National Key Research and Development Program of China
- Youth Innovation Promotion Association