Update existing transpiler passes to support final_permutation
#12127
Labels
mod: transpiler
Issues and PRs related to Transpiler
final_permutation
#12127
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) orfinal_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.The text was updated successfully, but these errors were encountered: