-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix output of
DensityMatrix.partial_transpose
to match input dimens…
…ions (#10163) (#10215) * (fix) change output of partial_transpose to return DensityMatrix matching input dimensions * (test) check output dims match input dims when using DensityMatrix.partial_transpose * (docs) add bugfix reno * lint changes * Fix up release note --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com> (cherry picked from commit 6f29d7b) Co-authored-by: Diego Emilio Serrano <65074936+diemilio@users.noreply.github.com>
- Loading branch information
1 parent
aa6066c
commit d1b8c5d
Showing
3 changed files
with
15 additions
and
1 deletion.
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
5 changes: 5 additions & 0 deletions
5
releasenotes/notes/fix-partial-transpose-output-dims-3082fcf4147055dc.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed the dimensions of the output density matrix from :meth:`.DensityMatrix.partial_transpose` | ||
so they match the dimensions of the corresponding input density matrix. |
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