iqm.error_reduction_tools.readout_characterization.data_collection.retrieve_calibration_results#
- iqm.error_reduction_tools.readout_characterization.data_collection.retrieve_calibration_results(job, job_info)#
Retrieve and organize measurement results from the calibration circuits.
Groups raw measurement counts by their preparation string. The raw counts are preserved so that
compute_error_probabilities()can compare them directly against the preparation string to compute P(0|1) and P(1|0).- Parameters:
job (PullaJob) – Job tracker for the calibration job.
job_info (CalibrationJobInfo) – Metadata about the submitted calibration job.
- Returns:
Calibration results. Multiple circuits with the same preparation string have merged counts.
- Raises:
RuntimeError – If the job did not complete after multiple wait attempts.
- Return type: