Open Access iconOpen Access

ARTICLE

QIMIG: A Quantum-Inspired Evolutionary Framework for Software Library Migration

Yun Liu1, Jinghua Zhao1, Liang Ma1, Zijie Huang2,3,*, Lizhi Cai2,3, Jianxin Ge2,3

1 School of Management, University of Shanghai for Science and Technology, Shanghai, China
2 Shanghai Key Laboratory of Computer Software Testing & Evaluating, Shanghai, China
3 Shanghai Development Center of Computer Software Technology, Shanghai, China

* Corresponding Author: Zijie Huang. Email: email

Computers, Materials & Continua 2026, 88(3), 32 https://doi.org/10.32604/cmc.2026.084179

Abstract

Automated library migration reduces refactoring costs but challenges traditional evolutionary algorithms, which often suffer from premature convergence and poor recall in sparse, complex API mapping spaces. To address this, we propose QIMIG, a multi-objective optimization framework integrating quantum-inspired encoding with quality-aware and greedy heuristic filtering. QIMIG utilizes a probabilistic Q-bit representation to maintain population diversity and avoid local optima. Simultaneously, its heuristic components leverage historical usage context to filter semantic noise and guide the search toward valid mappings. Evaluated on 9 real-world migration rules derived from 57,447 open-source projects, QIMIG statistically significantly outperforms state-of-the-art baselines such as UNSGA-III. The framework achieves a global mean F1-score of 0.92, exceeding the best-performing baseline by an absolute margin of 0.05, and demonstrates strong stability in resolving complex mapping structures.

Keywords

Library migration; API mapping; search-based software engineering; quantum-inspired evolutionary algorithm; multi-objective optimization

Cite This Article

APA Style
Liu, Y., Zhao, J., Ma, L., Huang, Z., Cai, L. et al. (2026). QIMIG: A Quantum-Inspired Evolutionary Framework for Software Library Migration. Computers, Materials & Continua, 88(3), 32. https://doi.org/10.32604/cmc.2026.084179
Vancouver Style
Liu Y, Zhao J, Ma L, Huang Z, Cai L, Ge J. QIMIG: A Quantum-Inspired Evolutionary Framework for Software Library Migration. Comput Mater Contin. 2026;88(3):32. https://doi.org/10.32604/cmc.2026.084179
IEEE Style
Y. Liu, J. Zhao, L. Ma, Z. Huang, L. Cai, and J. Ge, “QIMIG: A Quantum-Inspired Evolutionary Framework for Software Library Migration,” Comput. Mater. Contin., vol. 88, no. 3, pp. 32, 2026. https://doi.org/10.32604/cmc.2026.084179



cc Copyright © 2026 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 303

    View

  • 65

    Download

  • 0

    Like

Share Link