Repository navigation
fix: add c3x and c4x to REV_CTRL_GATE_MAP - #458
Conversation
Argus reviewAuto-review is off for this repo. Tick the box below to run a review on this PR.
Estimated cost
Tip: you can also comment |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary of changes
Fixes #322
REV_CTRL_GATE_MAPlacked entries forc3xandc4x, so_mpl_draw_gateraisedNotImplementedErrorwhen drawing those gates. Adding the reverse mappings lets the matplotlib printer resolve them to their base gates.Changes:
c3xandc4xtoREV_CTRL_GATE_MAP.Testing:
black --check src testsandisort --check-only src testspassed.AI use: AI-assisted. I used an AI tool to help with the implementation and tests, and I reviewed and tested the final result myself.
I confirm this contribution complies with the Developer's Certificate of Origin.