[Paper Review] Understanding Bugs in Quantum Simulators: An Empirical Study
The paper analyzes 394 confirmed bugs across 12 open-source quantum simulators to characterize root causes, manifestations, origins, and discovery methods, revealing a predominantly user-driven discovery process and significant classical-infrastructure-related failures.
Quantum simulators are a foundational component of the quantum software ecosystem. They are widely used to develop and debug quantum programs, validate compiler transformations, and support empirical claims about correctness and performance. In the absence of large-scale quantum hardware, simulator outputs are often treated as ground truth for algorithm development and system evaluation. However, quantum simulators also introduce unique implementation challenges. They must faithfully emulate quantum behavior while executing on classical hardware, requiring complex representations of quantum state evolution, operator composition, and noise modeling. Yet, we still lack a large-scale and in-depth study of failures in quantum simulators. To bridge this gap, this work presents a comprehensive empirical study of bugs in widely used open-source quantum simulators. We analyze 394 confirmed bugs from 12 simulators and manually categorize them based on root causes, failure manifestations, affected components, and discovery mechanisms. Our study reveals several key findings. First, bug discovery is largely user-driven, with most crashes, exceptions, and resource-related failures not detected by automated testing and identified after deployment. Second, logical correctness failures are widespread and often silent, producing plausible but incorrect outputs without triggering crashes or explicit error signals. Third, many critical failures originate in classical simulator infrastructure, such as memory management, indexing, configuration, and dependency compatibility, rather than in core quantum execution logic. These findings provide new insights into the reliability challenges of quantum simulators and highlight opportunities to improve testing and validation practices in the quantum software ecosystem.
Motivation & Objective
- Identify root causes of defects in software-based quantum simulators.
- Characterize how simulator issues manifest (outputs, crashes, silent failures).
- Localize failures to quantum execution vs. classical infrastructure components.
- Assess how issues are discovered and the effectiveness of testing practices.
Proposed method
- Collect closed issues from 12 standalone quantum simulators with PR-linked fixes.
- Manually filter to 394 confirmed issues resolved by patches.
- Annotate each issue across dimensions: category, root cause, manifestation, quantum component, software component, discovery.
- Ensure inter-annotator reliability with dual annotators and resolve disagreements.

Experimental results
Research questions
- RQ1RQ1: What are the root causes of issues in quantum simulators?
- RQ2RQ2: How do issues manifest in quantum simulators?
- RQ3RQ3: Where do critical failures originate within the simulator architecture?
- RQ4RQ4: How are issues discovered and what does this reveal about testing effectiveness?
Key findings
- Issue discovery is largely user-driven (78.4%) while automated testing finds few issues (10.7%).
- Severe failures often escape internal testing and are found post-deployment.
- Logical correctness failures are common and often silent, producing incorrect outputs without errors.
- Many critical failures originate in classical infrastructure rather than core quantum logic.
- Ecosystem fragility, including dependencies and platform compatibility, frequently causes reliability problems.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.