-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* implement and test __invert__ * add else_op to qml.cond * using inversion in an integration * format * copy measurement under the hood when else; else test * format * err tests * format * docstrings * isort * test_condition * docstrings * format * no need for separate logic for ops * refactor wrapper as per Josh's suggestion from code review * Update tests/transforms/test_defer_measurements.py Co-authored-by: Josh Izaac <josh146@gmail.com> * two unit tests for checking qml.cond queuing * add queue unit tests * format * invert docstring * rename arguments * module docstring * module docstring: note where integration tests are * changelog * Update pennylane/transforms/condition.py Co-authored-by: Josh Izaac <josh146@gmail.com> Co-authored-by: Josh Izaac <josh146@gmail.com>
- Loading branch information
1 parent
6f2283d
commit 0308d78
Showing
6 changed files
with
482 additions
and
18 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
Oops, something went wrong.