You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Various demos are raising jax deprecation warnings. While they continue to run for now, these demos will fail in the future when jax completes their deprecation cycles. We need to head off these deprecation warnings and fix them.
The demos that raise deprecations include, but are not limited to:
/home/runner/work/qml/qml/demonstrations/tutorial_implicit_diff_susceptibility.py:266: DeprecationWarning: Accessing jax.config via the jax.config submodule is deprecated.
from jax.config import config
/home/runner/work/qml/qml/demonstrations/tutorial_optimal_control.py:506: DeprecationWarning: hstack requires ndarray or scalar arguments, got <class 'list'> at position 0. In a future JAX release this will be an error.
params = [jnp.hstack([[0.1 * (-1) ** i for i in range(P)], time]) for time in times]
These are just the demos I manually checked. Other demos may also be raising deprecation warnings uncaught.
The text was updated successfully, but these errors were encountered:
Various demos are raising jax deprecation warnings. While they continue to run for now, these demos will fail in the future when jax completes their deprecation cycles. We need to head off these deprecation warnings and fix them.
The demos that raise deprecations include, but are not limited to:
https://pennylane.ai/qml/demos/tutorial_implicit_diff_susceptibility/#implicit-differentiation-of-ground-states-in-pennylane
https://pennylane.ai/qml/demos/tutorial_jax_transformations/
Which both warn:
And:
https://pennylane.ai/qml/demos/tutorial_optimal_control/
which warns
These are just the demos I manually checked. Other demos may also be raising deprecation warnings uncaught.
The text was updated successfully, but these errors were encountered: