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 SolovayKitaev for roundoff errors in Qiskit gates #9441

Merged
merged 7 commits into from
Jan 24, 2023

Conversation

Cryoris
Copy link
Contributor

@Cryoris Cryoris commented Jan 24, 2023

Summary

Fixes #9437.

Cryoris and others added 3 commits January 24, 2023 11:39
Co-authored-by: Shelly Garion <46566946+ShellyGarion@users.noreply.github.com>
@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 labels Jan 24, 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:

  • @Qiskit/terra-core

@mtreinish mtreinish added this to the 0.23.0 milestone Jan 24, 2023
Copy link
Member

@ShellyGarion ShellyGarion left a comment

Choose a reason for hiding this comment

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

I can confirm that I do not see the bug again in my Linux environment.
I checked both the circuit in the test and the original circuit in #9437

@coveralls
Copy link

coveralls commented Jan 24, 2023

Pull Request Test Coverage Report for Build 3998021160

  • 11 of 11 (100.0%) changed or added relevant lines in 3 files are covered.
  • 4 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.03%) to 84.891%

Files with Coverage Reduction New Missed Lines %
qiskit/synthesis/discrete_basis/commutator_decompose.py 1 95.95%
qiskit/pulse/library/waveform.py 3 91.67%
Totals Coverage Status
Change from base Build 3997853200: -0.03%
Covered Lines: 66520
Relevant Lines: 78359

💛 - Coveralls

@mtreinish mtreinish added automerge Changelog: None Do not include in changelog labels Jan 24, 2023
@mtreinish
Copy link
Member

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented Jan 24, 2023

refresh

✅ Pull request refreshed

@mergify mergify bot merged commit 088a84f into Qiskit:main Jan 24, 2023
mergify bot pushed a commit that referenced this pull request Jan 24, 2023
* fix tol and skip test for Qiskit gates

* Add regression test

Co-authored-by: Shelly Garion <46566946+ShellyGarion@users.noreply.github.com>

* add reno

* flip the check_input!

* properly include ``check_input`` in all ``_recurse``

* rm reno -- SK not released yet

Co-authored-by: Shelly Garion <46566946+ShellyGarion@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit 088a84f)
@mtreinish mtreinish removed the Changelog: Bugfix Include in the "Fixed" section of the changelog label Jan 24, 2023
mergify bot added a commit that referenced this pull request Jan 24, 2023
* fix tol and skip test for Qiskit gates

* Add regression test

Co-authored-by: Shelly Garion <46566946+ShellyGarion@users.noreply.github.com>

* add reno

* flip the check_input!

* properly include ``check_input`` in all ``_recurse``

* rm reno -- SK not released yet

Co-authored-by: Shelly Garion <46566946+ShellyGarion@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit 088a84f)

Co-authored-by: Julien Gacon <gaconju@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: None Do not include in changelog 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.

Solovay-Kitaev, ValueError: Input matrix is not orthogonal.
5 participants