|
IBM QDMI Device
IBM backend queries, OpenQASM 3 execution, and QDMI interfaces
|
#include <ibm_qdmi/constants.h>Go to the source code of this file.
Macros | |
| #define | IBM_QDMI_DEVICE_SESSION_PARAMETER_BACKEND QDMI_DEVICE_SESSION_PARAMETER_CUSTOM1 |
| Null-terminated backend name; defaults to IBM_QUANTUM_BACKEND. | |
| #define | IBM_QDMI_DEVICE_SESSION_PARAMETER_INSTANCE_CRN QDMI_DEVICE_SESSION_PARAMETER_CUSTOM2 |
| Null-terminated IBM Cloud instance CRN; defaults to IBM_QUANTUM_INSTANCE_CRN. | |
| #define | IBM_QDMI_DEVICE_SESSION_PARAMETER_REQUEST_TIMEOUT QDMI_DEVICE_SESSION_PARAMETER_CUSTOM3 |
| Positive decimal-string HTTP timeout in milliseconds (1..2147483647). | |
| #define | IBM_QDMI_DEVICE_JOB_PARAMETER_MAX_EXECUTION_TIME QDMI_DEVICE_JOB_PARAMETER_CUSTOM1 |
| Maximum QPU execution time in seconds (uint64_t, 1..10800); default: 60. | |
| #define | IBM_QDMI_DEVICE_JOB_PARAMETER_DYNAMICAL_DECOUPLING QDMI_DEVICE_JOB_PARAMETER_CUSTOM2 |
| Null-terminated dynamical-decoupling JSON object; disabled by default. | |
| #define IBM_QDMI_DEVICE_JOB_PARAMETER_DYNAMICAL_DECOUPLING QDMI_DEVICE_JOB_PARAMETER_CUSTOM2 |
Null-terminated dynamical-decoupling JSON object; disabled by default.
Accepts enable and skip_reset_qubits booleans, sequence_type (XX, XpXm, XY4), extra_slack_distribution (middle, edges), and scheduling_method (alap, asap). Each assignment replaces the previous options; omitted fields default to false, false, XX, middle, and alap, respectively.
| #define IBM_QDMI_DEVICE_JOB_PARAMETER_MAX_EXECUTION_TIME QDMI_DEVICE_JOB_PARAMETER_CUSTOM1 |
Maximum QPU execution time in seconds (uint64_t, 1..10800); default: 60.
| #define IBM_QDMI_DEVICE_SESSION_PARAMETER_BACKEND QDMI_DEVICE_SESSION_PARAMETER_CUSTOM1 |
Null-terminated backend name; defaults to IBM_QUANTUM_BACKEND.
| #define IBM_QDMI_DEVICE_SESSION_PARAMETER_INSTANCE_CRN QDMI_DEVICE_SESSION_PARAMETER_CUSTOM2 |
Null-terminated IBM Cloud instance CRN; defaults to IBM_QUANTUM_INSTANCE_CRN.
| #define IBM_QDMI_DEVICE_SESSION_PARAMETER_REQUEST_TIMEOUT QDMI_DEVICE_SESSION_PARAMETER_CUSTOM3 |
Positive decimal-string HTTP timeout in milliseconds (1..2147483647).
The default is 30000; a shorter job-wait deadline takes precedence.