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

Remove qiskit_ibm_runtime import from MockIQBackend code #1410

Merged

Conversation

wshanks
Copy link
Collaborator

@wshanks wshanks commented Feb 13, 2024

The import was only used for subclassing
qiskit_ibm_runtime.fake_provider.fake_backend.FakeBackendV2. The code now subclasses qiskit.providers.BackendV2 directly.

@wshanks wshanks force-pushed the mock-iq-without-qiskit-runtime branch from ea945da to e96645d Compare February 13, 2024 17:26
The import was only used for subclassing
`qiskit_ibm_runtime.fake_provider.fake_backend.FakeBackendV2`. The code
now subclasses `qiskit.providers.BackendV2` directly.
@wshanks wshanks force-pushed the mock-iq-without-qiskit-runtime branch from e96645d to 2a66f9d Compare February 13, 2024 17:41
@wshanks wshanks added the backport stable potential The issue or PR might be minimal and/or import enough to backport to stable label Feb 14, 2024
@wshanks wshanks added this pull request to the merge queue Feb 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 14, 2024
@coruscating coruscating added this pull request to the merge queue Feb 14, 2024
Merged via the queue into qiskit-community:main with commit aa3b54f Feb 14, 2024
11 checks passed
mergify bot pushed a commit that referenced this pull request Feb 14, 2024
The import was only used for subclassing
`qiskit_ibm_runtime.fake_provider.fake_backend.FakeBackendV2`. The code
now subclasses `qiskit.providers.BackendV2` directly.

(cherry picked from commit aa3b54f)
coruscating pushed a commit that referenced this pull request Feb 14, 2024
…#1410) (#1411)

This is an automatic backport of pull request #1410 done by
[Mergify](https://mergify.com).


---


<details>
<summary>Mergify commands and options</summary>

<br />

More conditions and actions can be found in the
[documentation](https://docs.mergify.com/).

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](https://dashboard.mergify.com) you
can:

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

Finally, you can contact us on https://mergify.com
</details>

Co-authored-by: Will Shanks <[email protected]>
@wshanks wshanks deleted the mock-iq-without-qiskit-runtime branch February 19, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport stable 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.

3 participants