forked from PennyLaneAI/pennylane
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically test plxpr capture integration with
assert_valid
(Pen…
…nyLaneAI#5686) **Context:** Following on from PennyLaneAI#5523, we need a good way of ensuring operations will integrate well with program capture. **Description of the Change:** This PR adds a check to the `assert_valid` function to ensure capture is working as expected. It then starts to fix up some operations that were failing to be captured correctly. **Benefits:** More robust integration with pl capture. **Possible Drawbacks:** I'm realizing a lot more operators fail to be immediately captured than I initially assumed 😢 **Related GitHub Issues:** [sc-63310] --------- Co-authored-by: dwierichs <[email protected]> Co-authored-by: Thomas R. Bromley <[email protected]>
- Loading branch information
1 parent
4ff59f7
commit ddfb019
Showing
13 changed files
with
204 additions
and
26 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
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
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
Oops, something went wrong.