Add optional PyZX integration via graphqomb.zx_util#171
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #171 +/- ##
==========================================
+ Coverage 84.11% 84.58% +0.47%
==========================================
Files 22 24 +2
Lines 2606 3199 +593
Branches 476 549 +73
==========================================
+ Hits 2192 2706 +514
- Misses 309 361 +52
- Partials 105 132 +27 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e337a0f36a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9c45aa7204
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
graphqomb.zx_utilmodule withfrom_pyzx()to convert strict graph-like PyZX diagrams intoGraphState.Zgadget patterns viarecognize_pg=Truegraphqomb[pyzx]package extra and updates README with installation instructionsgraphqomb.zx_utilTest plan
pytest -m "not pyzx"to ensure existing tests pass without PyZX installedpytest -m pyzxafter installinggraphqomb[pyzx]to verify PyZX integration testspytestandpyzx-integrationjobscd docs && make htmlRelated Issues
Closes #111
This PR eliminates the need to implement ZX rewrite rules directly, since they are not closed within MBQC.
🤖 Generated with Claude Code