Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

arXiv:2402.08505

Q-COSMIC: Quantum Software Metrics Based on COSMIC (ISO/IEC19761)

Francisco Valdés-Souto, Héctor G. Pérez‐González, Carlos A. Pérez-Delgado

Published Feb 13, 2024• 1 citation
arXivHTMLPDF

Abstract

Quantum engineering seeks to exploit quantum information to build, among others, computing, cybersecurity, and metrology technologies. Quantum Software Engineering (QSE) focuses on the information processing side of these technologies. Historically, quantum (software) engineering has focused on development in controlled research environments and 'in the small'. As the field progresses, we should expect to see more large-scale quantum systems to be deployed as 'real-world' products and services. An essential tool in (classical) software engineering and development has been software size metrics. Calculating/estimating the size of a piece of software, to be developed or pre-existing, is an essential step in its engineering. Quantum software will be no different. Here we introduce Q-COSMIC, a technique for measuring the functional size of quantum software, based on the well-regarded COSMIC standard (ISO/IEC19761) for classical software

DOI
10.48550/arxiv.2402.08505

Related papers

Quantum Software Size: What Do We Measure, How and Why? A Systematic Literature Review

Tuna Hacaloğlu, Hassan Soubra, Pierre Bourque +1 more

Rapid growth in quantum computing has created an urgent need to adapt traditional software engineering methodologies. Among these methodological challenges, software size measurement plays a central role in project estimation, quality assurance, and software engineering management. However, there is no consolidated understanding of how it should be applied to quantum software systems. This paper presents the first systematic literature review on quantum software size measurement, synthesizing existing approaches, and identifying key research gaps. An analysis of 16 studies shows that size measures span multiple abstraction levels, with most research focusing on adapting classical metrics, such as Lines of Code (LOC) and functional size, to quantum software systems. LOC continues to be used for sizing quantum code, while COSMIC Function Points (ISO 19761) have been extended to capture data movements in quantum components, enabling their application at the requirement, code, and circuit levels. At the specification and architectural design levels, the proposed measures include counts of quantum classes and methods as well as lines of architectural specifications. At the circuit level, quantum-specific constructs, such as qubits, gates, and measurements, are also incorporated. Additionally, software structure metrics, including cyclomatic complexity and Halstead metrics, are used to measure quantum software at both the code and design levels. Research output has grown since 2024, and is driven by academic groups, with minimal industrial participation. However, most metrics remain conceptual, lack empirical validation, and are not integrated into development life cycles, highlighting the immaturity and fragmentation of current proposals and the need for standardized frameworks.

IEEE Access•Jan 1, 2026•1 citation

Comprehensive Review of Metrics and Measurements of Quantum Systems

Hassan Soubra, Hatem Elsayed, Yousef Elbrolosy +2 more

Quantum computing promises to offer significant computational advantages over classical computing, leveraging principles such as superposition and entanglement. This necessitates effective metrics and measurement techniques for evaluating quantum systems, aiding in their development and performance optimization. However, due to fundamental differences in computing paradigms, and current immaturity of quantum software abstractions, classical software and hardware metrics may not directly apply to quantum computing, where the distinction between software and hardware can still be somewhat indiscernible compared to classical computing. This paper provides a comprehensive review of existing quantum software and hardware metrics in the scientific literature, highlighting key challenges in the field. Additionally, it investigates the application of Functional Size Measurement (FSM) based on COSMIC ISO 19761 to measure quantum software. Three FSM approaches are analyzed by applying them to Shor’s and Grover’s algorithms, with measurement results compared to assess their effectiveness. A comparative analysis highlights the strengths and limitations of each approach, emphasizing the need for further refinement. The insights from this study contribute to the advancement of quantum metrics, especially software metrics and measurement, paving the way for the development of a unified and standardized approach to quantum software measurement and assessment.

Metrics•Jun 19, 2025•6 citations

Quantum Software Functional Size Measurement Approaches based on COSMIC ISO 19761

Yousef Elbrolosy, Youssef Adel, Zeyad Attia +2 more

As quantum computing evolves, the need for quantum software measurement techniques has increased. Functional Size Measurement (FSM) has been adopted to measure quantum Software in three different approaches based on COSMIC ISO 19761. We examine the proposed approaches by analyzing the measurement results of their application on Shor’s and Grover’s algorithms. A comparative analysis reveals the strengths and limitations of each approach, emphasizing the need for continued refinement. The insights gained from this study are critical for developing a more unified approach for quantum software and pave the way to a standardized approach.

•Oct 23, 2024•0 citations

Insights on Quantum Software Functional Size Measurement: Key Concepts, Challenges and Motivations

Tuna Hacaloğlu, Hassan Soubra, Youssef Adel +2 more

The rapid evolution of quantum computing has led to growing interest in the development of systematic approaches to assess and manage quantum software. Among these, functional size measurement (FSM) offers a promising pathway for establishing metrics that can support project estimation, benchmarking, and quality assessment. This paper provides an overview of emerging efforts in quantum software functional size measurement with a focus on key concepts, challenges, and motivations. First, we examine the foundational principles of quantum computing in relation to the existing FSM methods, identifying both compatibilities and unique constraints. Building on this, we discuss the challenges that arise when applying FSM to quantum software, including the hardware-coupled nature of functionality, evolving semantics of data and measurement abstractions, gaps in tooling and standardization, and evolving role of FSM across the Noisy Intermediate-Scale Quantum (NISQ) and future faulttolerant eras. We then outline community-driven initiatives, such as the COSMIC Quantum Software Taskforce and the Fall 2024 Workshop, which highlight the increasing demand for structured measurement practices. By articulating these issues, this paper aims to present initial research efforts for quantum software functional size measurement and stimulate further exploration of measurement approaches that are both theoretically grounded and practically applicable in quantum software engineering.

Global Congress on Emerging Technologies (GCET)•Dec 2, 2025•0 citations

Some Size and Structure Metrics for Quantum Software

Jianjun Zhao

Quantum software plays a critical role in exploiting the full potential of quantum computing systems. As a result, it is drawing increasing attention recently. As research in quantum programming reaches maturity with a number of active research and practical products, software metric researchers need to focus on this new paradigm to evaluate it rigorously and quantitatively. As the first step, this paper proposes some basic metrics for quantum software, which mainly focus on measuring the size and structure of quantum software. These metrics are defined at different abstraction levels to represent various size and structure attributes in quantum software explicitly. The proposed metrics can be used to evaluate quantum software from various viewpoints.

arXiv:2103.08815•IEEE/ACM International Workshop on Quantum Software Engineering (Q-SE)•Jun 1, 2021•18 citations

Towards Quantum Requirements Engineering

Paola Spoletini

Quantum computing is rapidly transitioning from a scientific curiosity to an industrial reality, offering the potential to overcome classical computation limitations. This shift has given rise to the field of quantum software engineering (QSE), focused on developing novel approaches for engineering large-scale quantum applications. Traditional software engineering methods fall short in addressing the unique characteristics of quantum computing, necessitating innovative QSE methodologies and tools. While progress has been made in testing and debugging quantum programs, very little work has been done on analyzing if and how existing requirements engineering techniques can address the challenges that designing quantum software raises. This paper discusses some of the challenges for requirements engineers while eliciting requirements for quantum software, modeling the collected requirements, and analyzing them, and introduces some initial solutions for eliciting, modeling, and analyzing quantum requirements.

