[BUG] Issues with metric_tensor
and trainable params causing errors with jax
#5642
Labels
bug 🐛
Something isn't working
Expected behavior
I expect similar behaviour as with interfaces.
Actual behavior
traceback below
Basically, since the device decomposes an operation, the
trainable_params
gets out of date, and there becomes a mismatch in the number of trainable parameters between the classical jacobian component and the quantum metric tensor component.Additional information
Fixing this is going to take some thought into the nature of
trainable_params
and when we can rely on it.Source code
To reproduce the error, you need:
Tracebacks
System information
Existing GitHub issues
The text was updated successfully, but these errors were encountered: