Qiskit / qiskit-ibm-runtime

IBM Client for Qiskit Runtime
https://docs.quantum.ibm.com/api/qiskit-ibm-runtime
Apache License 2.0
149 stars 154 forks source link

Improve save_account() error msg #1772

Closed kt474 closed 3 months ago

kt474 commented 3 months ago

Summary

If users attempt to save an IQP account with just a token, and no channel specified, since the default channel is ibm_cloud, it will result in a missing instance error. The error message is now improved to be more clear.

Details and comments

Fixes #

coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 9682952775

Details


Totals Coverage Status
Change from base Build 9605113454: 0.0%
Covered Lines: 6077
Relevant Lines: 7411

💛 - Coveralls
coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 9689138771

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 9685674313: 0.0%
Covered Lines: 6106
Relevant Lines: 7439

💛 - Coveralls