-
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.
Avoid intermediate DAGCircuit construction in 2q synthesis
This commit builds on #12109 which added a dag output to the two qubit decomposers that are then used by unitary synthesis to add a mode of operation in unitary synthesis that avoids intermediate dag creation. To do this efficiently this requires changing the UnitarySynthesis pass to rebuild the DAG instead of doing a node substitution.
- Loading branch information
Showing
1 changed file
with
98 additions
and
33 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