[BUG] Differentiating autograd.numpy.linalg.norm
gives incorrect results
#612
Labels
bug
This item is a bug that needs to be investigated or fixed
This came to be known due to an issue on the PennyLane GitHub. Consider the following function:
The norm of
coeff
is1.0
, so I get the same jacobian if I remove the normalization step. However, if I usenp.linalg.norm
instead, I get a different jacobian:System info:
The text was updated successfully, but these errors were encountered: