-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Description of the Change:** - Update the gradients transforms to the new system **Benefits:** - [x] Parameter shift - [x] Parameter shift CV - [x] Finite diff - [x] Hadamard - [x] SPSA - [x] Pulse gradient - [x] Pulse ode - [x] Metric tensor - [x] Adjoint metric tensor - [x] Quantum Fisher ~Classical fisher~ no tape equivalent ~Hessian param shift~ Separate PR Major changes: - The full program is constructed in the QNode because we need to access the QNode when building classical jacobians. - Update drawer - Two private methods to construct argnums and classical jacobians in the transform program - Metric tensor raises errors instead of warnings - Remove the spy for gradient transforms ------- **Possible Drawbacks:** **Related GitHub Issues:** --------- Co-authored-by: Mudit Pandey <[email protected]>
- Loading branch information
Showing
75 changed files
with
1,160 additions
and
1,741 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
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.