|
Quantum Resource Management Interface (QRMI) C API
|
#include <qrmi.h>
Public Attributes | |
| char * | job_spec |
| char* QrmiPayload_Oqtopus_Body::job_spec |
Job spec, as a JSON object string matching the keyword arguments of Python's OqtopusJobSpec dataclass, minus device_id (QRMI fills that in automatically). Required keys: job_type (one of "sampling", "estimation", "multi_manual", "sse") and program (array of strings; a single program is a single-element array; sse jobs require exactly one). Optional keys: shots (integer; omit the key entirely to use OQTOPUS's default of 1000 — sending null fails), name, description, transpiler_info, simulator_info, mitigation_info, and operator.