Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sparse matrix conversion for SciPy<Real/Imaginary>Evolver #9598

Merged
merged 3 commits into from
Feb 16, 2023

Conversation

Cryoris
Copy link
Contributor

@Cryoris Cryoris commented Feb 16, 2023

Summary

Same issue as #9575: due to a missing indent sparse operators were accidentally converted to dense matrices.
This led to the kernel being dumped on ~20 qubit time evolution whereas this should only take seconds to minutes to run.

Details and comments

I just updated the reno from #9575 to also include this PR as it's exactly the same problem 🙂

@Cryoris Cryoris added stable backport potential The bug might be minimal and/or import enough to be port to stable Changelog: Bugfix Include in the "Fixed" section of the changelog mod: algorithms Related to the Algorithms module labels Feb 16, 2023
@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the the following people are requested to review this:

Copy link
Contributor

@ElePT ElePT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shall continue to be on the hunt for indentation errors. Thanks so much for catching this. LGTM.

@coveralls
Copy link

coveralls commented Feb 16, 2023

Pull Request Test Coverage Report for Build 4192422311

  • 0 of 4 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.001%) to 85.274%

Changes Missing Coverage Covered Lines Changed/Added Lines %
qiskit/algorithms/time_evolvers/classical_methods/evolve.py 0 4 0.0%
Totals Coverage Status
Change from base Build 4188491363: -0.001%
Covered Lines: 67228
Relevant Lines: 78838

💛 - Coveralls

@mergify mergify bot merged commit e8bfdda into Qiskit:main Feb 16, 2023
mergify bot pushed a commit that referenced this pull request Feb 16, 2023
* Fix missing indent

* add reno

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit e8bfdda)
mergify bot added a commit that referenced this pull request Feb 16, 2023
… (#9600)

* Fix missing indent

* add reno

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit e8bfdda)

Co-authored-by: Julien Gacon <gaconju@gmail.com>
ElePT pushed a commit to ElePT/qiskit that referenced this pull request Jun 27, 2023
…it#9598)

* Fix missing indent

* add reno

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
ElePT pushed a commit to ElePT/qiskit-algorithms-test that referenced this pull request Jul 17, 2023
…it/qiskit#9598)

* Fix missing indent

* add reno

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the "Fixed" section of the changelog mod: algorithms Related to the Algorithms module stable backport potential The bug might be minimal and/or import enough to be port to stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants