-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Frontend] Update SProd observable tracing (#935)
**Context:** After change 296316654bd6aabb3ff67eb0bac440fa8d706ee8 in PennyLane, the SProd operation will return the flattened terms. **Description of the Change:** This change fixes the tracing of SProd to trace over all terms returned by `obs.terms()` as opposed to only the first term. **Benefits:** Fixes latest/latest/latest **Possible Drawbacks:** None **Related GitHub Issues:** [sc-69025]
- Loading branch information
1 parent
bf69c2b
commit 1e5c6d6
Showing
3 changed files
with
16 additions
and
5 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