-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where
split_non_commuting
erases trainability of observables (
#5838) **Context:** The post processing function of `split_non_commuting` incorrectly converts the interface of results and erases the trainability of `Hamiltonian` observables **Description of the Change:** Removes `convert_like` call. **Related GitHub Issues:** Fixes #5837 [sc-65649]
- Loading branch information
Showing
3 changed files
with
93 additions
and
30 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