Skip to content

Fix native cu3 rewrite if clause #165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 17, 2025
Merged

Fix native cu3 rewrite if clause #165

merged 2 commits into from
Apr 17, 2025

Conversation

david-pl
Copy link
Collaborator

Since #163 might be a while (depending on a change in kirin and whether we are fixing more pyright issues), I figured it might make sense to split out the bug fix. I cherry-picked the commit from the other PR.

The test isn't great, but it fails on the current main branch and works here, so better than nothing.

@david-pl david-pl requested a review from weinbe58 April 16, 2025 13:54
Copy link

codecov bot commented Apr 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Copy link
Contributor

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
6158 5290 86% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
src/bloqade/qasm2/rewrite/native_gates.py 63% 🟢
TOTAL 63% 🟢

updated for commit: cea0e7b by action🐍

Copy link
Member

@weinbe58 weinbe58 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@david-pl david-pl merged commit 4ebc574 into main Apr 17, 2025
11 checks passed
@david-pl david-pl deleted the david/fix-rewrite-cu3-if branch April 17, 2025 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants