Skip to content

Add support on QuantumInstance/run_circuits for Backends that don't handle QasmQobj (backport #6299)#6343

Merged
mergify[bot] merged 4 commits into
stable/0.17from
mergify/bp/stable/0.17/pr-6299
May 3, 2021
Merged

Add support on QuantumInstance/run_circuits for Backends that don't handle QasmQobj (backport #6299)#6343
mergify[bot] merged 4 commits into
stable/0.17from
mergify/bp/stable/0.17/pr-6299

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented May 3, 2021

This is an automatic backport of pull request #6299 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

…andle QasmQobj (#6299)

* Support BackendV1

* Add error mitigation logic.
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

* Fix run_circuits calls

* add unit tests

* Update qiskit/utils/run_circuits.py

Add check for providers that don't support it.

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

* Add error mitigation test

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit a0ed7ff)
@mergify mergify Bot requested review from a team, manoelmarques and woodsp-ibm as code owners May 3, 2021 17:12
mtreinish
mtreinish previously approved these changes May 3, 2021
@mtreinish mtreinish added automerge Changelog: Fixed Add a "Fixed" entry in the GitHub Release changelog. labels May 3, 2021
2 of the tests added in #6299 depend on the fake backends in
qiskit.test.mock being strict BackendV1 backends (that reject qobj) and
also having other aspects of the interface implemented (mainly run
kwargs). However the change which updated the fake backends to use
BackendV1 (#6286) is not backportable as it's an API change, so these
tests are runnable in stable/0.17. This commit just removes these tests
because even if we could get them running without #6286 we wouldn't be
actually testing the v1 interface (which is their purpose).
mtreinish
mtreinish previously approved these changes May 3, 2021
manoelmarques
manoelmarques previously approved these changes May 3, 2021
@mtreinish mtreinish dismissed stale reviews from manoelmarques and themself via d083e73 May 3, 2021 18:56
@mergify mergify Bot merged commit e73b3c6 into stable/0.17 May 3, 2021
@mergify mergify Bot deleted the mergify/bp/stable/0.17/pr-6299 branch May 3, 2021 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: Fixed Add a "Fixed" entry in the GitHub Release changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants