Skip to content

feat: Add ComparatorRzDecomposer pass to the decompose module - #401

Open
PabloAndresCQ wants to merge 7 commits into
mainfrom
pam/reintroduce_rz
Open

PabloAndresCQ wants to merge 7 commits into
mainfrom
pam/reintroduce_rz

Conversation

@PabloAndresCQ

@PabloAndresCQ PabloAndresCQ commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Closes #362

@PabloAndresCQ
PabloAndresCQ requested a review from a team as a code owner September 15, 2026 14:12

@hsemenenko hsemenenko left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Pablo! Left two suggestions.

Comment thread src/guppyft/decompose/_passes.py
Comment thread tests/decompose/test_comparator_based_rz.py

@PabloAndresCQ PabloAndresCQ left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's have a final chat tomorrow during the group meeting before merging this. Otherwise, I think it's ready to go.

Thanks for creating #402. Let's also discuss tomorrow how urgent that is.



def comparator_based_rz_cascade(
epsilon: float,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add a check to validate that 0 < epsilon < 1 to avoid errors.

@PabloAndresCQ
PabloAndresCQ added this pull request to stack #405 September 16, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Reintroduce runtime RZ synthesis

2 participants