-
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.
* added custom return object * added comparison * added more asserts * progress * changed description * Update pennylane/_qubit_device.py Co-authored-by: antalszava <antalszava@gmail.com> * Update tests/devices/test_custom_return_obj.py Co-authored-by: antalszava <antalszava@gmail.com> * Update tests/devices/test_custom_return_obj.py Co-authored-by: antalszava <antalszava@gmail.com> * Custom return type (#2813) * fix problem from #2808 (comment) * also test device gradient with custom return type * Empty-Commit * fixed formatting for test * moved test to existing autograd test file * Update doc/releases/changelog-dev.md Co-authored-by: antalszava <antalszava@gmail.com> * reverted * fixed * fixed change * seperated into 2 testcases * fixed black Co-authored-by: antalszava <antalszava@gmail.com> Co-authored-by: cvjjm <60615188+cvjjm@users.noreply.github.com>
- Loading branch information
1 parent
465642b
commit 07cc9a4
Showing
3 changed files
with
149 additions
and
3 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