Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transforms: (mbqc-legalize) add legalization/reordering pass for mbqc #57

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexarice
Copy link
Collaborator

Needs some/a lot of tests, but I think this completes the mbqc translation journey.

@alexarice alexarice added the transformations Changes to passes label Jan 30, 2025
@alexarice alexarice self-assigned this Jan 30, 2025
@alexarice alexarice marked this pull request as draft January 30, 2025 16:18

while current_op is not None:
next_op = current_op.next_op
if isinstance(current_op, AllocOp):
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

match statement will probably be cleaner here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is now a match statement

@alexarice alexarice force-pushed the alexarice/cond_negate_canon branch 2 times, most recently from 7fd398e to f642c3b Compare February 3, 2025 09:54
Base automatically changed from alexarice/cond_negate_canon to main February 3, 2025 09:57
@alexarice alexarice force-pushed the alexarice/mbqc-legalize branch 2 times, most recently from 8d2e4ee to a0e1167 Compare February 5, 2025 17:07
@alexarice alexarice marked this pull request as ready for review February 5, 2025 17:08
@alexarice alexarice requested a review from kimxworrall February 5, 2025 17:08
@alexarice alexarice force-pushed the alexarice/mbqc-legalize branch from a0e1167 to 21548c1 Compare February 6, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
transformations Changes to passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant