forked from openqasm/qe-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize greedy rewrite passes (openqasm#298)
Optimize a number of greedy rewrite passes. - QUIRAngleConversionPass: Goes from about ~7.5s for 100x100 to 0.9s on my machine
- Loading branch information
1 parent
b49d19f
commit dc5252f
Showing
3 changed files
with
20 additions
and
3 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
8 changes: 8 additions & 0 deletions
8
releasenotes/notes/optimize-greedy-rewrites-b042d4e824642f9a.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
features: | ||
- | | ||
The performance of the QUIRAngleConversionPass has been improved by a factor of | ||
~8-10x by optimizing the greedy rewrite behaviour. | ||
- | | ||
Parallelize control flow improves by ~8-10x due to a quadratic scaling factor | ||
that was uncovered. |