Improved Pattern.draw_graph visualization#444
Open
CodeMaverick2 wants to merge 7 commits intoTeamGraphix:masterfrom
Open
Improved Pattern.draw_graph visualization#444CodeMaverick2 wants to merge 7 commits intoTeamGraphix:masterfrom
CodeMaverick2 wants to merge 7 commits intoTeamGraphix:masterfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #444 +/- ##
==========================================
+ Coverage 88.76% 88.82% +0.06%
==========================================
Files 44 44
Lines 6308 6343 +35
==========================================
+ Hits 5599 5634 +35
Misses 709 709 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Author
|
CI fails on Python 3.10–3.13 due to a pre-existing bug in the veriphix reverse dependency, unrelated to this PR. Passes on Python 3.14 because veriphix is excluded from that version. All graphix tests and other reverse dependencies pass. |
Collaborator
|
Veriphix CI is now fixed. It's all green now! |
Contributor
Author
|
Hey @thierry-martinez, could someone from the team please review my PR and let me know if any changes are required |
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
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.
Before submitting, please check the following:
nox)ruffCONTRIBUTING.mdfor more detailsThen, please fill in below:
Context (if applicable):
Description of the change:
From issue -
Generated with PR changes -
The first image (before) is the example from the issue; the second (after) is the same pattern rendered with this PR.
Inputs (node 1) are now squares instead of red circles, measured nodes are filled black, Pauli-measured nodes (node 3) are blue, and outputs (2, 6, 7) are empty circles.
Dashed layer separators are replaced by a horizontal arrow with layer labels.
Measurement labels show plane and angle (e.g. XZ(π/10)).
Graph edges (light dashed) are visually distinct from correction arrows (solid). A legend explains all visual elements.
Related issue:
#387