cda-tum / mqt-bench

MQT Bench - A MQT tool for Benchmarking Quantum Software Tools
https://www.cda.cit.tum.de/mqtbench/
MIT License
68 stars 12 forks source link

🐛 Remove superfluous classical register in QFT algorithm #316

Closed burgholzer closed 2 months ago

burgholzer commented 2 months ago

This PR fixes a small bug in the QFT benchmark discovered while trying to verify some MQT Bench circuits using QCEC. The QFT benchmark would contain an additional classical register that was never used because measure_all creates its own classical register and adds it to the circuit.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.8%. Comparing base (6c2d381) to head (daeeb6a).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #316 +/- ## ======================================= - Coverage 91.8% 91.8% -0.1% ======================================= Files 46 46 Lines 2419 2418 -1 ======================================= - Hits 2223 2222 -1 Misses 196 196 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.