Skip to content

Commit

Permalink
Merge branch 'master' into adjoint_diff_improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
albi3ro authored Jun 9, 2021
2 parents 0b2ca44 + 0b5da11 commit 347a979
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pennylane/_grad.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ class grad:
argnum (int, list(int), None): Which argument(s) to take the gradient
with respect to. By default, the arguments themselves are used
to determine differentiability, by examining the ``requires_grad``
property. Providing this keyword argument overrides this behaviour,
allowing argument differentiability to be defined manually for the returned gradient function.
property.
Returns:
function: The function that returns the gradient of the input
Expand Down

0 comments on commit 347a979

Please sign in to comment.