qml
qml copied to clipboard
raise PL deprecations as errors
Context: we'd like to catch PL deprecation warnings as early as possible, so we can fix them well before feature freeze. We already do this with PL and plugin tests, so it's become rather standard
Changes:
- Raise
qml.PennyLaneDeprecationWarning
's as errors when building demos - update uses of
qml.matrix()
that hit the deprecated behaviour, either by adding a wire order or providing an object that has wires - Unrelated but blocking: add
disable_new_opmath
to the end of thetutorial_liealgebra.py
, as it enabled it at the start and this caused other demos to fail
Side note: I know we're moving away from the term "ancilla". I decided to not change it in the encounters I had in this PR because there are 162 instances of the string in the repo, but we might want to swap it out in another PR.
Thank you for opening this pull request.
You can find the built site at this link.
Deployment Info:
- Pull Request ID:
1038
- Deployment SHA:
bfff3337b68d7e83a780ac6f942324b8a8a85a77
(TheDeployment SHA
refers to the latest commit hash the docs were built from)
Note: It may take several minutes for updates to this pull request to be reflected on the deployed site.