-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sparse matrix conversion for
SciPy<Real/Imaginary>Evolver
(#9598)
* Fix missing indent * add reno --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit e8bfdda)
- Loading branch information
1 parent
1f12ffa
commit 3703dc3
Showing
2 changed files
with
9 additions
and
6 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
7 changes: 5 additions & 2 deletions
7
releasenotes/notes/fix-numpy-eigensolver-sparse-0e255d7b13b5e43b.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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed a bug in :class:`~.minimum_eigensolvers.NumPyMinimumEigensolver` and | ||
:class:`~.eigensolvers.NumPyEigensolver` where operators that support conversion | ||
Fixed a bug in the NumPy-based eigensolvers | ||
(:class:`~.minimum_eigensolvers.NumPyMinimumEigensolver` / | ||
:class:`~.eigensolvers.NumPyEigensolver`) | ||
and in the SciPy-based time evolvers (:class:`.SciPyRealEvolver` / | ||
:class:`.SciPyImaginaryEvolver`), where operators that support conversion | ||
to sparse matrices, such as :class:`.SparsePauliOp`, were converted to dense matrices anyways. |