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
I'm quite new into the qiskit library, but I end up in this tutorial in how to migrate for old backend.run to the samplers new version of it and find out it crashes when trying to retreive the pub_result.data.meas.get_counts() saying "meas" does not exist in data object.
I then debugged the code and found out that there is a "c" object that actually seems to contain what it was expected to be found at "meas", not sure why, but it seems.
The text was updated successfully, but these errors were encountered:
thanks for the feedback @lsunol! We have found a few people are confused with this aspect of the pub result structure, and we have an issue open here to try to improve them: #2650
URL to the relevant documentation
https://docs.quantum.ibm.com/migration-guides/qiskit-runtime-examples#sampler-algorithm
Select all that apply
Describe the fix.
I'm quite new into the qiskit library, but I end up in this tutorial in how to migrate for old
backend.run
to the samplers new version of it and find out it crashes when trying to retreive the pub_result.data.meas.get_counts() saying "meas" does not exist in data object.I then debugged the code and found out that there is a "c" object that actually seems to contain what it was expected to be found at "meas", not sure why, but it seems.
The text was updated successfully, but these errors were encountered: