-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only run a single inner routing trial for layout stage in SabreLayout (…
…#10741) * Only run a single inner routing trial for layout stage in SabreLayout In the SabreLayout routing pass we internally run sabre swap multiple times forward and backwards over the circuit and transform the layout based on the swaps that would be inserted by the routing pass. Previously we were running multiple routing trials for this internal execution of routing and then selecting the routing result with the least numbers of swaps inserted. However, this heuristic of least swaps does not necessarily result in a better layout. When increasing the number of swap trials used for sabre layout the output quality could result in more swaps being necessary. This points to the heuristic for the best routing output to use for a layout is not the minimal number of swaps. Until a more suitable heuristic can be developed for selecting the best routing output to use for an intermediate layout transform this commit removes the use of multiple trials for layout purposes and only runs a single trial. We still use multiple swap trials for the final routing as the swap count heuristic works there, but for layout we only run a single trial. * Avoid rayon use when running a single routing trial
- Loading branch information
Showing
3 changed files
with
52 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters