Skip to content

Enable the use of IBM Quantum platform (cloud) tokens for login #27

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

Merged
merged 2 commits into from
Jun 26, 2025

Conversation

cbjuan
Copy link
Member

@cbjuan cbjuan commented Jun 26, 2025

Description

This PR enables the extension to use the tokens located in the default-ibm-quantum-platform section of the ~/.qiskit/qiskit-ibm.json file for authentication with the tokens from the new IBM Quantum cloud platform. As of today, the tokens from that new platform (https://quantum.cloud.ibm.com) and the classic one (https://quantum.ibm.com) can be used, but after July 1st, the tokens from the classic one will not be useful.

Linked Issue(s)

Fixes #26

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Local testing with the extension installed in dev mode

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@cbjuan cbjuan added the enhancement New feature or request label Jun 26, 2025
Copy link
Collaborator

@vabarbosa vabarbosa left a comment

Choose a reason for hiding this comment

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

thank you

Copy link
Collaborator

@ajbozarth ajbozarth left a comment

Choose a reason for hiding this comment

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

IIUC the token name is changing and we just need to support the new token name?

If so this LGTM

@ajbozarth
Copy link
Collaborator

Also I looked into the CI failures and opened #28 if you want to review and merge that then rebase this so the CI can run

@cbjuan
Copy link
Member Author

cbjuan commented Jun 26, 2025

IIUC the token name is changing and we just need to support the new token name?

If so this LGTM

Yes, for the cloud environment basically there is a new entry in the JSON file with the same structure and basically changes the name, so the change is pretty basic.

@cbjuan cbjuan merged commit f9c1e4c into main Jun 26, 2025
6 checks passed
@cbjuan cbjuan deleted the accept-iqp-cloud-tokens branch June 26, 2025 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FEATURE: Enable authentication through IBM Quantum cloud API tokens
3 participants