A hybrid quantum-classical neural network for learning to route
We study hybrid quantum-classical neural networks for learning routing heuris-tics. Specifically, we ask whether small quantum neural networks can replace parameter-heavy modules inside a well-established attention-based routing model while maintaining solution quality. We consider the capacitated vehicle routing problem (CVRP) and its variant with time windows (CVRPTW), evaluating instances with 10 to 100 customers. We investigate four-qubit quantum neu-ral networks (QNNs) as replacements for encoder feed-forward modules and attention output projections, comparing them against width-matched classical bottlenecks. For these problems, encoder feed-forward replacement emerges as the most promising design, reducing the number of model parameters by 56.6% relative to the original classical architecture. Across matched comparisons, the QNN bottlenecks retain solution quality close to their classical counterparts, with differences in mean route length of approximately 0.5% or less under feed-forward replacement. Replacing the attention output projections as well increases parameter reduction to 63.2%, but leads to larger performance gaps for larger instances. The QNNs do not systematically outperform the classical controls. These results 1 identify encoder feed-forward replacement as a viable hybrid-module compression strategy for neural combinatorial optimization, without demonstrating a quantum-specific advantage.
Authors
- Marcus Ritt (ORCID: https://orcid.org/0000-0001-7894-1634)
- Cesar Augusto do Amaral (ORCID: https://orcid.org/0000-0002-5450-9422)
- Fernando Augusto Caletti de Barros (ORCID: https://orcid.org/0009-0008-5152-7036)
- Marcos Vinicius Reballo (ORCID: https://orcid.org/0009-0003-6396-9302)
- Alexsandro Santos da Rosa Júnior
Institutions
- Universidade Federal do Rio Grande do Sul (BR)
- Universidade Federal de Santa Catarina (BR)
- Instituto de Pesquisas Eldorado (BR)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-23
- DOI
- https://doi.org/10.21203/rs.3.rs-11538593/v1
- Citations
- 1
- Primary Topic
- Quantum Computing Algorithms and Architecture
- Type
- preprint
Funders
- Ministério da Ciência, Tecnologia e Inovação