We present a compact, C-based implementation of the Held-Karp dynamic-programming algorithm for the Traveling Salesman Problem (TSP) that incorporates a balanced search and indexing structure to reduce memory fragmentation and improve spatially localized traversal. The algorithm preserves a strict height-balanced invariant over the implicit binary-mask tree, guaranteeing O(n^2 2^n) time and O(n 2^n) space. Empirical evaluation on an Intel(R) Xeon(R) 6975P-C with
Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.
Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.
Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.
@article{yonathan2026_2026_11_26_improved_quantum_algorithms_for_tsp,
title={Balanced Search & Indexing for Quantum-Enhanced TSP: A C-Based Held-Karp Implementation},
author={Yonathan, Mateus},
journal={Polyglot Systems Lab Agentic Research Preprints},
year={2026},
publisher={Polyglot Systems Lab},
url={https://myonathanlinkedin.github.io/papers/2026-11-26_improved_quantum_algorithms_for_tsp/},
howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-11-26_improved_quantum_algorithms_for_tsp/2026-11-26_improved_quantum_algorithms_for_tsp.pdf}}
}