Non-Functional Requirements to Hyperparameter Translation for Quantum Software via LLMs
Joseph G. Bronyah, Nasir U. Eisty
Abstract
Quantum software engineering (QSE) lacks validated approaches for translating natural-language non-functional requirements (NFRs) into execution parameters such as shots and transpiler optimization levels. Existing methods emphasize semantic similarity rather than execution outcomes. We evaluate seven large language models (LLMs) against a deterministic heuristic baseline using 540 synthetic and 18 real-world user stories. We assess semantic accuracy and execution outcomes, including time, cost, top-state probability, and two-qubit gate exposure, through Qiskit/Aer simulations. All LLMs significantly outperformed the heuristic in semantic accuracy, achieving 55.6 to 83.3 percent on real-world stories compared to 16.7 percent for the heuristic. However, no LLM demonstrated statistically significant superiority over others on the real-world dataset. Speed- and cost-oriented configurations reduced execution time and cost, but fidelity improvements were not supported. Some failures resulted from provider safety refusals rather than translation errors. Our findings demonstrate the potential of LLMs as middleware for NFR-to-configuration translation in QSE, while emphasizing execution-based validation, human oversight, and careful interpretation of model differences.
Create a lesson
Related papers
Systematic Mapping Protocol. Generative AI-Augmented Requirements Engineering: A Systematic Mapping Study of Practices, Specifications, and Reuse in Software Development
Shared title terminology · Fernando Pinciroli
Think Before You Code: A Benchmark for Testing LLMs on Software Engineering Deliberation
Shared title terminology · Ashman Mehra
Post-Quantum Cryptography Education for Software Developers: A Multivocal Literature Review
Shared title terminology · R. D. N. Shakya, C. P. Wijesiriwardana, S. M. Vidanagamachchi et al.
LLMs for Software Vulnerability Prediction and Prioritization: A Review
Shared title terminology · Faheem Ullah, Muhammad Moiz Khalid, Shayan Ayaz Khan et al.
The Gene Is Not the Gate: Conceptualizing the Semantic Genome of Quantum Software
Shared title terminology · Jiongchi Yu, Yue Duan, Ziming Zhao et al.
From 6G Capabilities to Software-Business Value: A Multivocal Review of Characteristics, Opportunities, Challenges
Shared title terminology · Muhammad Zohaib, Azeem Akbar, Sami Hyrynsalmi et al.