|
QDMI on IQM 1.6.1
Implementation of a QDMI device for IQM Quantum Computers
|
IQM-specific calibration job submission. More...
#include "iqm_qdmi/device.h"Go to the source code of this file.
Functions | |
| int | IQM_QDMI_device_job_submit_calibration (IQM_QDMI_Device_Job job) |
| Submit an IQM calibration job. | |
IQM-specific calibration job submission.
| int IQM_QDMI_device_job_submit_calibration | ( | IQM_QDMI_Device_Job | job | ) |
Submit an IQM calibration job.
Create the job with IQM_QDMI_device_session_create_device_job and use IQM_QDMI_device_job_set_programs to set one program in QDMI_PROGRAM_FORMAT_IQMJSON containing the IQM Server calibration configuration as a JSON string with exactly one trailing NUL byte. The program format, shot count, and circuit-specific parameters are ignored. Calibration support is checked during session initialization.
On success, use the normal QDMI job check, wait, cancel, and free functions. QDMI_JOB_RESULT_CUSTOM1 returns the new calibration set ID and refreshes the session's calibration data, invalidating previously queried operation handles. Program-format and shot-count queries return QDMI_ERROR_NOTSUPPORTED.
| job | An unsubmitted job belonging to an initialized IQM session. |