Grupo Alarcos · Conference paper · 2025

Dynamic Software Product Lines for Run-Time Adaptations in Quantum Software

Samuel Sepúlveda, Ricardo Pérez del Castillo, Mario Piattini Velthuis

QCE · 2025

Hybrid quantum-classical software systems are emerging as a practical means to exploit quantum computing within existing software stacks. However, such systems operate in highly dynamic environments, where quantum hardware fidelity, queue latency, and cloud costs fluctuate rapidly. Current Quantum Software Product Line (QSPL) approaches support design-time variability but lack mechanisms for run-time selfadaptation, limiting their applicability in operational contexts. This position paper aims to substantiate a Dynamic Software Product Line (DSPL) approach that enables run-time selfadaptation and automatic reconfiguration of hybrid quantumclassical software. The approach leverages solver-based multiobjective optimization to dynamically select configurations that balance fidelity, latency, and cost. We propose an explicit mapping of the DSPL components, run-time variability model, monitoring engine, and reconfiguration engine into the MAPE-K cycle. An illustrative scenario in the domain of logistics route optimization demonstrates the practical applicability of the approach. The example shows how the system continuously monitors operational metrics and adapts algorithm and back-end configurations to maintain service quality and cost-efficiency in response to environmental changes. The main implication of this work is that it serves as a preliminary foundation for run-time self-adaptation in hybrid quantum-classical software.

View on the group website DOI: 10.1109/QCE65121.2025.10312