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

Return only default backends by the Qiskit provider #602

Merged
merged 6 commits into from
Apr 23, 2024

Conversation

ArthurKamalov
Copy link
Contributor

@ArthurKamalov ArthurKamalov commented Apr 17, 2024

The qiskit's 'provider.backends' method returns only default backends.

Things to consider:

  • In some cases, due to other filtering conditions, there may be resulting lists without any default backend.
    Like in this test -

    backend = provider.get_backend("ionq.simulator", input_data_format="qir.v1")

    In such case we just do not filter for default backends and return previous version of the list.

  • There wasn't any default backend for Rigetti, so I made RigettiSimulatorBackend default.

@ArthurKamalov ArthurKamalov changed the title Returns only default backends by the Qiskit provider Return only default backends by the Qiskit provider Apr 17, 2024
@ArthurKamalov ArthurKamalov marked this pull request as ready for review April 17, 2024 19:25
@ArthurKamalov ArthurKamalov requested a review from a team as a code owner April 17, 2024 19:25
@kikomiss kikomiss merged commit 0699fa5 into main Apr 23, 2024
7 checks passed
@kikomiss kikomiss deleted the artur/get-only-default-qiskit-backends branch April 23, 2024 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants