Skip to content

feat: post-rebase 1Q squashing in QSystemPass#1430

Draft
CalMacCQ wants to merge 13 commits intomainfrom
cm/post_rebase_squashing
Draft

feat: post-rebase 1Q squashing in QSystemPass#1430
CalMacCQ wants to merge 13 commits intomainfrom
cm/post_rebase_squashing

Conversation

@CalMacCQ
Copy link
Contributor

@CalMacCQ CalMacCQ commented Mar 2, 2026

Still have plenty of work to do on this (including fixing some failing tests)

closes #1419

Also one the issues are fixed I need to do proper testing with other components in the stack before this can be merged.

@CalMacCQ CalMacCQ requested a review from a team as a code owner March 2, 2026 15:55
@CalMacCQ CalMacCQ requested a review from acl-cqc March 2, 2026 15:55
@CalMacCQ CalMacCQ marked this pull request as draft March 2, 2026 15:55
.unwrap();

let (mut hugr, [call_node, h_node, f_node, rx_node, main_node]) = {
let (mut hugr, [call_node, h_node, f_node, rz_node, main_node]) = {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was a typo I think

Copy link
Contributor Author

@CalMacCQ CalMacCQ Mar 10, 2026

Choose a reason for hiding this comment

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

This surely isn't the breaking change hugrbot is mentioning below.

EDIT: this is a test so it shouldn't be part of the API

}
// restore the entrypoint
hugr.set_entrypoint(entrypoint);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO: Call the NormalizeGuppy pass before applying the squash pass.

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]: Add post rebase 1Q gate optimisation in QSystemPass

1 participant