This project addresses the challenge of designing and optimizing quantum circuits by applying search-based software engineering techniques, particularly multi-objective genetic programming and model-driven optimization. The goal is to automate the synthesis and improvement of quantum programs, making quantum software development more accessible to developers without deep quantum expertise. We tackle two key challenges: (1) debugging quantum programs where traditional techniques fail due to state collapse during measurement, and (2) optimizing quantum circuits for NISQ-era devices with limited computational capacity, requiring trade-offs between accuracy and efficiency.
Concrete Outcomes
GeQuPI (Genetic Quantum Program Improver)
A quantum program improvement framework that uses multi-objective genetic programming hybridized with quantum-aware optimizers to automatically debug and optimize quantum circuits. Evaluated on 47 quantum programs from literature and open-source libraries, achieving average optimization improvements of 35% in computational cost while successfully correcting faulty programs and generating Pareto-optimal solutions.
Hybrid Parameterized Operator Synthesis
A hybrid approach for parameterized quantum circuits that combines genetic programming for circuit structure discovery with numerical parameter optimization for fine-tuning, balancing fidelity and circuit depth in multi-objective optimization.
Processing quantum information poses novel challenges regarding the debugging of faulty quantum programs. Notably, the lack of accessible information on intermediate states during quantum processing, renders traditional debugging techniques infeasible. Moreover, even correct quantum programs might not be processable, as current quantum computers are limited in computation capacity. Thus, quantum program developers have to consider trade-offs between accuracy (i.e., probabilistically correct functionality) and computational cost of the proposed solutions. Manually finding sufficiently accurate and efficient solutions is a challenging task, even for quantum computing experts. To tackle these challenges, we propose a quantum program improvement framework for an automated generation of accurate and efficient solutions, coined Genetic Quantum Program Improver (GeQuPI). In particular, we focus on the tasks of debugging and optimization of quantum programs. Our framework uses techniques from quantum information theory and applies multi-objective genetic programming, which can be further hybridized with quantum-aware optimizers. To demonstrate the benefits of GeQuPI, it is applied to 47 quantum programs reused from literature and openly published libraries. The results show that our approach is capable of correcting faulty programs and optimize inefficient ones for the majority of the studied cases, showing average optimizations of 35% with respect to computational cost.
@article{GEMEINHARDT2025112223,title={{GeQuPI}: Quantum Program Improvement with Multi-Objective Genetic Programming},journal={Journal of Systems and Software},volume={219},pages={112223},year={2025},issn={0164-1212},doi={https://doi.org/10.1016/j.jss.2024.112223},url={https://www.sciencedirect.com/science/article/pii/S016412122400267X},author={Gemeinhardt, Felix and Klikovits, Stefan and Wimmer, Manuel},}
Model-Driven Optimization for Quantum Program Synthesis with MOMoT
In the realm of classical software engineering, model-driven optimization has been widely used for different problems such as (re)modularization of software systems. In this paper, we investigate how techniques from model-driven optimization can be applied in the context of quantum software engineering. In quantum computing, creating executable quantum programs is a highly non-trivial task which requires significant expert knowledge in quantum information theory and linear algebra. Although different approaches for automated quantum program synthesis exist—e.g., based on reinforcement learning and genetic programming—these approaches represent tailor-made solutions requiring dedicated encodings for quantum programs. This paper applies the existing model-driven optimization approach MOMoT to the problem of quantum program synthesis. We present the resulting platform for experimenting with quantum program synthesis and present a concrete demonstration for a well-known quantum algorithm.
@inproceedings{Klikovits:2023:MDEIntelligence,author={Gemeinhardt, Felix and Eisenberg, Martin and Klikovits, Stefan and Wimmer, Manuel},title={{Model-Driven Optimization for Quantum Program Synthesis with MOMoT}},booktitle={5th Workshop on Artificial Intelligence and Model-driven Engineering},year={2023},month=oct,doi={10.1109/MODELS-C59198.2023.00100},location={V\"{a}ster\aas, Sweden},}
Hybrid Multi-Objective Genetic Programming for Parameterized Quantum Operator Discovery
The processing of quantum information is defined by quantum circuits. For applications on current quantum devices, these are usually parameterized, i.e., they contain operations with variable parameters. The design of such quantum circuits and aggregated higher-level quantum operators is a challenging task which requires significant knowledge in quantum information theory, provided a polynomial-sized solution can be found analytically at all. Moreover, finding an accurate solution with low computational cost represents a significant trade-off, particularly for the current generation of quantum computers. To tackle these challenges, we propose a multi-objective genetic programming approach—hybridized with a numerical parameter optimizer—to automate the synthesis of parameterized quantum operators. To demonstrate the benefits of the proposed approach, it is applied to a quantum circuit of a hybrid quantum-classical algorithm, and then compared to an analytical solution as well as a non-hybrid version. The results show that, compared to the non-hybrid version, our method produces more diverse solutions and more accurate quantum operators which even reach the quality of the analytical baseline.
@inproceedings{10.1145/3583133.3590696,author={Gemeinhardt, Felix and Klikovits, Stefan and Wimmer, Manuel},title={Hybrid Multi-Objective Genetic Programming for Parameterized Quantum Operator Discovery},booktitle={Genetic and Evolutionary Computation Conference Companion (GECCO'23)},pages={795–798},numpages={4},date={2023-07},year={2023},month=jul,publisher={ACM},doi={10.1145/3583133.3590696},location={Lisbon, Portugal},series={GECCO '23 Companion},}