-
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 output dimensions bug in hamiltonian_expand (#5494)
**Context:** `hamiltonian_expand` reverses the order of dimensions for shot vectors and parameter broadcasting **Description of the Change:** Change a transpose operation to only transpose the last two dimensions if applicable. **Related GitHub Issues:** Fixes #5493 [sc-61037]
- Loading branch information
Showing
3 changed files
with
62 additions
and
17 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