Skip to content

Remove ibm_quantum channel to support runtime 0.41+#1705

Merged
Tansito merged 10 commits intomainfrom
update-runtime-version
Sep 8, 2025
Merged

Remove ibm_quantum channel to support runtime 0.41+#1705
Tansito merged 10 commits intomainfrom
update-runtime-version

Conversation

@ElePT
Copy link
Collaborator

@ElePT ElePT commented Aug 19, 2025

Summary

After the sunset of the IQP classic platform, this PR implements two important changes in the serverless clients:

  1. Stops accepting ibm_quantum as a valid input channel
  2. Updates the default channel to ibm_quantum_platform instead of ibm_quantum

As a consequence:

  1. The instance input argument will always be required from now on, as the argument was only optional with the ibm_quantum channel.

These two changes will allow the client to be compatible with qiskit-ibm-runtime 0.41 and onwards, fixing #1702.

It's important to note that Channels.IBM_QUANTUM is still present and no changes have been performed on the gateway or API to allow for a gradual transition for partner function users and developers. Users can update to the new client to use the latest runtime version without any breaking changes to the server-side code, and allow extra time for function developers to transition away from any unexpected dependencies on the ibm_quantum channel before its complete removal from the API.

Details and comments

This PR must be accompanied by a PR on qiskit-ibm-catalog to update the default channel value on the catalog clients.

See: Qiskit/qiskit-ibm-catalog#60

ElePT added 2 commits August 26, 2025 14:13
- change default channel to ibm_quantum_platform
- update unit and integration tests to include instance (mandatory with cloud channels)
@ElePT ElePT force-pushed the update-runtime-version branch from 670900f to e870505 Compare August 26, 2025 12:23
@ElePT ElePT marked this pull request as ready for review August 26, 2025 12:39
@ElePT ElePT requested a review from a team as a code owner August 26, 2025 12:39
Copy link
Member

@Tansito Tansito left a comment

Choose a reason for hiding this comment

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

Thanks @ElePT ! I see everything fine, I only have one comment related with the IBM Quantum channel. Should we just remove it from the client enum also? It doesn't affect to the gateway I think and this logic it's only used in the client so I think it's safe to remove it.

@ElePT
Copy link
Collaborator Author

ElePT commented Aug 28, 2025

I have applied your suggestion and also modified the pin on the qiskit-ibm-runtime package to >=0.40.1, <1. 0.40.1 is the first working version post-IQP-migration that I think makes sense to support for consistency with the channels supported in this serverless version.

Copy link
Member

@Tansito Tansito left a comment

Choose a reason for hiding this comment

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

Thanks @ElePT LGTM! 😄

@Tansito Tansito merged commit 37f9e0e into main Sep 8, 2025
14 checks passed
@Tansito Tansito deleted the update-runtime-version branch September 8, 2025 18:22
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.

2 participants