You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @SBY13, thanks for opening an issue! I tried recreating the error(s) you were getting but didn't get the errors you specified here. Also if you are still using qiskit-ibm-provider you should remove it from your environment (or at least don't use any of its modules) as that package is no longer supported and has been replaced by qiskit-ibm-runtime.
URL to the relevant documentation
Migration guides
Section name: Migrate from
qiskit_ibm_provider
Paragraph: Example: Basic execution
URL: https://docs.quantum.ibm.com/migration-guides/qiskit-runtime-from-ibm-provider
Select all that apply
Describe the fix.
I have rewritten a program using qiskit-ibm-provider based on the examples in 'migrate from qiskit-ibm-provider'.
I found that the following part in 'Example: Basic execution' causes error.
print(f" > Counts: {result[0].data.meas.get_counts()}")
The error message is
And this error is resolved by just replacing 'meas' with 'c':
print(f" > Counts: {result[0].data.c.get_counts()}")
In addition,
generate_preset_pass_manager
also causes errors as in the attached screenshot, but still works. I have no idea how to fix it.Enviroments: Google colab. Python 3 Google Compute Engine backend
Versions:
All of the programs related to the error is same with the guides except for quantum circuits.
The text was updated successfully, but these errors were encountered: