QDMI_JOB_STATUS_T
Enum of the status a job can have.
Definition constants.h:490
@ QDMI_JOB_STATUS_CANCELED
The job was canceled, and the result is not available.
Definition constants.h:505
@ QDMI_JOB_STATUS_CREATED
The job was created and can be configured via QDMI_job_set_parameter.
Definition constants.h:495
@ QDMI_JOB_STATUS_SUBMITTED
The job was submitted.
Definition constants.h:497
@ QDMI_JOB_STATUS_QUEUED
The job was received, and is waiting to be executed.
Definition constants.h:499
@ QDMI_JOB_STATUS_FAILED
An error occurred in the job's lifecycle.
Definition constants.h:507
@ QDMI_JOB_STATUS_RUNNING
The job is running, and the result is not yet available.
Definition constants.h:501
@ QDMI_JOB_STATUS_DONE
The job is done, and the result can be retrieved.
Definition constants.h:503
enum QDMI_DEVICE_STATUS_T QDMI_Device_Status
Device status type.
Definition constants.h:383
enum QDMI_JOB_STATUS_T QDMI_Job_Status
Job status type.
Definition constants.h:511
QDMI_PROGRAM_FORMAT_T
Enum of formats that can be submitted to the device.
Definition constants.h:516
@ QDMI_PROGRAM_FORMAT_CALIBRATION
void* A calibration program.
Definition constants.h:633
@ QDMI_PROGRAM_FORMAT_CUSTOM3
Definition constants.h:653
@ QDMI_PROGRAM_FORMAT_QIRBASESTRING
char* (string) A text-based QIR program complying to the QIR base profile.
Definition constants.h:594
@ QDMI_PROGRAM_FORMAT_QASM3
char* (string) An OpenQASM 3 program.
Definition constants.h:564
@ QDMI_PROGRAM_FORMAT_CUSTOM4
Definition constants.h:655
@ QDMI_PROGRAM_FORMAT_QIRBASEMODULE
void* A QIR binary complying to the QIR base profile.
Definition constants.h:605
@ QDMI_PROGRAM_FORMAT_CUSTOM2
Definition constants.h:651
@ QDMI_PROGRAM_FORMAT_CUSTOM5
Definition constants.h:657
@ QDMI_PROGRAM_FORMAT_QIRADAPTIVESTRING
char* (string) A text-based QIR program complying to the QIR adaptive profile.
Definition constants.h:616
@ QDMI_PROGRAM_FORMAT_QIRADAPTIVEMODULE
void* A QIR binary complying to the QIR adaptive profile.
Definition constants.h:626
@ QDMI_PROGRAM_FORMAT_CUSTOM1
This enum value is reserved for a custom program format.
Definition constants.h:649
@ QDMI_PROGRAM_FORMAT_MAX
The maximum value of the enum.
Definition constants.h:642
@ QDMI_PROGRAM_FORMAT_QASM2
char* (string) An OpenQASM 2.0 program.
Definition constants.h:542
QDMI_DEVICE_JOB_PARAMETER_T
Enum of the device job parameters that can be set via QDMI_device_job_set_parameter.
Definition constants.h:151
@ QDMI_DEVICE_JOB_PARAMETER_SHOTSNUM
size_t The number of shots to execute for a quantum circuit job.
Definition constants.h:174
@ QDMI_DEVICE_JOB_PARAMETER_MAX
The maximum value of the enum.
Definition constants.h:183
@ QDMI_DEVICE_JOB_PARAMETER_CUSTOM1
This enum value is reserved for a custom parameter.
Definition constants.h:190
@ QDMI_DEVICE_JOB_PARAMETER_PROGRAMFORMAT
QDMI_Program_Format The format of the program to be executed.
Definition constants.h:159
@ QDMI_DEVICE_JOB_PARAMETER_CUSTOM4
Definition constants.h:196
@ QDMI_DEVICE_JOB_PARAMETER_CUSTOM2
Definition constants.h:192
@ QDMI_DEVICE_JOB_PARAMETER_PROGRAM
void* The program to be executed.
Definition constants.h:169
@ QDMI_DEVICE_JOB_PARAMETER_CUSTOM5
Definition constants.h:198
@ QDMI_DEVICE_JOB_PARAMETER_CUSTOM3
Definition constants.h:194
QDMI_STATUS
Status codes returned by the API.
Definition constants.h:37
@ QDMI_ERROR_NOTFOUND
Element not found.
Definition constants.h:44
@ QDMI_ERROR_OUTOFMEM
Out of memory.
Definition constants.h:41
@ QDMI_ERROR_NOTSUPPORTED
Definition constants.h:48
@ QDMI_WARN_GENERAL
A general warning.
Definition constants.h:38
@ QDMI_ERROR_INVALIDARGUMENT
Invalid argument.
Definition constants.h:46
@ QDMI_ERROR_FATAL
A fatal error.
Definition constants.h:40
@ QDMI_SUCCESS
The operation was successful.
Definition constants.h:39
@ QDMI_ERROR_BADSTATE
Resource is in the wrong state for the operation.
Definition constants.h:50
@ QDMI_ERROR_OUTOFRANGE
Out of range.
Definition constants.h:45
@ QDMI_ERROR_NOTIMPLEMENTED
Not implemented.
Definition constants.h:42
@ QDMI_ERROR_PERMISSIONDENIED
Permission denied.
Definition constants.h:47
@ QDMI_ERROR_TIMEOUT
Operation timed out.
Definition constants.h:51
@ QDMI_ERROR_LIBNOTFOUND
Library not found.
Definition constants.h:43
enum QDMI_PROGRAM_FORMAT_T QDMI_Program_Format
Program format type.
Definition constants.h:661
QDMI_DEVICE_PULSE_SUPPORT_LEVEL_T
Enum to indicate the level of pulse support a device has.
Definition constants.h:774
@ QDMI_DEVICE_PULSE_SUPPORT_LEVEL_CHANNEL
The device supports pulse-level control at an abstraction level of QDMI_Pulse_Channel.
Definition constants.h:797
@ QDMI_DEVICE_PULSE_SUPPORT_LEVEL_NONE
The device does not support pulse-level control.
Definition constants.h:776
@ QDMI_DEVICE_PULSE_SUPPORT_LEVEL_SITEANDCHANNEL
The device supports pulse-level control at an abstraction level of QDMI_Site and QDMI_Pulse_Channel.
Definition constants.h:804
@ QDMI_DEVICE_PULSE_SUPPORT_LEVEL_SITE
The device supports pulse-level control at an abstraction level of QDMI_Site.
Definition constants.h:787
enum QDMI_JOB_RESULT_T QDMI_Job_Result
Job result type.
Definition constants.h:769
enum QDMI_DEVICE_JOB_PARAMETER_T QDMI_Device_Job_Parameter
Device job parameter type.
Definition constants.h:202
enum QDMI_SITE_PROPERTY_T QDMI_Site_Property
Site property type.
Definition constants.h:438
QDMI_SITE_PROPERTY_T
Definition constants.h:389
@ QDMI_SITE_PROPERTY_INDEX
size_t The unique index (or ID) to identify the site in a program.
Definition constants.h:401
@ QDMI_SITE_PROPERTY_CUSTOM1
This enum value is reserved for a custom property.
Definition constants.h:426
@ QDMI_SITE_PROPERTY_CUSTOM4
Definition constants.h:432
@ QDMI_SITE_PROPERTY_CUSTOM2
Definition constants.h:428
@ QDMI_SITE_PROPERTY_CUSTOM3
Definition constants.h:430
@ QDMI_SITE_PROPERTY_T1
double The T1 time of a site in µs.
Definition constants.h:403
@ QDMI_SITE_PROPERTY_T2
double The T2 time of a site in µs.
Definition constants.h:405
@ QDMI_SITE_PROPERTY_NAME
Definition constants.h:410
@ QDMI_SITE_PROPERTY_MAX
The maximum value of the enum.
Definition constants.h:419
@ QDMI_SITE_PROPERTY_CUSTOM5
Definition constants.h:434
QDMI_DEVICE_JOB_PROPERTY_T
Enum of the device job properties that can be queried via QDMI_device_job_query_property as part of t...
Definition constants.h:211
@ QDMI_DEVICE_JOB_PROPERTY_CUSTOM5
Definition constants.h:264
@ QDMI_DEVICE_JOB_PROPERTY_PROGRAM
void* The program to be executed.
Definition constants.h:234
@ QDMI_DEVICE_JOB_PROPERTY_CUSTOM1
This enum value is reserved for a custom parameter.
Definition constants.h:256
@ QDMI_DEVICE_JOB_PROPERTY_PROGRAMFORMAT
QDMI_Program_Format The format of the program to be executed.
Definition constants.h:228
@ QDMI_DEVICE_JOB_PROPERTY_CUSTOM4
Definition constants.h:262
@ QDMI_DEVICE_JOB_PROPERTY_CUSTOM3
Definition constants.h:260
@ QDMI_DEVICE_JOB_PROPERTY_SHOTSNUM
size_t The number of shots to execute for a quantum circuit job.
Definition constants.h:240
@ QDMI_DEVICE_JOB_PROPERTY_MAX
The maximum value of the enum.
Definition constants.h:249
@ QDMI_DEVICE_JOB_PROPERTY_CUSTOM2
Definition constants.h:258
@ QDMI_DEVICE_JOB_PROPERTY_ID
char* (string) The job's ID.
Definition constants.h:222
enum QDMI_DEVICE_JOB_PROPERTY_T QDMI_Device_Job_Property
Device job property type.
Definition constants.h:268
QDMI_DEVICE_SESSION_PARAMETER_T
Enum of the device session parameters that can be set via QDMI_device_session_set_parameter.
Definition constants.h:60
@ QDMI_DEVICE_SESSION_PARAMETER_MAX
The maximum value of the enum.
Definition constants.h:124
@ QDMI_DEVICE_SESSION_PARAMETER_PASSWORD
char* (string) The password to use for the session.
Definition constants.h:115
@ QDMI_DEVICE_SESSION_PARAMETER_CUSTOM4
Definition constants.h:137
@ QDMI_DEVICE_SESSION_PARAMETER_TOKEN
char* (string) A token to be used in the session initialization for authenticating with the device.
Definition constants.h:78
@ QDMI_DEVICE_SESSION_PARAMETER_CUSTOM5
Definition constants.h:139
@ QDMI_DEVICE_SESSION_PARAMETER_USERNAME
char* (string) The username to use for the device session.
Definition constants.h:108
@ QDMI_DEVICE_SESSION_PARAMETER_CUSTOM2
Definition constants.h:133
@ QDMI_DEVICE_SESSION_PARAMETER_CUSTOM3
Definition constants.h:135
@ QDMI_DEVICE_SESSION_PARAMETER_BASEURL
char* (string) The baseURL or API endpoint to be used for accessing the device within the session.
Definition constants.h:69
@ QDMI_DEVICE_SESSION_PARAMETER_CUSTOM1
This enum value is reserved for a custom parameter.
Definition constants.h:131
@ QDMI_DEVICE_SESSION_PARAMETER_AUTHURL
char* (string) The URL to an authentication server used as part of the authentication procedure.
Definition constants.h:101
@ QDMI_DEVICE_SESSION_PARAMETER_AUTHFILE
char* (string) A file path to a file containing authentication information.
Definition constants.h:87
QDMI_DEVICE_STATUS_T
Enum of different status the device can be in.
Definition constants.h:364
@ QDMI_DEVICE_STATUS_IDLE
The device is idle.
Definition constants.h:366
@ QDMI_DEVICE_STATUS_OFFLINE
The device is offline.
Definition constants.h:365
@ QDMI_DEVICE_STATUS_ERROR
The device is in an error state.
Definition constants.h:368
@ QDMI_DEVICE_STATUS_MAX
The maximum value of the enum.
Definition constants.h:379
@ QDMI_DEVICE_STATUS_CALIBRATION
The device is in calibration.
Definition constants.h:370
@ QDMI_DEVICE_STATUS_MAINTENANCE
The device is in maintenance.
Definition constants.h:369
@ QDMI_DEVICE_STATUS_BUSY
The device is busy.
Definition constants.h:367
QDMI_JOB_RESULT_T
Enum of the formats the results can be returned in.
Definition constants.h:666
@ QDMI_JOB_RESULT_PROBABILITIES_DENSE
double* (double list) The probabilities of the result.
Definition constants.h:706
@ QDMI_JOB_RESULT_MAX
The maximum value of the enum.
Definition constants.h:750
@ QDMI_JOB_RESULT_STATEVECTOR_DENSE
double* (double list) The state vector of the result.
Definition constants.h:698
@ QDMI_JOB_RESULT_HIST_KEYS
char* (string) The keys for the histogram of the results.
Definition constants.h:683
@ QDMI_JOB_RESULT_PROBABILITIES_SPARSE_VALUES
double* (double list) The values for the sparse probabilities of the result.
Definition constants.h:741
@ QDMI_JOB_RESULT_HIST_VALUES
size_t* (size_t list) The values for the histogram of the results.
Definition constants.h:689
@ QDMI_JOB_RESULT_STATEVECTOR_SPARSE_VALUES
double* (double list) The values for the sparse state vector of the result.
Definition constants.h:723
@ QDMI_JOB_RESULT_CUSTOM1
This enum value is reserved for a custom result.
Definition constants.h:757
@ QDMI_JOB_RESULT_CUSTOM5
Definition constants.h:765
@ QDMI_JOB_RESULT_CUSTOM2
Definition constants.h:759
@ QDMI_JOB_RESULT_STATEVECTOR_SPARSE_KEYS
char* (string) The keys for the sparse state vector of the result.
Definition constants.h:714
@ QDMI_JOB_RESULT_SHOTS
char* (string) The results of the individual shots as a comma-separated list, for example,...
Definition constants.h:672
@ QDMI_JOB_RESULT_CUSTOM4
Definition constants.h:763
@ QDMI_JOB_RESULT_CUSTOM3
Definition constants.h:761
@ QDMI_JOB_RESULT_PROBABILITIES_SPARSE_KEYS
char* (string) The keys for the sparse probabilities of the result.
Definition constants.h:732
QDMI_OPERATION_PROPERTY_T
Definition constants.h:445
@ QDMI_OPERATION_PROPERTY_CUSTOM2
Definition constants.h:473
@ QDMI_OPERATION_PROPERTY_MAX
The maximum value of the enum.
Definition constants.h:464
@ QDMI_OPERATION_PROPERTY_QUBITSNUM
size_t The number of qubits involved in the operation.
Definition constants.h:449
@ QDMI_OPERATION_PROPERTY_NAME
char* (string) The string identifier of the operation.
Definition constants.h:447
@ QDMI_OPERATION_PROPERTY_PARAMETERSNUM
size_t The number of floating point parameters the operation takes.
Definition constants.h:451
@ QDMI_OPERATION_PROPERTY_CUSTOM1
This enum value is reserved for a custom property.
Definition constants.h:471
@ QDMI_OPERATION_PROPERTY_CUSTOM3
Definition constants.h:475
@ QDMI_OPERATION_PROPERTY_DURATION
double The duration of an operation in µs.
Definition constants.h:453
@ QDMI_OPERATION_PROPERTY_CUSTOM5
Definition constants.h:479
@ QDMI_OPERATION_PROPERTY_FIDELITY
double The fidelity of an operation.
Definition constants.h:455
@ QDMI_OPERATION_PROPERTY_CUSTOM4
Definition constants.h:477
enum QDMI_DEVICE_SESSION_PARAMETER_T QDMI_Device_Session_Parameter
Device session parameter type.
Definition constants.h:143
enum QDMI_OPERATION_PROPERTY_T QDMI_Operation_Property
Operation property type.
Definition constants.h:483
QDMI_DEVICE_PROPERTY_T
Definition constants.h:277
@ QDMI_DEVICE_PROPERTY_NAME
char* (string) The name of the device.
Definition constants.h:279
@ QDMI_DEVICE_PROPERTY_CUSTOM3
Definition constants.h:353
@ QDMI_DEVICE_PROPERTY_CUSTOM2
Definition constants.h:351
@ QDMI_DEVICE_PROPERTY_NEEDSCALIBRATION
size_t Whether the device needs calibration.
Definition constants.h:325
@ QDMI_DEVICE_PROPERTY_STATUS
QDMI_Device_Status The status of the device.
Definition constants.h:283
@ QDMI_DEVICE_PROPERTY_VERSION
char* (string) The version of the device.
Definition constants.h:281
@ QDMI_DEVICE_PROPERTY_LIBRARYVERSION
char* (string) The implemented version of QDMI.
Definition constants.h:285
@ QDMI_DEVICE_PROPERTY_PULSESUPPORT
QDMI_Device_Pulse_Support_Level Whether the device supports pulse-level control.
Definition constants.h:333
@ QDMI_DEVICE_PROPERTY_QUBITSNUM
size_t The number of qubits in the device.
Definition constants.h:287
@ QDMI_DEVICE_PROPERTY_COUPLINGMAP
QDMI_Site* (QDMI_Site list) The coupling map of the device.
Definition constants.h:313
@ QDMI_DEVICE_PROPERTY_OPERATIONS
QDMI_Operation* (QDMI_Operation list) The operations supported by the device.
Definition constants.h:301
@ QDMI_DEVICE_PROPERTY_CUSTOM1
This enum value is reserved for a custom property.
Definition constants.h:349
@ QDMI_DEVICE_PROPERTY_CUSTOM4
Definition constants.h:355
@ QDMI_DEVICE_PROPERTY_CUSTOM5
Definition constants.h:357
@ QDMI_DEVICE_PROPERTY_SITES
QDMI_Site* (QDMI_Site list) The sites of the device.
Definition constants.h:294
@ QDMI_DEVICE_PROPERTY_MAX
The maximum value of the enum.
Definition constants.h:342
enum QDMI_DEVICE_PULSE_SUPPORT_LEVEL_T QDMI_Device_Pulse_Support_Level
Pulse support level type.
Definition constants.h:808
enum QDMI_DEVICE_PROPERTY_T QDMI_Device_Property
Device property type.
Definition constants.h:361