-
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.
Use singleton canonical instances for OpenQASM 3 gate lookups (#13342)
This reduces most symbol-table lookups for gate calls to simple `is` lookups, which is a sizeable increase in performance for the majority of large circuits passed to the OpenQASM 3 exporter. These circuits are typically entirely dominated by standard-library gate calls. Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>
- Loading branch information
1 parent
af8be25
commit d7be00e
Showing
2 changed files
with
86 additions
and
42 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