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

Update existing transpiler passes to support final_permutation #12127

Open
8 tasks
jakelishman opened this issue Apr 3, 2024 · 0 comments
Open
8 tasks

Update existing transpiler passes to support final_permutation #12127

jakelishman opened this issue Apr 3, 2024 · 0 comments
Labels
mod: transpiler Issues and PRs related to Transpiler

Comments

@jakelishman
Copy link
Member

Depending on the results of the conversation here: #9523 (comment), there are a few transpiler passes that would also need updating to support either final_layout (the current form) or final_permutation (a proposed alternate form).

Needed in all cases

Needed if we replace final_layout

I think it's a current bug in O3 that OptimizeSwapBeforeMeasure can modify the virtual mapping at the end of the circuit without updating the final layout in a way that the routers will detect. Using the explicit permutation form as part of the IR (in both virtual and physical domains) as we were talking about in #9523 (comment) would be a good way of avoiding that happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod: transpiler Issues and PRs related to Transpiler
Projects
None yet
Development

No branches or pull requests

1 participant