-
Notifications
You must be signed in to change notification settings - Fork 575
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the stacking (and transposing) behaviour of
qml.jacobian
(#2059
) * main commit * black * changelog * lint * docstrings * correct changelog * black * remove prints in tests * add comment regarding QNGOptimizer and multiple arugments * black * add accidentally deleted print * inline code blocks * Apply suggestions from code review Co-authored-by: Josh Izaac <josh146@gmail.com> * basic example qml.jacobian * qng todo comment * intermediate * tests * Apply suggestions from code review Co-authored-by: David Ittah <dime10@users.noreply.github.com> * Introduce `qml.math.safe_squeeze` and remove excessive squeezes from `gradient_transform` (#2080) * safe_squeeze+tests * gradient trafo * include previously skipped tests * black * changelog * Apply suggestions from code review Co-authored-by: Josh Izaac <josh146@gmail.com> Co-authored-by: Josh Izaac <josh146@gmail.com> * code review: doc string and old note * table column size * exception generalization to accomodate for TF exceptions in safe_squeeze * concrete exceptions in safe_squeeze * column widths * tf error in safe_squeeze * rotosolve linting gone wrong, included here * remove unused scenario in QNG * extend comment; remove condition for linting purpose Co-authored-by: Josh Izaac <josh146@gmail.com> Co-authored-by: David Ittah <dime10@users.noreply.github.com> Co-authored-by: antalszava <antalszava@gmail.com>
- Loading branch information
1 parent
34d77f8
commit 1275736
Showing
30 changed files
with
846 additions
and
470 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
Oops, something went wrong.