Skip to content

Conversation

doichanj
Copy link
Collaborator

Summary

This is fix for SIGSEGV on MPS simulator #2220

Details and comments

In size estimator of MPS, SIGSEGV raised at std::set.find() if unsupported gates are passed to MPS simulator.
This fix checks return of std::set.find() to avoid SIGSEGV

@doichanj doichanj added stable-backport-potential The issue or PR might be minimal and/or import enough to backport to stable Changelog: Bugfix Include in the Fixed section of the changelog labels Sep 13, 2024
@doichanj doichanj requested a review from hhorii September 13, 2024 02:21
@doichanj doichanj merged commit 5ae3725 into Qiskit:main Sep 13, 2024
34 checks passed
doichanj added a commit to doichanj/qiskit-aer that referenced this pull request Sep 13, 2024
@doichanj doichanj mentioned this pull request Sep 13, 2024
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 stable-backport-potential The issue or PR might be minimal and/or import enough to backport to stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants