NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Quantum Software Requirements Engineering

Tao Yue, Shaukat Ali, Paolo ArcainiarXiv 2023

TL;DR

While quantum software engineering is rapidly advancing in areas like testing and debugging, the foundational phase of Requirements Engineering (RE) remains largely overlooked. This paper establishes a preliminary framework for Quantum Software Requirements Engineering (QSRE), mapping classical software concepts to the quantum domain and introducing specialized stereotypes to handle the unique constraints of hybrid quantum-classical systems.

What Problem Does This Paper Address?

In classical software development, failing to get requirements right is a primary cause of project failure and ballooning costs. The authors argue that the quantum community is currently repeating this mistake by focusing heavily on implementation and testing while neglecting the "what" and "why" of the software.

Quantum software isn't just classical software running on faster hardware; it involves fundamentally different logic, severe hardware constraints (like noise and limited qubits), and almost always exists as a hybrid system paired with classical components. The paper addresses the lack of a structured approach to eliciting, classifying, and modeling these unique requirements.

Methods

The authors propose a conceptual mapping that adapts standard RE practices to the quantum context. Their approach includes:

  • Requirement Stereotyping: They introduce three key labels to distinguish where a requirement lives:
  • «qReq»: Specific to the quantum part of the system.
  • «cReq»: Specific to the classical part.
  • «hReq»: Hybrid requirements that span both domains.
  • Modeling Extensions: The paper demonstrates how to use standard modeling languages like SysML and Use Case diagrams to capture quantum-specific concerns.
  • Motivating Example: To ground these concepts, they use a credit risk analysis application (calculating Value at Risk and Conditional Value at Risk) using Qiskit and the Amplitude Estimation algorithm.
Figure 1: A SysML requirements diagram for a finance application, showing the interplay between functional requirements and quantum hardware constraints.

Datasets

Not discussed in the paper. As a conceptual and methodological paper, it focuses on frameworks and modeling rather than empirical data training or benchmarking.

Key Insights and Ideas

  • Hardware Constraints are First-Class Requirements: In classical RE, hardware is often an afterthought. In QSRE, constraints like "limited number of qubits" or "circuit depth" are primary drivers that dictate which algorithms are even feasible.
  • The Performance Justification: For quantum software, performance (e.g., a "quadratic speed-up") isn't just a nice-to-have; it is the fundamental justification for using quantum resources. If the requirements analysis shows this speed-up isn't achievable with current hardware, the project's viability is called into question.
  • Reliability and Noise: Because current quantum hardware is noisy, reliability requirements must explicitly account for hardware errors, decoherence, and the potential need for Quantum Error Correction (QEC) early in the design phase.
  • Hybridity is Central: The authors emphasize that "quantum-classical splitting" is a critical early-stage RE activity. Deciding which parts of a problem belong on a CPU versus a QPU is a requirements task, not just an implementation detail.
Figure 2: Use case diagrams illustrating how to separate classical analyst tasks from quantum expert functionalities.

Key Results

The paper provides a roadmap for how QSRE should differ from classical RE:

  1. Functional Requirements: While the high-level goals (e.g., "calculate risk") are similar, the realization involves specific quantum algorithms like Amplitude Estimation.
  2. Extra-Functional Requirements: The authors identify six critical areas: Portability (across different quantum hardware), Performance (speed-up metrics), Reliability (handling noise), Scalability (qubit limits), Maintainability (evolving hardware), and Reusability (avoiding tight coupling in hybrid systems).
  3. Modeling Framework: They successfully demonstrate that existing tools like SysML can be extended to handle quantum concepts, providing a bridge for engineers moving from classical to quantum domains.

Limitations and Future Work

The authors acknowledge that QSRE is in its infancy. Key limitations and areas for future research include:

  • Immature Formal Methods: While formal methods are vital for quantum logic, current tools for specifying and verifying quantum requirements are still in early development.
  • Lack of Tool Support: There is a need for automated tools that can help engineers perform feasibility analyses—checking if a set of requirements can actually be met by available quantum hardware.
  • Elicitation Processes: Future work is needed to create actionable, step-by-step processes that guide non-quantum experts (like financial analysts) through the complexities of defining quantum software needs.

Summary updated

BibTeX
@misc{yue2023towards,
  author = {Tao Yue and Shaukat Ali and Paolo Arcaini},
  title = {{Towards Quantum Software Requirements Engineering}},
  year = {2023},
  eprint = {2309.13358},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.13358},
}
Figure