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

Add loop ops to Aer BackendV2 test #9636

Merged
merged 2 commits into from
Feb 22, 2023
Merged

Conversation

jakelishman
Copy link
Member

Summary

789707c (gh-9630) added a test for wrapping Aer in a converted BackendV2 subject to providing an extended name mapping for all the custom instructions that Aer supports, which Terra does not generally define. However, the supported lists were based off a slightly older version of Aer (approximately release version 0.11), and fail on the current main version (due to soon become version 0.12) because of break_loop and continue_loop support being added.

Details and comments

789707c (Qiskitgh-9630) added a test for wrapping Aer in a converted
`BackendV2` subject to providing an extended name mapping for all the
custom instructions that Aer supports, which Terra does not generally
define.  However, the supported lists were based off a slightly older
version of Aer (approximately release version 0.11), and fail on the
current `main` version (due to soon become version 0.12) because of
`break_loop` and `continue_loop` support being added.
@jakelishman jakelishman added the Changelog: None Do not include in changelog label Feb 22, 2023
@jakelishman jakelishman requested review from a team and jyu00 as code owners February 22, 2023 13:46
@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

@jakelishman jakelishman added the stable backport potential The bug might be minimal and/or import enough to be port to stable label Feb 22, 2023
@jakelishman jakelishman added this to the 0.23.2 milestone Feb 22, 2023
Copy link
Member

@mtreinish mtreinish left a comment

Choose a reason for hiding this comment

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

LGTM, seems straightforward enough. Yeah I wrote that test with the current released version of aer on pypi and repeatedly running the test until I had every instruction in the aer simulator's basis gates list.

@jakelishman
Copy link
Member Author

I just tried to run the test suite locally in an env that has main Aer, which is how I found it.

@coveralls
Copy link

coveralls commented Feb 22, 2023

Pull Request Test Coverage Report for Build 4243801770

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 85.299%

Totals Coverage Status
Change from base Build 4243369262: 0.0%
Covered Lines: 67327
Relevant Lines: 78931

💛 - Coveralls

@mergify mergify bot merged commit 72a7eac into Qiskit:main Feb 22, 2023
mergify bot pushed a commit that referenced this pull request Feb 22, 2023
789707c (gh-9630) added a test for wrapping Aer in a converted
`BackendV2` subject to providing an extended name mapping for all the
custom instructions that Aer supports, which Terra does not generally
define.  However, the supported lists were based off a slightly older
version of Aer (approximately release version 0.11), and fail on the
current `main` version (due to soon become version 0.12) because of
`break_loop` and `continue_loop` support being added.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit 72a7eac)
mergify bot added a commit that referenced this pull request Feb 22, 2023
789707c (gh-9630) added a test for wrapping Aer in a converted
`BackendV2` subject to providing an extended name mapping for all the
custom instructions that Aer supports, which Terra does not generally
define.  However, the supported lists were based off a slightly older
version of Aer (approximately release version 0.11), and fail on the
current `main` version (due to soon become version 0.12) because of
`break_loop` and `continue_loop` support being added.

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

Co-authored-by: Jake Lishman <[email protected]>
Eric-Arellano pushed a commit to Eric-Arellano/qiskit-terra that referenced this pull request Feb 23, 2023
789707c (Qiskitgh-9630) added a test for wrapping Aer in a converted
`BackendV2` subject to providing an extended name mapping for all the
custom instructions that Aer supports, which Terra does not generally
define.  However, the supported lists were based off a slightly older
version of Aer (approximately release version 0.11), and fail on the
current `main` version (due to soon become version 0.12) because of
`break_loop` and `continue_loop` support being added.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
@jakelishman jakelishman deleted the add-aer-loop-ops branch April 6, 2023 10:51
ElePT pushed a commit to ElePT/qiskit-ibm-provider that referenced this pull request Oct 9, 2023
c785fcb (gh-9630) added a test for wrapping Aer in a converted
`BackendV2` subject to providing an extended name mapping for all the
custom instructions that Aer supports, which Terra does not generally
define.  However, the supported lists were based off a slightly older
version of Aer (approximately release version 0.11), and fail on the
current `main` version (due to soon become version 0.12) because of
`break_loop` and `continue_loop` support being added.

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: 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.

4 participants