Preprint
Article

This version is not peer-reviewed.

QLadder: A Graded Dataset of Verified Quantum Programs in Qiskit, PennyLane and Cirq, with Seeded Bugs and Real-Hardware Results

Submitted:

02 December 2026

Posted:

04 December 2026

You are already at the latest version

Abstract
Research on testing and debugging quantum programs needs programs whose correct behaviour is known, together with faulty versions that tests can be measured against. Existing quantum bug benchmarks are mostly limited to one framework, and existing circuit benchmarks come without tests or faults. We present QL ADDER, a dataset of 126 quantum programs organised in ten levels, from single-qubit basics to error correction, quantum-information tools and program testing. Every program is implemented in Qiskit, PennyLane and Cirq (378 implementations), is paired with a buggy variant that contains one realistic seeded bug in each framework, and comes with a test suite that checks the correct versions against an independent reference and confirms that every buggy version is caught. In total the dataset contains 7837 passing tests. Each program also records structural metrics and has a README describing its output, bug and testing lesson. Twenty-five programs were additionally run on IBM Quantum hardware (ibm_kingston and ibm_marrakesh); their raw counts are stored and checked by tests. An evaluation of six generic test oracles shows that 56% of the seeded bugs leave the program’s default circuit unchanged and that even a full state comparison misses 15% of the remaining ones, while the program-specific tests catch all of them. QL ADDER supports research on quantum software testing, fault localisation, cross-framework comparison and code metrics, and it can also be used as teaching material. The dataset is openly available under MIT (code) and CC BY 4.0 (text and data) licences.
Keywords: 
;  ;  ;  ;  ;  
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.