IEEE International Requirements Engineering Conference Workshops (REW)•Sep 1, 2023•6 citations
Quantum engineering seeks to exploit quantum information to build, among others, computing, cybersecurity, and metrology technologies. Quantum Software Engineering (QSE) focuses on the information processing side of these technologies. Historically, quantum (software) engineering has focused on development in controlled research environments and 'in the small'. As the field progresses, we should expect to see more large-scale quantum systems to be deployed as 'real-world' products and services. An essential tool in (classical) software engineering and development has been software size metrics. Calculating/estimating the size of a piece of software, to be developed or pre-existing, is an essential step in its engineering. Quantum software will be no different. Here we introduce Q-COSMIC, a technique for measuring the functional size of quantum software, based on the well-regarded COSMIC standard (ISO/IEC19761) for classical software
Rapid growth in quantum computing has created an urgent need to adapt traditional software engineering methodologies. Among these methodological challenges, software size measurement plays a central role in project estimation, quality assurance, and software engineering management. However, there is no consolidated understanding of how it should be applied to quantum software systems. This paper presents the first systematic literature review on quantum software size measurement, synthesizing existing approaches, and identifying key research gaps. An analysis of 16 studies shows that size measures span multiple abstraction levels, with most research focusing on adapting classical metrics, such as Lines of Code (LOC) and functional size, to quantum software systems. LOC continues to be used for sizing quantum code, while COSMIC Function Points (ISO 19761) have been extended to capture data movements in quantum components, enabling their application at the requirement, code, and circuit levels. At the specification and architectural design levels, the proposed measures include counts of quantum classes and methods as well as lines of architectural specifications. At the circuit level, quantum-specific constructs, such as qubits, gates, and measurements, are also incorporated. Additionally, software structure metrics, including cyclomatic complexity and Halstead metrics, are used to measure quantum software at both the code and design levels. Research output has grown since 2024, and is driven by academic groups, with minimal industrial participation. However, most metrics remain conceptual, lack empirical validation, and are not integrated into development life cycles, highlighting the immaturity and fragmentation of current proposals and the need for standardized frameworks.
Quantum computing promises to offer significant computational advantages over classical computing, leveraging principles such as superposition and entanglement. This necessitates effective metrics and measurement techniques for evaluating quantum systems, aiding in their development and performance optimization. However, due to fundamental differences in computing paradigms, and current immaturity of quantum software abstractions, classical software and hardware metrics may not directly apply to quantum computing, where the distinction between software and hardware can still be somewhat indiscernible compared to classical computing. This paper provides a comprehensive review of existing quantum software and hardware metrics in the scientific literature, highlighting key challenges in the field. Additionally, it investigates the application of Functional Size Measurement (FSM) based on COSMIC ISO 19761 to measure quantum software. Three FSM approaches are analyzed by applying them to Shor’s and Grover’s algorithms, with measurement results compared to assess their effectiveness. A comparative analysis highlights the strengths and limitations of each approach, emphasizing the need for further refinement. The insights from this study contribute to the advancement of quantum metrics, especially software metrics and measurement, paving the way for the development of a unified and standardized approach to quantum software measurement and assessment.
As quantum computing evolves, the need for quantum software measurement techniques has increased. Functional Size Measurement (FSM) has been adopted to measure quantum Software in three different approaches based on COSMIC ISO 19761. We examine the proposed approaches by analyzing the measurement results of their application on Shor’s and Grover’s algorithms. A comparative analysis reveals the strengths and limitations of each approach, emphasizing the need for continued refinement. The insights gained from this study are critical for developing a more unified approach for quantum software and pave the way to a standardized approach.
The rapid evolution of quantum computing has led to growing interest in the development of systematic approaches to assess and manage quantum software. Among these, functional size measurement (FSM) offers a promising pathway for establishing metrics that can support project estimation, benchmarking, and quality assessment. This paper provides an overview of emerging efforts in quantum software functional size measurement with a focus on key concepts, challenges, and motivations. First, we examine the foundational principles of quantum computing in relation to the existing FSM methods, identifying both compatibilities and unique constraints. Building on this, we discuss the challenges that arise when applying FSM to quantum software, including the hardware-coupled nature of functionality, evolving semantics of data and measurement abstractions, gaps in tooling and standardization, and evolving role of FSM across the Noisy Intermediate-Scale Quantum (NISQ) and future faulttolerant eras. We then outline community-driven initiatives, such as the COSMIC Quantum Software Taskforce and the Fall 2024 Workshop, which highlight the increasing demand for structured measurement practices. By articulating these issues, this paper aims to present initial research efforts for quantum software functional size measurement and stimulate further exploration of measurement approaches that are both theoretically grounded and practically applicable in quantum software engineering.
Quantum software plays a critical role in exploiting the full potential of quantum computing systems. As a result, it is drawing increasing attention recently. As research in quantum programming reaches maturity with a number of active research and practical products, software metric researchers need to focus on this new paradigm to evaluate it rigorously and quantitatively. As the first step, this paper proposes some basic metrics for quantum software, which mainly focus on measuring the size and structure of quantum software. These metrics are defined at different abstraction levels to represent various size and structure attributes in quantum software explicitly. The proposed metrics can be used to evaluate quantum software from various viewpoints.
Quantum computing is rapidly transitioning from a scientific curiosity to an industrial reality, offering the potential to overcome classical computation limitations. This shift has given rise to the field of quantum software engineering (QSE), focused on developing novel approaches for engineering large-scale quantum applications. Traditional software engineering methods fall short in addressing the unique characteristics of quantum computing, necessitating innovative QSE methodologies and tools. While progress has been made in testing and debugging quantum programs, very little work has been done on analyzing if and how existing requirements engineering techniques can address the challenges that designing quantum software raises. This paper discusses some of the challenges for requirements engineers while eliciting requirements for quantum software, modeling the collected requirements, and analyzing them, and introduces some initial solutions for eliciting, modeling, and analyzing quantum requirements.