QDMI Devices v0.1
Quantum Device Management Interface Devices
|
Device-side implementation of the encapsulated type QDMI_Device_Job
.
More...
Public Attributes | |
QAPTIVA_QDMI_Device_Session | session |
Pointer to the session used for authentication and connection metadata. | |
int | id |
QDMI_Job_Status | status |
Status of the QDMI_Job . | |
size_t | num_shots |
Status of the QDMI_Job . | |
QDMI_Program_Format * | format |
char * | program |
The program to be executed. | |
double * | probability_dense |
The probabilities of the result. | |
char * | probability_keys |
The keys for the sparse probabilities of the result. | |
double * | probability_values |
The values for the sparse probabilities of the result. | |
size_t | n_state |
The number of the possible states of the results. | |
size_t | results_size |
The size of the results. | |
Device-side implementation of the encapsulated type QDMI_Device_Job
.
This struct holds all necessary inputs to submit a QDMI_Device_Job
to the device, as well as the results.
QDMI_Device_Job
type is encapsulated within the QDMI Device Job Interface
interface. This design allows devices to implement the job type in a device-specific manner. This struct represents the opaque pointer type used on the device side, encapsulating all information required for a job. int QAPTIVA_QDMI_Device_Job_impl_t::id |
The ID of the job, randomly created
QDMI_Program_Format* QAPTIVA_QDMI_Device_Job_impl_t::format |
The format of the submitted program. Currently, only QASM2 is supported.