-
Notifications
You must be signed in to change notification settings - Fork 621
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deprecations that weren't caught by CI (#6879)
**Context:** PR #6822 deprecated the arguments `config` and `inner_transform_program` to `qml.execute`. However, because of some bug in our CI, the `qml.PennyLaneDeprecationWarning` are not being treated as errors. I just happened to find this warning in our CI logs. **Description of the Change:** Promoted `qml.PennyLaneDeprecationWarning` to a `ValueError` to fish out any deprecated code. Updated said code to use `qml.workflow.run` instead of `qml.execute`. [sc-81529]
- Loading branch information
1 parent
721acb2
commit afec979
Showing
3 changed files
with
6 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters