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

Remove gate-set predicates from DecomposeSwapsToCXs #1599

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

cqc-alec
Copy link
Collaborator

@cqc-alec cqc-alec commented Oct 1, 2024

Description

The fix in #1598 was incomplete: DecomposeSwapsToCXs needs to work with classical gates such a RangePredicate as well. I think the most robust fix is to remove the gate-set predicates from this pass altogether.

Related issues

Relates to #1597 .

Checklist

  • I have performed a self-review of my code.
  • I have commented hard-to-understand parts of my code.
  • I have made corresponding changes to the public API documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have updated the changelog with any user-facing changes.

@cqc-alec cqc-alec requested a review from sjdilkes October 1, 2024 09:22
@cqc-alec cqc-alec marked this pull request as ready for review October 1, 2024 09:22
@cqc-alec cqc-alec merged commit d975867 into main Oct 1, 2024
32 checks passed
@cqc-alec cqc-alec deleted the ae/decompswapstocx branch October 1, 2024 09:45
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.

2 participants