We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NoiseLearnerResult
What is the expected feature or enhancement?
Unlike other result types, NoiseLearnerResult is not JSON serializable. I get an error when trying to save the job using this guide: https://docs.quantum.ibm.com/guides/save-jobs#save-results-to-disk.
import json from qiskit_ibm_runtime import RuntimeEncoder with open("result.json", "w") as file: json.dump(retrieved_job.result(), file, cls=RuntimeEncoder)
TypeError: Object of type NoiseLearnerResult is not JSON serializable
Full traceback.
Acceptance criteria
NoiseLearnerResult can be serialized with RuntimeEncoder and RuntimeDecoder.
RuntimeEncoder
RuntimeDecoder
The text was updated successfully, but these errors were encountered:
Thank you!
Sorry, something went wrong.
joshuasn
Successfully merging a pull request may close this issue.
What is the expected feature or enhancement?
Unlike other result types,
NoiseLearnerResult
is not JSON serializable. I get an error when trying to save the job using this guide: https://docs.quantum.ibm.com/guides/save-jobs#save-results-to-disk.Full traceback.
Acceptance criteria
NoiseLearnerResult
can be serialized withRuntimeEncoder
andRuntimeDecoder
.The text was updated successfully, but these errors were encountered: