Support Adjoint symbolic rules in graph-decomposition - #3204
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3204 +/- ##
=======================================
Coverage 95.63% 95.63%
=======================================
Files 177 177
Lines 20893 20947 +54
Branches 2105 2112 +7
=======================================
+ Hits 19980 20033 +53
Misses 725 725
- Partials 188 189 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
albi3ro
reviewed
Sep 11, 2026
astralcai
reviewed
Sep 11, 2026
albi3ro
reviewed
Sep 11, 2026
astralcai
reviewed
Sep 11, 2026
albi3ro
reviewed
Sep 11, 2026
albi3ro
reviewed
Sep 11, 2026
astralcai
reviewed
Sep 11, 2026
astralcai
approved these changes
Sep 11, 2026
astralcai
left a comment
Contributor
There was a problem hiding this comment.
It took me a while to understand the overall structure of this decomposition_rule.py module, but everything finally makes sense to me.
albi3ro
reviewed
Sep 11, 2026
albi3ro
reviewed
Sep 14, 2026
albi3ro
approved these changes
Sep 14, 2026
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.
Context:
This PR adds support for the rules PL registers with the symbolic operator's arguments, i.e.
self_adjoint(base),adjoint_rotation(base), and others rather than the base op's(*params, wires). Now, rules registered forAdjoint(Op)against the base op's parameters keep working:Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues:
[sc-130029]