arXiv · 2504.05204
Quantum Program Linting with LLMs: Emerging Results from a Comparative Study
Abstract
Ensuring the quality of quantum programs is increasingly important; however, traditional static analysis techniques are insufficient due to the unique characteristics of quantum computing. Quantum-specific linting tools, such as LintQ, have been developed to detect quantum-specific programming problems; however, they typically rely on manually crafted analysis queries. The manual effort required to update these tools limits their adaptability to evolving quantum programming practices. To address this challenge, this study investigates the feasibility of employing Large Language Models (LLMs) to develop a novel linting technique for quantum software development and explores potential avenues to advance linting approaches. We introduce LintQ-LLM, an LLM-based linting tool designed to detect quantum-specific problems comparable to those identified by LintQ. Through an empirical comparative study using real-world Qiskit programs, our results show that LintQ-LLM is a viable solution that complements LintQ, with particular strengths in problem localization, explanation clarity, and adaptability potential for emerging quantum programming frameworks, thus providing a basis for further research. Furthermore, this study discusses several research opportunities for developing more advanced, adaptable, and feedback-aware quantum software quality assurance methods by leveraging LLMs.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Seung Yeob Shin, Fabrizio Pastore, Domenico Bianculli. 2025-04-07. Quantum Program Linting with LLMs: Emerging Results from a Comparative Study. https://arxiv.org/abs/2504.05204
Cite the original work for its findings. Save a collection to share your selection of sources.