-
Notifications
You must be signed in to change notification settings - Fork 185
Add warning for ibm_quantum
channel sunset
#2205
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Kevin! If I am not mistaken, the migration to cloud also involves using new tokens. I know it's part of the migration guide, but maybe we should point that out explicitly too (as in, show a deprecation warning in the token argument).
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com>
@@ -155,6 +158,15 @@ def __init__( | |||
self._api_client = RuntimeClient(self._client_params) | |||
self._backend_allowed_list = self._discover_cloud_backends() | |||
else: | |||
warnings.warn( | |||
'The "ibm_quantum" channel option is deprecated and will be sunset on 1 July. ' | |||
"After this date, ibm_cloud will be the only valid channel. " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kt474, isn't local
also a valid channel after July 1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that was an oversight - I'll update this message and backport
Summary
ibm_quantum
channel and IQP classic will be sunset on July 1st.Public docs with references of
ibm_quantum
channel - https://docs.quantum.ibm.com/api/qiskit-ibm-runtime/qiskit-runtime-serviceDetails and comments
Fixes #2207