munich-quantum-toolkit / munich-quantum-toolkit/bench
✨ Add expected noise-free outputs for circuits
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 131
- Forks
- 44
- Avg merge
- 2h 3m
- Merged PRs (30d)
- 36
Description
Problem Statement
It would be really useful if MQT Bench circuits came with their expected noise-free results (an ideal state vector or output probability distribution) so that downstream users can validate a experiments against an expected truth.
For small circuits or things like GHZ and W it doesn't matter, but for the more involved algorithms expected results aren't obvious from the circuit alone. For instance, in Grover, without knowing how the generator constructs the oracle, there's no way to tell which state the circuit is meant to amplify, so there's nothing to test against.
Proposed Solution
If you have them add them in some format. Maybe json would be good?
grover_indep_5.qasm → grover_indep_5_reference.json
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining grover_indep_5.qasm and how the generator constructs its oracle, then determine a consistent representation for an ideal state vector or output probability distribution. Add reference data such as grover_indep_5_reference.json for the relevant circuits, and verify that downstream users can compare circuit outputs against those noise-free results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100