A Preliminary Study of the Usage of Design Patterns in Quantum Software
Quantum computing deserve more and more attention owing to all the promising applications in several fields. These applications are achieved through quantum software. The development of quantum software still poses some challenges as the complexity of quantum algorithms, lack of abstraction mechanisms and the need to integrate classical and quantum software. These challenges could be addressed by applying some quantum software design patterns, which have been already proposed in the literature. However, there is a lack of insights about what is the extend of application of certain design patterns, and how are the characteristics of quantum circuits where these patterns are applied. Thus, this paper proposes a preliminary code repository analysis to systematically analyze the application of five design patterns: initialization, uniform superposition, oracle, entanglement and uncompute. The obtained dataset with 80 source code files in Qiskit and OpenQASM shows that initialization and uniform superposition are the most common design patterns. This study can help quantum software developers to understand how and when to apply some design patterns. Additionally, insights of this study could help to define new design patterns.
Tue 16 AprDisplayed time zone: Lisbon change
16:00 - 17:30 | Higher Abstractions for Quantum SoftwareQ-SE at Carlos Paredes Chair(s): Jianjun Zhao Kyushu University | ||
16:00 30mResearch paper | A Preliminary Study of the Usage of Design Patterns in Quantum Software Q-SE Ricardo Pérez-Castillo University of Castilla-La Mancha, Miriam Fernández-Osuna University of Castilla-La Mancha, Jose Antonio Cruz-Lemus University of Castilla-La Mancha, Spain, Mario Piattini University of Castilla-La Mancha, Spain | ||
16:30 20mShort-paper | Quantum Types: Going Beyond Qubits and Quantum Gates Q-SE Tamás Varga Constructor Institute Schaffhausen, Yaiza Aragonés-Soria Constructor Institute Schaffhausen, Manuel Oriol Constructor Institute Schaffhausen Pre-print | ||
16:50 30mDay closing | Discussion and Closing Q-SE |