Code generation for classical-quantum software systems modeled in UML

Quantum computing is gaining an increasing interest since it can solve certain problems exponentially faster than classical computing. Thus, many organizations are researching and launching investments for integrating quantum software into their existing systems. Software modernization (as based on...

Descripción completa

Detalles Bibliográficos
Autores: Jiménez Navajas, Luis, Pérez del Castillo, Ricardo, Piattini Velthuis, Mario Gerardo
Tipo de recurso: artículo
Fecha de publicación:2025
País:España
Institución:Universidad de Castilla-La Mancha
Repositorio:RUIdeRA. Repositorio Institucional de la UCLM
OAI Identifier:oai:ruidera.uclm.es:10578/45996
Acceso en línea:https://doi.org/10.1007/s10270-024-01259-w
https://link.springer.com/article/10.1007/s10270-024-01259-w
https://hdl.handle.net/10578/45996
Access Level:acceso abierto
Palabra clave:Code generation
EGL
MDE
Quantum software
UML
Descripción
Sumario:Quantum computing is gaining an increasing interest since it can solve certain problems exponentially faster than classical computing. Thus, many organizations are researching and launching investments for integrating quantum software into their existing systems. Software modernization (as based on Model-Driven Engineering) has been proposed to migrate from/to the so-called hybrid software systems, which integrate classical and quantum software. In that process, both, reverse engineering and restructuring phases, have already been investigated. However, forward engineering phase for generating hybrid source code from high-level design models has not yet been addressed. Thus, this research proposes a quantum code generation technique from extended UML design models. It consists of a set of Model-to-Text transformations (defined through Epsilon Generation Language) to generate both Python and Qiskit code, which, respectively, integrate classical and quantum code. The transformation has been validated through a multi-case study with 7 hybrid software systems modeled in UML, which demonstrated that the transformation is effective and efficient. The implication of this work is that the software modernization process for hybrid software systems can be completed by tackling forward engineering phase, and that Model-Driven Engineering can therefore globally facilitate industry adoption of quantum software.