Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use native Gate.dagger() in Program.dagger()
This removes a bunch of logic around creating inverse gates from user-defined gates. If anyone thinks that stuff is useful, then I would argue that it should be in some util function, not in Program.dagger(). Kept kw args for backwards compat :(
- Loading branch information
Showing
2 changed files
with
17 additions
and
86 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