-
Notifications
You must be signed in to change notification settings - Fork 59
feat: add basic cluster visualization for WhileOp, IfOp, ForOp
#2234
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
Open
andrijapau
wants to merge
74
commits into
feature/visualize-qnode
Choose a base branch
from
feature/control-flow-clusters
base: feature/visualize-qnode
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat: add basic cluster visualization for WhileOp, IfOp, ForOp
#2234
andrijapau
wants to merge
74
commits into
feature/visualize-qnode
from
feature/control-flow-clusters
+245
−2
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WhileOp, IfOp, ForOp from the func dialect
WhileOp, IfOp, ForOp from the func dialectWhileOp, IfOp, ForOp from the scf dialect
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feature/visualize-qnode #2234 +/- ##
========================================================
Coverage 97.66% 97.66%
========================================================
Files 93 93
Lines 10899 10899
Branches 1039 1039
========================================================
Hits 10645 10645
Misses 195 195
Partials 59 59 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mudit2812
reviewed
Nov 26, 2025
frontend/catalyst/python_interface/visualization/construct_circuit_dag.py
Outdated
Show resolved
Hide resolved
andrijapau
commented
Dec 2, 2025
frontend/test/pytest/python_interface/visualization/test_construct_circuit_dag.py
Outdated
Show resolved
Hide resolved
WhileOp, IfOp, ForOp from the scf dialectWhileOp, IfOp, ForOp from the scf dialect
WhileOp, IfOp, ForOp from the scf dialectWhileOp, IfOp, ForOp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds basic cluster visualization for these control flow operators.
for ...should be drawn likefor i in range(x,y,z)if possible.gets you (ignore quantum nodes for now),

[sc-103462]
[sc-103464]
[sc-103465]