QDMI Devices v0.1
Quantum Device Management Interface Devices
Loading...
Searching...
No Matches
QAPTIVA_QDMI_Device_Job_impl_t Struct Reference

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.
 

Detailed Description

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.

Note
The 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.

Member Data Documentation

◆ id

int QAPTIVA_QDMI_Device_Job_impl_t::id

The ID of the job, randomly created

See also
QAPTIVA_QDMI_device_session_create_device_job.

◆ format

QDMI_Program_Format* QAPTIVA_QDMI_Device_Job_impl_t::format

The format of the submitted program. Currently, only QASM2 is supported.


The documentation for this struct was generated from the following file: