vix.ing · top · new · best · stats · spec

Exploring design patterns in quantum software: a case study

2025/04/11 by Miriam Fernández-Osuna, Ricardo Pérez‐Castillo, Ricardo Pérez-Castillo +4 · 1 citation
Computer Science · Physics and Astronomy · #Quantum Computing Algorithms and Architecture #Quantum Information and Cryptography #Quantum Mechanics and Applications

paper · pdf · doi:10.1007/s00607-025-01467-2

crossref issued 2025/04/11 · crossref published 2025/04/11 · crossref published-online 2025/04/11 · openalex publication_date 2025/04/11 · crossref created 2025/04/11 · crossref published-print 2025/05/01 · crossref deposited 2025/05/26 · openalex created_date 2025/10/10 · crossref indexed 2026/07/31 · openalex updated_date 2026/08/01

Abstract

Abstract 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.

Citations

Cited by