-
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.
Filter possible 2q decomposers more carefully in unitary synthesis (#…
…10008) (#10074) * Detect invalid input in XXDecomposer and raise errors * Allow passing weyl decomposition to 2q decomposers This is an optimization. We plan to compute this decomposition before calling the 2q decomposers. So we want to be able to reuse it. * Decompose unitary to synthesize to filter 2q decomposers * Format with black * Remove obsolete function * Reformat * Fix lint complaints * Add tests for new error raised in XXDecomposer * lighter-weight bug fix * update test case for product of unitaries --------- Co-authored-by: Ali Javadi <[email protected]> (cherry picked from commit 93b561c) Co-authored-by: John Lapeyre <[email protected]>
- Loading branch information
1 parent
b174fc5
commit 16bcd4c
Showing
4 changed files
with
99 additions
and
17 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
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