Exploring design patterns in quantum software: a case study


연구 분야: Verification



학회: Computing


초록

Quantum computing holds great promise for solving complex problems that classical computing cannot address, with applications in various industries and sectors. However, developing efficient quantum software remains a challenge. Quantum software engineering (QSE) has emerged to address this, adapting classical software engineering practices for quantum systems. Design patterns, widely used in classical software, can provide reusable solutions for common quantum development issues, but their use in quantum software remains underexplored. This paper presents an empirical study investigating the use of design patterns in 2610 Qiskit programs from GitHub. Using the QCPD Tool to detect four design patterns (initialization, superposition, entanglement, and oracle) and QMetrics to compute software metrics, the study creates a dataset linking patterns with code characteristics. Three research questions guide the study: RQ1 examines the prevalence of design patterns in quantum software, RQ2 explores the relationship between design patterns and code metrics, and RQ3 analyzes the combinations of patterns that occur together. The findings provide insights into quantum software development, offering developers practical guidance on applying specific patterns. The results contribute to QSE by revealing key relationships between patterns and metrics, which can inform future research and tool development. These findings support improved performance, maintainability, and scalability, fostering the broader adoption of quantum computing.


Author Profile
Miriam Fernández-Osuna

Faculty of Social Sciences and Information Technologies University of Castilla-La Mancha Talavera de la Reina Spain

Andorra
Author Profile
Ricardo Pérez-Castillo

Faculty of Social Sciences and Information Technologies University of Castilla-La Mancha Talavera de la Reina Spain

Andorra
Author Profile
José A. Cruz-Lemus

Escuela Superior de Informática University of Castilla-La Mancha Ciudad Real Spain

Germany

📄 논문 정보

발행 연도 2025년
인용수 0
출판 국가 Germany, Andorra
사이트 Springer
좋아요 수 0

연관 논문 목록 (232건)