Skip to content

Conversation

@weinbe58
Copy link
Member

@weinbe58 weinbe58 commented Nov 25, 2025

closes #633

Two bugs found:

  1. bug when rewrite from Squin to Native statements. I need to implement a turns version in the standard library to rewrite gates to.
  2. Bug in CallGraphPass that was not applying the rewrite to the method passed into the pass itself.

@codecov
Copy link

codecov bot commented Nov 25, 2025

Codecov Report

❌ Patch coverage is 47.36842% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/bloqade/native/stdlib/broadcast.py 44.44% 10 Missing ⚠️

📢 Thoughts on this report? Let us know!

@github-actions
Copy link
Contributor

github-actions bot commented Nov 25, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
10190 8945 88% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
src/bloqade/native/stdlib/broadcast.py 63% 🟢
src/bloqade/native/upstream/squin2native.py 100% 🟢
src/bloqade/rewrite/passes/callgraph.py 89% 🟢
TOTAL 84% 🟢

updated for commit: 087c59b by action🐍

Copy link
Collaborator

@david-pl david-pl left a comment

Choose a reason for hiding this comment

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

Looks good, but I do have some questions. They don't necessarily require changes in this PR though.

@weinbe58 weinbe58 merged commit 8fa9d04 into main Nov 26, 2025
10 of 12 checks passed
@weinbe58 weinbe58 deleted the phil/fix-squin-to-native-rewrite branch November 26, 2025 21:57
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.

Issue with rewrites from Squin to Native.

3 participants