QMutBench: A Dataset of Quantum Circuit Mutants
This paper introduces QMutBench, an online dataset containing over 700,000 quantum circuit mutants with customizable selection criteria, designed to provide essential benchmarks for evaluating and developing quantum software testing techniques.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a master chef trying to invent a new recipe for a quantum cake. You've created a perfect recipe (the Quantum Circuit), but before you serve it to the world, you need to make sure your taste testers (the Testing Tools) are actually good at finding mistakes.
The problem? In the world of quantum computing, there are very few "bad cakes" (faulty programs) available to test against. You can't just go to a store and buy a burnt quantum cake to see if your taste testers can spot the burn.
This is where QMutBench comes in. Think of it as a massive, high-tech "Fault Factory" for quantum recipes.
The Big Idea: The "What-If" Machine
In the paper, the authors explain that they built a dataset containing over 700,000 "mutants."
- The Original: A perfect quantum circuit (a recipe).
- The Mutant: A slightly broken version of that circuit.
How do they break them? They use "Mutation Operators," which are like mischievous kitchen helpers who:
- Add an extra ingredient (gate) that shouldn't be there.
- Remove a crucial ingredient.
- Replace a good ingredient with a bad one.
Just like a chef might accidentally add salt instead of sugar, these tools create thousands of versions of a quantum program with tiny, specific errors.
The Problem: Too Much Noise
Previously, researchers had a giant warehouse full of these broken recipes. But it was a mess. It was like trying to find a needle in a haystack, except the haystack was the size of a city, and you didn't know which needles were sharp and which were dull.
If a researcher wanted to test a new tool, they had to download the entire warehouse, which was slow and confusing. They needed a way to say, "I only want the broken recipes that are really hard to find, and I only want the ones where the error happened in the first 10% of the cooking process."
The Solution: The "Smart Filter" (QMutBench)
The authors created QMutBench, which is essentially a smart online vending machine for these broken quantum circuits.
Here is how it works, using a simple analogy:
- The Menu (Original Circuits): You start by picking the type of quantum "dish" you want to test (e.g., a Grover's algorithm cake or an Amplitude Estimation soup).
- The Difficulty Slider (Survival Rate): This is the coolest part. The system tells you how "hard" a mutant is to detect.
- Low Survival Rate (0-10%): These are "easy" mutants. They are like a cake with a giant black hole in the middle. Any tester should find this immediately.
- High Survival Rate (90-100%): These are "hard" mutants. They are like a cake where someone swapped a pinch of salt for sugar. It's very subtle. If your testing tool can find these, it's a genius tool.
- The Specifics: You can filter by:
- Where the error is: "I only want errors in the first 10% of the code."
- What kind of error: "I only want errors where a gate was removed."
Why Does This Matter?
Before QMutBench, if a researcher built a new quantum testing tool, they had no standard way to prove it was good. It was like a new car safety tester saying, "My car is safe!" but having no crash test dummies to prove it.
With QMutBench:
- Developers can download a specific set of "crash test dummies" (mutants) to see if their testing tool can spot the faults.
- Researchers can compare different tools to see which one is the "best detective."
- Debuggers can use these broken circuits to practice fixing quantum errors.
The "Recipe Book" Format
The best part is that QMutBench doesn't just give you raw data. It downloads everything as QASM files.
Think of QASM as the universal language of quantum cooking. Whether you use IBM's kitchen, Google's kitchen, or a local university's kitchen, they all speak QASM. So, once you download the "broken recipes" from QMutBench, you can immediately start testing them on almost any quantum computer platform without needing to translate them.
In a Nutshell
QMutBench is a public library of over 700,000 "broken" quantum programs. It lets researchers filter these broken programs by how hard they are to find and exactly how they were broken. This allows the quantum community to finally stop guessing if their testing tools work and start proving it with real, standardized evidence.
It turns the chaotic task of finding bugs in quantum software into a structured, easy-to-use game of "Spot the Difference."
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.