-
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.
Remove pformat from stochastic swap log messages (#3812)
When profiling a level 0 transpile of a 20x50 random circuit the timing data shows that after switching to retworkx the largest chunk of time in in stochastic swap's _layer_permutation function is spent calling pformat for log messages. This is just for debugging and is unecessary, and in a world where we're no longer bottlenecked on dag operations a signifcant cost to the run time.
- Loading branch information
Showing
1 changed file
with
9 additions
and
10 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