Analyzing Quantum Programs with LintQ: A Static Analysis Framework for Qiskit
Matteo Paltenghi, Michael Pradel

TL;DR
LintQ is a static analysis framework designed to detect quantum-specific bugs in Qiskit programs, significantly improving bug detection accuracy over existing tools by leveraging abstractions of quantum concepts.
Contribution
The paper introduces LintQ, a novel extensible static analysis framework that effectively detects quantum programming bugs using abstractions of quantum concepts, outperforming prior tools.
Findings
LintQ achieves 91.0% precision in bug detection.
Almost 92.1% of bugs found by LintQ are missed by previous tools.
Applied to 7,568 real-world quantum programs, LintQ effectively identifies diverse bugs.
Abstract
As quantum computing is rising in popularity, the amount of quantum programs and the number of developers writing them are increasing rapidly. Unfortunately, writing correct quantum programs is challenging due to various subtle rules developers need to be aware of. Empirical studies show that 40-82% of all bugs in quantum software are specific to the quantum domain. Yet, existing static bug detection frameworks are mostly unaware of quantum-specific concepts, such as circuits, gates, and qubits, and hence miss many bugs. This paper presents LintQ, a comprehensive static analysis framework for detecting bugs in quantum programs. Our approach is enabled by a set of abstractions designed to reason about common concepts in quantum computing without referring to the details of the underlying quantum computing platform. Built on top of these abstractions, LintQ offers an extensible set of ten…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsQuantum Computing Algorithms and Architecture · Parallel Computing and Optimization Techniques · Cloud Computing and Resource Management
