Skip to content

Add ZXTransformer contrib module - #8026

Open
dlyongemallo wants to merge 1 commit into
quantumlib:mainfrom
dlyongemallo:zxtransformer
Open

Add ZXTransformer contrib module#8026
dlyongemallo wants to merge 1 commit into
quantumlib:mainfrom
dlyongemallo:zxtransformer

Conversation

@dlyongemallo

Copy link
Copy Markdown
Contributor

Continuation of PR #6647.

See issue #6585.

@dlyongemallo
dlyongemallo requested review from a team and vtomole as code owners April 10, 2026 08:05
@dlyongemallo
dlyongemallo requested a review from dstrain115 April 10, 2026 08:05
@github-actions github-actions Bot added the size: L 250< lines changed <1000 label Apr 10, 2026
@dlyongemallo
dlyongemallo force-pushed the zxtransformer branch 2 times, most recently from acb2748 to 2667ce1 Compare April 20, 2026 20:42
@github-actions github-actions Bot added size: XL lines changed >1000 and removed size: L 250< lines changed <1000 labels Jun 1, 2026
@codecov

codecov Bot commented Jun 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.60%. Comparing base (74abd87) to head (bb609c6).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #8026    +/-   ##
========================================
  Coverage   99.60%   99.60%            
========================================
  Files        1118     1121     +3     
  Lines      100951   101373   +422     
========================================
+ Hits       100551   100973   +422     
  Misses        400      400            

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dlyongemallo

Copy link
Copy Markdown
Contributor Author

Hi, @vtomole @dstrain115 - do you have time to review this?

@pavoljuhas
pavoljuhas self-requested a review June 4, 2026 20:26
@pavoljuhas pavoljuhas self-assigned this Jun 4, 2026
@pavoljuhas pavoljuhas added priority/before-1.7 priority/before-1.8 Leave for after the Cirq 1.7 release and removed priority/before-1.7 labels Jun 11, 2026
Comment thread cirq-core/cirq/contrib/zxtransformer/zxtransformer.py Outdated
Comment thread cirq-core/cirq/contrib/zxtransformer/zxtransformer.py Outdated
Comment thread cirq-core/cirq/contrib/zxtransformer/zxtransformer.py Outdated
Comment thread cirq-core/cirq/contrib/zxtransformer/zxtransformer_test.py Outdated
A custom transformer which uses ZX-calculus through the PyZX library
to perform circuit optimisation. Supports measurements, resets,
conditional gates, and hybrid (non-unitary) circuit optimisation.
@mhucka mhucka added the triage/discuss Needs decision / discussion, bring these up during Cirq Cynque label Sep 2, 2026
@mhucka

mhucka commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Discussed in Cirq Cynq 2026-09-02:

Let's bump full review to after the 1.8 release, so that we can get the release out soon.

@mhucka mhucka added priority/after-1.8 Deferred until after the Cirq 1.8 release and removed priority/before-1.8 Leave for after the Cirq 1.7 release labels Sep 2, 2026
anshjaiswal12 pushed a commit to anshjaiswal12/Cirq that referenced this pull request Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority/after-1.8 Deferred until after the Cirq 1.8 release size: XL lines changed >1000 triage/discuss Needs decision / discussion, bring these up during Cirq Cynque

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants