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

CXMappingPass fails on circuits containing wire swaps or barriers #1597

Closed
cqc-alec opened this issue Sep 30, 2024 · 0 comments · Fixed by #1598
Closed

CXMappingPass fails on circuits containing wire swaps or barriers #1597

cqc-alec opened this issue Sep 30, 2024 · 0 comments · Fixed by #1598
Assignees
Labels
bug Something isn't working

Comments

@cqc-alec
Copy link
Collaborator

cqc-alec commented Sep 30, 2024

Since #1575 , the preconditions of the CXMappingPass became stronger. This causes application of pytket-qiskit's default compilation passes to fail, either with

RuntimeError: Predicate requirements are not satisfied: GateSetPredicate:{ CX GPI2 GPI PhasedX TK1 Reset U1 Collapse U2 Measure U3 noop Rz BRIDGE Ry Z X Y S Sdg T Tdg V Vdg SX SXdg SWAP H Rx }

or with

RuntimeError: Predicate requirements are not satisfied: NoWireSwapsPredicate

This blocks the 1.33.0 release so high priority.

@cqc-alec cqc-alec added the bug Something isn't working label Sep 30, 2024
@cqc-alec cqc-alec self-assigned this Sep 30, 2024
@cqc-alec cqc-alec changed the title CXMappingPass no longer composable with NaivePlacementPass CXMappingPass can no longer be composed in some SequencePasses Sep 30, 2024
@cqc-alec cqc-alec changed the title CXMappingPass can no longer be composed in some SequencePasses CXMappingPass fails on circuits containing wire swaps or barriers Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant