{"openapi":"3.1.0","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"https://api.hub.kipu-quantum.com","description":"Generated server url"}],"security":[{"oauth2":[],"apiKey":[]}],"tags":[{"name":"Workloads","description":"Endpoints to retrieve quantum workloads (jobs and sessions)."},{"name":"Sessions","description":"Endpoints to manage quantum sessions."},{"name":"Jobs","description":"Endpoints to manage quantum jobs."},{"name":"Backends","description":"Endpoints to retrieve information about quantum backends."}],"paths":{"/sessions":{"post":{"tags":["Sessions"],"description":"Create a new quantum session.","operationId":"createSession","parameters":[{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSessionRequest"}}},"required":true},"responses":{"201":{"description":"The created session.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Session"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"422":{"description":"Backend does not support sessions"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/jobs":{"get":{"tags":["Jobs"],"description":"Get quantum jobs with pagination.","operationId":"searchJobs","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"type":"integer","default":0,"minimum":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"type":"integer","default":20,"minimum":1}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"serviceExecutionId","in":"query","required":false,"schema":{"type":"string","format":"uuid","description":"Unique service execution identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The page of quantum jobs matching the query.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageResponseJob"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]},"post":{"tags":["Jobs"],"description":"Create a new quantum job.","operationId":"createJob","parameters":[{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateJobRequest"}}},"required":true},"responses":{"201":{"description":"The created job.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/sessions/{id}":{"get":{"tags":["Sessions"],"description":"Get a quantum session's details.","operationId":"getSession","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique session identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The session details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Session"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Session not found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]},"delete":{"tags":["Sessions"],"description":"Close a quantum session.","operationId":"closeSession","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique session identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"The session has been successfully closed."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Session not found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]},"patch":{"tags":["Sessions"],"description":"Update a quantum session's state to control job acceptance.","operationId":"updateSessionState","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique session identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStateUpdateRequest"}}},"required":true},"responses":{"200":{"description":"The session state has been successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Session"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Session not found"},"422":{"description":"Backend does not support session state updates"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/service-executions/{serviceExecutionId}/sessions/{sessionId}":{"delete":{"tags":["Jobs"],"description":"Close a quantum session running within a service execution.","operationId":"closeServiceExecSession","parameters":[{"name":"serviceExecutionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique service execution identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"sessionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique session identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"The session has been successfully closed."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]},"patch":{"tags":["Jobs"],"description":"Update the state of a quantum session running within a service execution (accept or reject jobs).","operationId":"updateServiceExecSessionState","parameters":[{"name":"serviceExecutionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique service execution identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"sessionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique session identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStateUpdateRequest"}}},"required":true},"responses":{"200":{"description":"The updated session.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Session"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/workloads":{"get":{"tags":["Workloads"],"description":"Get quantum workloads (jobs and sessions) with pagination.","operationId":"getWorkloads","parameters":[{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"type":"integer","default":0,"minimum":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"type":"integer","default":20,"minimum":1}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The page of quantum workloads matching the query.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageResponseWorkloadResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/sessions/{id}/status":{"get":{"tags":["Sessions"],"description":"Get a quantum session's status.","operationId":"getSessionStatus","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique session identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The session's status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStatusResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Session not found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/sessions/{id}/jobs":{"get":{"tags":["Sessions"],"description":"Get all quantum jobs belonging to a session.","operationId":"getJobsBySession","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique session identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"List of jobs belonging to the session.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Session not found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/service-executions/{serviceExecutionId}/workloads":{"get":{"tags":["Jobs"],"description":"Get quantum workloads (jobs and sessions) running within a specific service execution with pagination.","operationId":"getServiceExecWorkloads","parameters":[{"name":"serviceExecutionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique service execution identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"page","in":"query","description":"Zero-based page index (0..N)","required":false,"schema":{"type":"integer","default":0,"minimum":0}},{"name":"size","in":"query","description":"The size of the page to be returned","required":false,"schema":{"type":"integer","default":20,"minimum":1}},{"name":"sort","in":"query","description":"Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The page of quantum workloads matching the query.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageResponseWorkloadResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/service-executions/{serviceExecutionId}/sessions/{sessionId}/status":{"get":{"tags":["Jobs"],"description":"Get the status of a quantum session running within a service execution.","operationId":"getServiceExecSessionStatus","parameters":[{"name":"serviceExecutionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique service execution identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"sessionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique session identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The session's status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionStatusResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/service-executions/{serviceExecutionId}/sessions/{sessionId}/jobs":{"get":{"tags":["Jobs"],"description":"Get all jobs belonging to a quantum session running within a service execution.","operationId":"getServiceExecSessionJobs","parameters":[{"name":"serviceExecutionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique service execution identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"sessionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique session identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The jobs belonging to the session.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/service-executions/{serviceExecutionId}/jobs/{jobId}":{"get":{"tags":["Jobs"],"description":"Get the details of a quantum job running within a service execution.","operationId":"getServiceExecJob","parameters":[{"name":"serviceExecutionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique service execution identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The job details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]},"delete":{"tags":["Jobs"],"description":"Cancel the execution of a quantum job running within a service execution.","operationId":"cancelServiceExecJob","parameters":[{"name":"serviceExecutionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique service execution identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"The job has been successfully cancelled."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/service-executions/{serviceExecutionId}/jobs/{jobId}/status":{"get":{"tags":["Jobs"],"description":"Get the status of a quantum job running within a service execution.","operationId":"getServiceExecJobStatus","parameters":[{"name":"serviceExecutionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique service execution identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The job's status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobStatusResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/service-executions/{serviceExecutionId}/jobs/{jobId}/result-stream":{"get":{"tags":["Jobs"],"description":"Get the result of a quantum job running within a service execution as a JSON file.","operationId":"getServiceExecJobResultStream","parameters":[{"name":"serviceExecutionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique service execution identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The job result content as json file","content":{"*/*":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/service-executions/{serviceExecutionId}/jobs/{jobId}/input":{"get":{"tags":["Jobs"],"description":"Get the input.json of a quantum job running within a service execution.","operationId":"getServiceExecJobInput","parameters":[{"name":"serviceExecutionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique service execution identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The job's input.","content":{"application/json":{"schema":{"type":"string","format":"byte"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/service-executions/{serviceExecutionId}/jobs/{jobId}/calibration":{"get":{"tags":["Jobs"],"description":"Get the calibration for a quantum job running within a service execution.","operationId":"getServiceExecJobCalibration","parameters":[{"name":"serviceExecutionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique service execution identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The job's calibration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalibrationResponse"}}}},"204":{"description":"No calibration data available"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/jobs/{id}":{"get":{"tags":["Jobs"],"description":"Get a quantum job's details.","operationId":"getJob","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The job details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]},"delete":{"tags":["Jobs"],"description":"Cancel the execution of a quantum job.","operationId":"cancelJob","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"The job has been successfully cancelled."},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/jobs/{id}/status":{"get":{"tags":["Jobs"],"description":"Get a quantum job's status.","operationId":"getJobStatus","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The job's status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobStatusResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/jobs/{id}/result":{"get":{"tags":["Jobs"],"description":"Get a quantum job's results.","operationId":"getJobResult","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The job's result.","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/jobs/{id}/result-stream":{"get":{"tags":["Jobs"],"description":"Get the result of a specific job as json file.","operationId":"getJobResultStream","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The job result content as json file","content":{"*/*":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/jobs/{id}/input":{"get":{"tags":["Jobs"],"description":"Get the input.json of a quantum job.","operationId":"getJobInput","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The job's input.","content":{"application/json":{"schema":{"type":"string","format":"byte"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/jobs/{id}/calibration":{"get":{"tags":["Jobs"],"description":"Get the calibration for a specific job during its execution.","operationId":"getJobCalibration","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The job's calibration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalibrationResponse"}}}},"204":{"description":"No calibration data available"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}},"/backends":{"get":{"tags":["Backends"],"description":"Get the list of backends based on the provided filters.","operationId":"getBackends","parameters":[{"name":"provider","in":"query","required":false,"schema":{"type":"string"}},{"name":"onlyPlanqkSdk","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of backends based on the provided filters.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Backend"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/backends/{id}":{"get":{"tags":["Backends"],"description":"Get the details of a specific backend.","operationId":"getBackend","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","description":"Unique backend identifier","example":"aws.sim.sv1"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The backend with the specified ID.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Backend"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/backends/{id}/status":{"get":{"tags":["Backends"],"description":"Get the status of a specific backend.","operationId":"getBackendStatus","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","description":"Unique backend identifier","example":"aws.sim.sv1"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The status of the backend.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackendStateInfo"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/backends/{id}/config":{"get":{"tags":["Backends"],"description":"Get the configuration of a specific backend.","operationId":"getBackendConfig","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","description":"Unique backend identifier","example":"aws.sim.sv1"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The configuration of the backend.","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}}}},"/backends/{id}/calibration":{"get":{"tags":["Backends"],"description":"Get the calibration of a specific backend.","operationId":"getBackendCalibration","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","description":"Unique backend identifier","example":"aws.sim.sv1"}},{"name":"effectiveAt","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"X-OrganizationId","in":"header","description":"Optional field identifying the organization to which the request belongs. If not provided, the request is performed in the context of the user.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The backend's calibration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalibrationResponse"}}}},"204":{"description":"No calibration data available"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"500":{"description":"Internal Server Error"}},"security":[{"oauth2":[]},{"apiKey":[]}]}}},"components":{"schemas":{"JsonNode":{},"Session":{"properties":{"id":{"type":"string","format":"uuid","description":"Unique session identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"},"backend_id":{"type":"string","description":"Unique backend identifier","example":"aws.sim.sv1"},"provider":{"type":"string","enum":["AZURE","AWS","IBM","QRYD","QUDORA","QUANDELA","IQM"]},"status":{"type":"string","enum":["UNKNOWN","ABORTED","OPEN","ACTIVE","INACTIVE","DRAINING","CLOSED"]},"mode":{"type":"string","enum":["batch","dedicated"]},"created_at":{"type":"string","description":"Timestamp when the session was created.","example":"2023-10-01 12:00:00","pattern":"^\\d{4}\\-\\d{2}\\-\\d{2}\\s{1}\\d{2}\\:\\d{2}\\:\\d{2}$"},"started_at":{"type":"string","description":"Timestamp when the session started.","example":"2023-10-01 12:00:00","pattern":"^\\d{4}\\-\\d{2}\\-\\d{2}\\s{1}\\d{2}\\:\\d{2}\\:\\d{2}$"},"closed_at":{"type":"string","description":"Timestamp when the session was closed.","example":"2023-10-01 12:00:00","pattern":"^\\d{4}\\-\\d{2}\\-\\d{2}\\s{1}\\d{2}\\:\\d{2}\\:\\d{2}$"},"expires_at":{"type":"string","description":"Timestamp when the session expires.","example":"2023-10-01 12:00:00","pattern":"^\\d{4}\\-\\d{2}\\-\\d{2}\\s{1}\\d{2}\\:\\d{2}\\:\\d{2}$"},"usage_time_millis":{"type":"integer","format":"int64"},"provider_id":{"type":"string","description":"Provider-specific reference to a session","example":"session-abcd-1234-efgh-5678"},"tags":{"type":"array","items":{"type":"string"},"uniqueItems":true},"metadata":{"$ref":"#/components/schemas/JsonNode"},"sdk_provider":{"type":"string","enum":["QISKIT","BRAKET","PERCEVAL","CLIENT"]},"final":{"type":"boolean"},"final_not_aborted":{"type":"boolean"}}},"CreateSessionRequest":{"properties":{"backend_id":{"type":"string","description":"Unique backend identifier","example":"aws.sim.sv1"},"mode":{"type":"string","description":"Session execution mode","enum":["batch","dedicated"],"example":"dedicated"},"ttl":{"type":"integer","format":"int32","description":"Maximum Time-to-live for the session in seconds","example":3600},"tags":{"type":"array","description":"Set of tags to identify or categorize the session","example":["experiment","prod"],"items":{"type":"string","description":"Set of tags to identify or categorize the session","example":"[\"experiment\",\"prod\"]"},"uniqueItems":true},"metadata":{"$ref":"#/components/schemas/JsonNode"},"provider":{"type":"string","description":"Provider for the backend","enum":["AZURE","AWS","IBM","QRYD","QUDORA","QUANDELA","IQM"],"example":"IBM"}},"required":["backend_id","mode","provider"]},"Job":{"properties":{"id":{"type":"string","format":"uuid","description":"Unique job identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"},"name":{"type":"string"},"backend_id":{"type":"string","description":"Unique backend identifier","example":"aws.sim.sv1"},"provider":{"type":"string","enum":["AZURE","AWS","IBM","QRYD","QUDORA","QUANDELA","IQM"]},"provider_job_id":{"type":"string","description":"Unique job identifier assigned by the backend provider","example":"5678-1234-90ab-cdef-1234567890ab"},"input_params":{"$ref":"#/components/schemas/JsonNode"},"input_format":{"type":"string","enum":["OPEN_QASM_V1","OPEN_QASM_V2","OPEN_QASM_V3","QIR_V1","BRAKET_OPEN_QASM_V3","BRAKET_AHS_PROGRAM","IONQ_CIRCUIT_V1","QISKIT_QPY","QOQO","PERCEVAL","IQM_JOB_INPUT_V1"]},"tags":{"type":"array","items":{"type":"string"},"uniqueItems":true},"status":{"type":"string","enum":["UNKNOWN","PENDING","ABORTED","RUNNING","COMPLETED","FAILED","CANCELLING","CANCELLED"]},"created_at":{"type":"string","description":"Timestamp when the job was created.","example":"2023-10-01 12:00:00","pattern":"^\\d{4}\\-\\d{2}\\-\\d{2}\\s{1}\\d{2}\\:\\d{2}\\:\\d{2}$"},"started_at":{"type":"string","description":"Timestamp when the job started executing.","example":"2023-10-01 12:00:00","pattern":"^\\d{4}\\-\\d{2}\\-\\d{2}\\s{1}\\d{2}\\:\\d{2}\\:\\d{2}$"},"ended_at":{"type":"string","description":"Timestamp when the job ended.","example":"2023-10-01 12:00:00","pattern":"^\\d{4}\\-\\d{2}\\-\\d{2}\\s{1}\\d{2}\\:\\d{2}\\:\\d{2}$"},"runtime":{"type":"integer","format":"int64"},"shots":{"type":"integer","format":"int64"},"session_id":{"type":"string","format":"uuid","description":"Unique session identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"},"sdk_provider":{"type":"string","enum":["QISKIT","BRAKET","PERCEVAL","CLIENT"]}}},"CreateJobRequest":{"properties":{"name":{"type":"string","description":"Optional name for the job","example":"My Quantum Job"},"backend_id":{"type":"string","description":"Unique backend identifier","example":"aws.sim.sv1"},"shots":{"type":"integer","format":"int64","description":"Number of shots to execute","example":1000,"minimum":1},"input":{"description":"Backend-specific job input. The format depends on the backend the job is executed on.","discriminator":{"propertyName":"backendId","mapping":{"azure.ionq.simulator":"#/components/schemas/AzureIonq_JobInput","quandela.sim.altair":"#/components/schemas/Quandela_JobInput","quandela.qpu.belenos":"#/components/schemas/Quandela_JobInput","aws.quera.aquila":"#/components/schemas/Aws_AHS_JobInput","qudora.sim.xg1":"#/components/schemas/Qudora_JobInput","ibm.qpu.fez":"#/components/schemas/IBM_JobInput","ibm.qpu.boston":"#/components/schemas/IBM_JobInput","ibm.qpu.marrakesh":"#/components/schemas/IBM_JobInput","ibm.qpu.pittsburgh":"#/components/schemas/IBM_JobInput","ibm.qpu.aachen":"#/components/schemas/IBM_JobInput","ibm.qpu.berlin":"#/components/schemas/IBM_JobInput","ibm.qpu.miami":"#/components/schemas/IBM_JobInput","ibm.qpu.kingston":"#/components/schemas/IBM_JobInput","iqm.qpu.emerald":"#/components/schemas/IQM_JobInput","aws.rigetti.ankaa":"#/components/schemas/Aws_QASM_3_JobInput","aws.ionq.forte":"#/components/schemas/Aws_QASM_3_JobInput","aws.sim.sv1":"#/components/schemas/Aws_QASM_3_JobInput","aws.iqm.garnet":"#/components/schemas/Aws_QASM_3_JobInput","aws.sim.dm1":"#/components/schemas/Aws_QASM_3_JobInput"}},"oneOf":[{"$ref":"#/components/schemas/AzureIonq_JobInput"},{"$ref":"#/components/schemas/Quandela_JobInput"},{"$ref":"#/components/schemas/Aws_AHS_JobInput"},{"$ref":"#/components/schemas/Qudora_JobInput"},{"$ref":"#/components/schemas/IBM_JobInput"},{"$ref":"#/components/schemas/IQM_JobInput"},{"$ref":"#/components/schemas/Aws_QASM_3_JobInput"}]},"input_format":{"type":"string","description":"The input format of the input (e.g. QASM string). The input format must match the backend's capabilities. If not specified, the default format for the backend is assumed.","enum":["OPEN_QASM_V1","OPEN_QASM_V2","OPEN_QASM_V3","QIR_V1","BRAKET_OPEN_QASM_V3","BRAKET_AHS_PROGRAM","IONQ_CIRCUIT_V1","QISKIT_QPY","QOQO","PERCEVAL","IQM_JOB_INPUT_V1"]},"input_params":{"description":"Backend-specific job input parameters. The supported parameters depend on the backend the job is executed on.","discriminator":{"propertyName":"backendId","mapping":{"azure.ionq.simulator":"#/components/schemas/AzureIonq_JobInputParams","quandela.sim.altair":"#/components/schemas/Quandela_JobInputParams","quandela.qpu.belenos":"#/components/schemas/Quandela_JobInputParams","aws.quera.aquila":"#/components/schemas/Aws_AHS_JobInputParams","qudora.sim.xg1":"#/components/schemas/Qudora_JobInputParams","ibm.qpu.fez":"#/components/schemas/IBM_JobInputParams","ibm.qpu.boston":"#/components/schemas/IBM_JobInputParams","ibm.qpu.marrakesh":"#/components/schemas/IBM_JobInputParams","ibm.qpu.pittsburgh":"#/components/schemas/IBM_JobInputParams","ibm.qpu.aachen":"#/components/schemas/IBM_JobInputParams","ibm.qpu.berlin":"#/components/schemas/IBM_JobInputParams","ibm.qpu.miami":"#/components/schemas/IBM_JobInputParams","ibm.qpu.kingston":"#/components/schemas/IBM_JobInputParams","iqm.qpu.emerald":"#/components/schemas/IQM_JobInputParams","aws.rigetti.ankaa":"#/components/schemas/Aws_QASM_3_JobInputParams","aws.ionq.forte":"#/components/schemas/Aws_QASM_3_JobInputParams","aws.sim.sv1":"#/components/schemas/Aws_QASM_3_JobInputParams","aws.iqm.garnet":"#/components/schemas/Aws_QASM_3_JobInputParams","aws.sim.dm1":"#/components/schemas/Aws_QASM_3_JobInputParams"}},"oneOf":[{"$ref":"#/components/schemas/AzureIonq_JobInputParams"},{"$ref":"#/components/schemas/Quandela_JobInputParams"},{"$ref":"#/components/schemas/Aws_AHS_JobInputParams"},{"$ref":"#/components/schemas/Qudora_JobInputParams"},{"$ref":"#/components/schemas/IBM_JobInputParams"},{"$ref":"#/components/schemas/IQM_JobInputParams"},{"$ref":"#/components/schemas/Aws_QASM_3_JobInputParams"}]},"tags":{"type":"array","description":"Set of tags to identify or categorize the job","example":["experiment","prod"],"items":{"type":"string","description":"Set of tags to identify or categorize the job","example":"[\"experiment\",\"prod\"]"},"uniqueItems":true},"session_id":{"type":"string","format":"uuid","description":"Unique session identifier","example":"5904a9f2-f43b-453d-9d08-beedcdb93e54"}},"required":["backend_id","input","input","shots"]},"SessionStateUpdateRequest":{"properties":{"accept_jobs":{"type":"boolean"}},"required":["accept_jobs"]},"PageResponseWorkloadResponse":{"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/WorkloadResponse"}},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"total_elements":{"type":"integer","format":"int64"},"total_pages":{"type":"integer","format":"int32"}}},"WorkloadResponse":{"properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["JOB","SESSION"]},"backend_id":{"type":"string","description":"Unique backend identifier","example":"aws.sim.sv1"},"provider":{"type":"string","enum":["AZURE","AWS","IBM","QRYD","QUDORA","QUANDELA","IQM"]},"status":{"type":"string"},"started_at":{"type":"string","description":"Timestamp when the workload started executing.","example":"2023-10-01 12:00:00","pattern":"^\\d{4}\\-\\d{2}\\-\\d{2}\\s{1}\\d{2}\\:\\d{2}\\:\\d{2}$"},"ended_at":{"type":"string","description":"Timestamp when the workload ended.","example":"2023-10-01 12:00:00","pattern":"^\\d{4}\\-\\d{2}\\-\\d{2}\\s{1}\\d{2}\\:\\d{2}\\:\\d{2}$"},"created_at":{"type":"string","description":"Timestamp when the workload was created.","example":"2023-10-01 12:00:00","pattern":"^\\d{4}\\-\\d{2}\\-\\d{2}\\s{1}\\d{2}\\:\\d{2}\\:\\d{2}$"},"sdk_provider":{"type":"string","enum":["QISKIT","BRAKET","PERCEVAL","CLIENT"]}}},"SessionStatusResponse":{"properties":{"status":{"type":"string","enum":["UNKNOWN","ABORTED","OPEN","ACTIVE","INACTIVE","DRAINING","CLOSED"]}}},"JobStatusResponse":{"properties":{"status":{"type":"string","enum":["UNKNOWN","PENDING","ABORTED","RUNNING","COMPLETED","FAILED","CANCELLING","CANCELLED"]}}},"CalibrationResponse":{"properties":{"backend_id":{"type":"string","description":"Unique backend identifier","example":"aws.sim.sv1"},"calibrated_at":{"type":"string","format":"date-time"},"calibration":{"$ref":"#/components/schemas/JsonNode"}}},"PageResponseJob":{"properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/Job"}},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"total_elements":{"type":"integer","format":"int64"},"total_pages":{"type":"integer","format":"int32"}}},"AvailabilityTimes":{"properties":{"granularity":{"type":"string"},"start":{"type":"string"},"end":{"type":"string"}}},"Backend":{"properties":{"id":{"type":"string","description":"Unique backend identifier","example":"aws.sim.sv1"},"internal_id":{"type":"string"},"provider":{"type":"string","enum":["AZURE","AWS","IBM","QRYD","QUDORA","QUANDELA","IQM"]},"hardware_provider":{"type":"string","enum":["IONQ","RIGETTI","OQC","AWS","AZURE","IBM","QUERA","IQM","QUDORA","QUANTINUUM","QUANDELA"]},"name":{"type":"string"},"display_name":{"type":"string"},"type":{"type":"string","enum":["QPU","SIMULATOR","ANNEALER","UNKNOWN"]},"technology":{"type":"string","enum":["SUPERCONDUCTING","TRAPPED_ION","PHOTONIC","NEUTRAL_ATOMS","UNKNOWN"]},"status":{"type":"string","enum":["UNKNOWN","ONLINE","PAUSED","OFFLINE","RETIRED"]},"queue_size":{"type":"integer","format":"int32"},"updated_at":{"type":"string","format":"date"},"access_type":{"type":"string","enum":["PAY_PER_USE","TOKEN_BASED"]},"documentation":{"$ref":"#/components/schemas/Documentation"},"configuration":{"$ref":"#/components/schemas/Configuration"},"availability":{"type":"array","items":{"$ref":"#/components/schemas/AvailabilityTimes"}},"costs":{"type":"array","items":{"$ref":"#/components/schemas/Cost"}},"has_calibration":{"type":"boolean"},"free_of_charge":{"type":"boolean"}}},"Configuration":{"properties":{"gates":{"type":"array","items":{"$ref":"#/components/schemas/Gate"}},"operations":{"type":"array","items":{"type":"string"},"uniqueItems":true},"qubit_count":{"type":"integer","format":"int32"},"connectivity":{"$ref":"#/components/schemas/Connectivity"},"shots_range":{"$ref":"#/components/schemas/ShotsRange"},"supported_input_formats":{"type":"array","items":{"type":"string","enum":["OPEN_QASM_V1","OPEN_QASM_V2","OPEN_QASM_V3","QIR_V1","BRAKET_OPEN_QASM_V3","BRAKET_AHS_PROGRAM","IONQ_CIRCUIT_V1","QISKIT_QPY","QOQO","PERCEVAL","IQM_JOB_INPUT_V1"]},"uniqueItems":true},"output_format":{"type":"string","enum":["MICROSOFT_QUANTUM_RESULTS_V2","IONQ_RESULT_V1"]},"memory_result_supported":{"type":"boolean"},"photonic_properties":{"$ref":"#/components/schemas/PhotonicProperties"},"qubits":{"type":"array","items":{"$ref":"#/components/schemas/Qubit"}},"instructions":{"type":"array","items":{"type":"string"},"uniqueItems":true}}},"Connectivity":{"properties":{"fully_connected":{"type":"boolean"},"graph":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}}},"Cost":{"description":"Cost item for a backend","properties":{"granularity":{"type":"string","description":"Cost granularity (e.g. shot, job)","enum":["shot","job","1-Qubit Gate Shot","2-Qubit Gate Shot","minute","second","millisecond"],"example":"shot"},"currency":{"type":"string","description":"ISO 4217 currency code","example":"EUR"},"value":{"type":"number","format":"double","description":"Monetary value per granularity unit","example":0.0000025}}},"Documentation":{"properties":{"description":{"type":"string"},"url":{"type":"string"},"status_url":{"type":"string"},"location":{"type":"string"},"sdks":{"type":"array","items":{"type":"string","enum":["PLANQK","PENNYLANE","QISKIT","QISKIT_RUNTIME","QOQO","PERCEVAL"]}},"eu_sovereignty":{"type":"boolean"},"eu_sovereignty_disclaimer":{"type":"string"}}},"Gate":{"properties":{"name":{"type":"string"},"native_gate":{"type":"boolean"}}},"PhotonicProperties":{"properties":{"max_modes":{"type":"integer","format":"int32"},"min_modes":{"type":"integer","format":"int32"},"max_photons":{"type":"integer","format":"int32"},"min_photons":{"type":"integer","format":"int32"}}},"Qubit":{"properties":{"id":{"type":"string"}}},"ShotsRange":{"properties":{"min":{"type":"integer","format":"int64"},"max":{"type":"integer","format":"int64"}}},"BackendStateInfo":{"properties":{"status":{"type":"string","enum":["UNKNOWN","ONLINE","PAUSED","OFFLINE","RETIRED"]},"queue_avg_time":{"type":"integer","format":"int64"},"queue_size":{"type":"integer","format":"int32"}}},"AzureIonq_JobInput":{"type":"object","description":"Azure IonQ input schema for job input (based on IonQ API Qis v0.4 qis-circuit reference)","example":{"gateset":"qis","qubits":2,"circuit":[{"gate":"h","targets":[0]},{"gate":"x","targets":[1],"controls":[0]}]},"externalDocs":{"description":"IonQ API v0.4 create-job qis-circuit","url":"https://docs.ionq.com/api-reference/v0.4/jobs/create-job#qis-circuit"},"properties":{"circuit":{"type":"array","description":"List of gates to apply","items":{"type":"object","description":"A gate application to qubit in the circuit","properties":{"type":{"type":"string","description":"Gate name","enum":["x","y","z","rx","ry","rz","h","s","si","v","vi","t","ti","not","cnot","swap","xx","yy","zz","pauliExp"]},"targets":{"type":"array","description":"Qubit indices the gate is applied to","items":{"type":"integer"}},"controls":{"type":"array","description":"Optional control-qubit indices","items":{"type":"integer"}}},"required":["targets"]}},"gateset":{"type":"string","description":"Which gateset to apply","enum":["qis"]},"qubits":{"type":"integer","description":"Total number of qubits in the circuit"},"registers":{"type":"object","additionalProperties":{"type":"array","items":{"type":"integer"}},"description":"Registers to use in your circuit. Each register is a list of qubit indices (starting from zero)."}},"required":["circuit","gateset","qubits"],"title":"IonQ Qis 0.4 Job Input","x-fern-type-name":"AzureIonq_JobInput"},"Quandela_JobInput":{"type":"object","additionalProperties":true,"description":"Perceval circuit data to execute on a Quandela backend.","example":{"circuit":":PCVL:zip:eJyzCnAO87FydM4sSi7NLLFydfTM9K9wdI7MSg52DsyO9AkNCtWu9DANqMj3cg50hAPP9GwvBM+xEKgWwXPxRFNrEegYlu/jDNTj7mzoGhZQnGEWYkF1ewCY7jxM","command":"sample_count","input_state":":PCVL:BasicState:|1,1>","job_context":null,"max_samples":1000,"max_shots":1000,"parameters":{"min_detected_photons":2}},"externalDocs":{"description":"Quandela Cloud API Documentation","url":"https://api.cloud.quandela.com/api/docs/"},"title":"Quandela Job Input","x-fern-type-name":"Quandela_JobInput"},"Aws_AHS_JobInput":{"type":"object","additionalProperties":false,"description":"Analog Hamiltonian Simulation program for AWS Braket AHS backends (e.g. QuEra Aquila). ","example":{"ahs_program":{"setup":{"ahs_register":{"sites":[[0,0],[0,4.0E-6],[4.0E-6,0]],"filling":[1,1,1]}},"hamiltonian":{"drivingFields":[{"amplitude":{"time_series":{"values":[0.0,1.57E7,1.57E7,0.0],"times":[0.0,1.0E-6,2.0E-6,3.0E-6]},"pattern":"uniform"},"phase":{"time_series":{"values":[0.0,0.0],"times":[0.0,3.0E-6]},"pattern":"uniform"},"detuning":{"time_series":{"values":[-5.4E7,5.4E7],"times":[0.0,3.0E-6]},"pattern":"uniform"}}],"localDetuning":[{"magnitude":{"time_series":{"values":[0.0,2.5E7,2.5E7,0.0],"times":[0.0,1.0E-6,2.0E-6,3.0E-6]},"pattern":[0.8,1.0,0.9]}}]}}},"externalDocs":{"description":"AWS Braket Analog Hamiltonian Simulation","url":"https://docs.aws.amazon.com/braket/latest/developerguide/braket-quera-submitting-analog-program-aquila.html"},"properties":{"ahs_program":{"type":"object","description":"The Analog Hamiltonian Simulation program definition","properties":{"setup":{"type":"object","description":"Register setup defining atom positions and filling","properties":{"ahs_register":{"type":"object","description":"Atomic register configuration with 2D coordinates and filling pattern","properties":{"sites":{"type":"array","description":"List of [x, y] coordinate pairs for atom trap positions in meters","items":{"type":"array","items":{"type":"number"},"maxItems":2,"minItems":2}},"filling":{"type":"array","description":"List of 0 or 1 values indicating which sites are filled with atoms","items":{"type":"integer","enum":[0,1]}}},"required":["filling","sites"]}},"required":["ahs_register"]},"hamiltonian":{"type":"object","description":"Hamiltonian definition with driving fields and optional local detuning","properties":{"drivingFields":{"type":"array","description":"Global driving fields applied to all atoms, each with amplitude, phase, and detuning time series","items":{"type":"object","properties":{"amplitude":{"type":"object","description":"Rabi frequency Omega(t) in rad/s","properties":{"time_series":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"times":{"type":"array","items":{"type":"number"}}},"required":["times","values"]},"pattern":{"description":"Spatial pattern — \"uniform\" for global application, or array of per-site numeric factors","oneOf":[{"type":"string"},{"type":"array","items":{"type":"number"}}]}},"required":["pattern","time_series"]},"phase":{"type":"object","description":"Phase phi(t) in radians","properties":{"time_series":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"times":{"type":"array","items":{"type":"number"}}},"required":["times","values"]},"pattern":{"description":"Spatial pattern — \"uniform\" for global application, or array of per-site numeric factors","oneOf":[{"type":"string"},{"type":"array","items":{"type":"number"}}]}},"required":["pattern","time_series"]},"detuning":{"type":"object","description":"Global detuning Delta_global(t) in rad/s","properties":{"time_series":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"times":{"type":"array","items":{"type":"number"}}},"required":["times","values"]},"pattern":{"description":"Spatial pattern — \"uniform\" for global application, or array of per-site numeric factors","oneOf":[{"type":"string"},{"type":"array","items":{"type":"number"}}]}},"required":["pattern","time_series"]}},"required":["amplitude","detuning","phase"]}},"localDetuning":{"type":"array","description":"Local detuning patterns applied to individual atoms","items":{"type":"object","properties":{"magnitude":{"type":"object","description":"Local detuning magnitude with time series and per-site pattern","properties":{"time_series":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"times":{"type":"array","items":{"type":"number"}}},"required":["times","values"]},"pattern":{"description":"Spatial pattern — \"uniform\" for global application, or array of per-site numeric factors","oneOf":[{"type":"string"},{"type":"array","items":{"type":"number"}}]}},"required":["pattern","time_series"]}},"required":["magnitude"]}}},"required":["drivingFields"]}},"required":["hamiltonian","setup"]}},"required":["ahs_program"],"title":"AWS AHS Job Input","x-fern-type-name":"Aws_AHS_JobInput"},"Qudora_JobInput":{"type":"object","additionalProperties":false,"description":"Quantum program input for Qudora backends","externalDocs":{"description":"Qudora API Documentation","url":"https://api.qudora.com/docs"},"properties":{"qasm":{"type":"string","description":"Quantum program source code in OpenQASM 2.0 or OpenQASM 3.0 format","example":"OPENQASM 2.0; include \"qelib1.inc\"; qreg q[2]; creg c[2]; h q[0]; cx q[0], q[1]; measure q -> c;"}},"required":["qasm"],"title":"Qudora Job Input","x-fern-type-name":"Qudora_JobInput"},"IBM_JobInput":{"description":"Input schema for IBM Quantum jobs. Supports SamplerV2, EstimatorV2, and NoiseLearner primitives.","oneOf":[{"type":"object","additionalProperties":false,"description":"The input for a SamplerV2 API call","properties":{"pubs":{"type":"array","description":"Primitive Unit Blocs of data. Each PUB is of the form (Circuit, Parameters, Shots) where the circuit is required, parameters should be passed only for parametrized circuits, and shots is optional","items":{"anyOf":[{"type":"array","items":{"type":"object"},"minItems":1,"x-prefixItems":[{"description":"The quantum circuit in QASM string or base64-encoded QPY format. See https://docs.quantum.ibm.com/api/qiskit/qpy for more details on QPY."},{"description":"A dictionary of the parameter values. The keys are the names of the parameters, and the values are the actual parameter values."},{"description":"The number of shots to use in this PUB","type":["integer","null"]}]},{"type":"object","description":"The quantum circuit in QASM string or base64-encoded QPY format. See https://docs.quantum.ibm.com/api/qiskit/qpy for more details on QPY.","not":{"type":"array","items":{"type":"object"}}}]}},"options":{"type":"object","additionalProperties":false,"description":"Options for V2 Sampler","properties":{"default_shots":{"type":"integer","description":"The default number of shots to use if none are specified in the PUBs","minimum":0},"dynamical_decoupling":{"type":"object","description":"Suboptions for dynamical decoupling","properties":{"enable":{"type":"boolean","description":"Whether to enable DD as specified by the other options in this class"},"sequence_type":{"type":"string","description":"Which dynamical decoupling sequence to use","enum":["XX","XpXm","XY4"]},"extra_slack_distribution":{"type":"string","description":"Where to put extra timing delays due to rounding issues","enum":["middle","edges"]},"scheduling_method":{"type":"string","description":"Whether to schedule gates as soon as ('asap') or as late as ('alap') possible","enum":["alap","asap"]},"skip_reset_qubits":{"type":"boolean","description":"Whether to insert DD on idle periods that immediately follow initialized/reset qubits."}}},"execution":{"type":"object","description":"Execution options","properties":{"init_qubits":{"type":"boolean","description":"Whether to reset the qubits to the ground state for each shot"},"rep_delay":{"type":"number","description":"The delay between a measurement and the subsequent quantum circuit"},"meas_type":{"type":"object","description":"How to process and return measurement results","enum":["classified","kerneled","avg_kerneled"]}}},"twirling":{"type":"object","description":"Twirling options","properties":{"enable_gates":{"type":"boolean","description":"Whether to apply 2-qubit gate twirling"},"enable_measure":{"type":"boolean","description":"Whether to apply measurement twirling"},"num_randomizations":{"description":"The number of random samples to use when twirling or performing sampled mitigation","oneOf":[{"type":"integer","minimum":1},{"type":"object","enum":["auto"]}]},"shots_per_randomization":{"description":"The number of shots to run for each random sample","oneOf":[{"type":"integer","minimum":1},{"type":"object","enum":["auto"]}]},"strategy":{"type":"string","description":"The strategy of twirling qubits in identified layers of 2-qubit twirled gates","enum":["active","active-circuit","active-accum","all"]}}},"simulator":{"type":"object","additionalProperties":false,"description":"Simulator options","properties":{"noise_model":{"type":"object","description":"Noise model for the simulator."},"seed_simulator":{"type":"integer","description":"Random seed to control sampling."},"coupling_map":{"type":"array","description":"Directed coupling map to target in mapping.","items":{"type":"object"}},"basis_gates":{"type":"array","description":"List of basis gate names to unroll to.","items":{"type":"string"}}}},"experimental":{"type":"object","description":"Experimental options."}}},"shots":{"type":"integer","description":"Default number of shots which applies to all PUBs without shots. This overrides default_shots specified in options.","minimum":0},"support_qiskit":{"type":"boolean","description":"If True, returns a Qiskit-style output, meant to be parsed using the runtime result decoder, or resort to returning pure JSON results (resulting in larger objects)"},"version":{"type":"object","description":"For SamplerV2, version should always be 2","enum":[2]}},"required":["pubs"],"title":"SamplerV2 input"},{"type":"object","additionalProperties":false,"description":"The input for an EstimatorV2 API call","properties":{"pubs":{"type":"array","description":"Primitive Unit Blocs of data. Each PUB is of the form (Circuit, Observables, Parameters, Precision) where the circuit and observables are required, parameters should be passed only for parametrized circuits, and precision is optional","items":{"type":"array","items":{"type":"object"},"minItems":2,"x-prefixItems":[{"description":"The quantum circuit in QASM string or base64-encoded QPY format. See https://docs.quantum.ibm.com/api/qiskit/qpy for more details on QPY."},{"description":"One or more observables, which can be given as strings."},{"description":"The parameter values. The keys are the names of the parameters, and the values are the actual parameter values."},{"description":"The precision for this specific PUB","type":["number","null"]}]}},"options":{"type":"object","additionalProperties":false,"description":"Options for V2 Estimator","properties":{"seed_estimator":{"type":"integer","description":"Seed used to control sampling"},"default_precision":{"type":"number","description":"The default precision to use if a precision is not specified for a PUB or for this job.","minimum":0},"default_shots":{"type":"integer","description":"The total number of shots to use per circuit per configuration. If set, this value overrides default_precision.","minimum":0},"dynamical_decoupling":{"type":"object","description":"Suboptions for dynamical decoupling","properties":{"enable":{"type":"boolean","description":"Whether to enable dynamical decoupling."},"sequence_type":{"type":"string","description":"Which dynamical decoupling sequence to use","enum":["XX","XpXm","XY4"]},"extra_slack_distribution":{"type":"string","description":"Where to put extra timing delays due to rounding issues","enum":["middle","edges"]},"scheduling_method":{"type":"string","description":"Whether to schedule gates as soon as ('asap') or as late as ('alap') possible","enum":["alap","asap"]},"skip_reset_qubits":{"type":"boolean","description":"Whether to insert DD on idle periods that immediately follow initialized/reset qubits."}}},"resilience":{"type":"object","description":"Advanced resilience options to fine tune the resilience strategy","properties":{"measure_mitigation":{"type":"boolean","description":"Whether to enable measurement error mitigation method"},"measure_noise_learning":{"type":"object","description":"Additional measurement noise learning options","properties":{"num_randomizations":{"type":"integer","description":"The number of random circuits to draw for the measurement learning experiment","minimum":1},"shots_per_randomization":{"description":"The number of shots to use for the learning experiment per random circuit.","oneOf":[{"type":"integer","minimum":1},{"type":"object","enum":["auto"]}]}}},"zne_mitigation":{"type":"boolean","description":"Whether to turn on Zero Noise Extrapolation error mitigation method"},"zne":{"type":"object","description":"Additional zero noise extrapolation mitigation options","properties":{"noise_factors":{"type":"object","description":"A list of floats representing noise factors to use for noise amplification"},"extrapolator":{"description":"Extrapolator(s) to try (in order) for extrapolating to zero noise","oneOf":[{"type":"array","items":{"type":"string","enum":["linear","exponential","double_exponential","polynomial_degree_1","polynomial_degree_2","polynomial_degree_3","polynomial_degree_4","polynomial_degree_5","polynomial_degree_6","polynomial_degree_7","fallback"]}},{"type":"string","enum":["linear","exponential","double_exponential","polynomial_degree_1","polynomial_degree_2","polynomial_degree_3","polynomial_degree_4","polynomial_degree_5","polynomial_degree_6","polynomial_degree_7","fallback"]}]},"amplifier":{"type":"string","description":"Technique to use for amplifying noise.","enum":["gate_folding","gate_folding_front","gate_folding_back","pea"]},"extrapolated_noise_factors":{"type":"object","description":"A list of floats representing noise factors to evaluate the fit extrapolation models at, or the string 'auto' to set them based on the noise factors."}}},"pec_mitigation":{"type":"boolean","description":"Whether to turn on Probabilistic Error Cancellation error mitigation method"},"pec":{"type":"object","description":"Additional probabilistic error cancellation mitigation options","properties":{"max_overhead":{"description":"The maximum circuit sampling overhead allowed","oneOf":[{"type":"number","minimum":0}]},"noise_gain":{"description":"The amount by which to scale the noise","oneOf":[{"type":"number","minimum":0},{"type":"object","enum":["auto"]}]}}},"layer_noise_learning":{"type":"object","description":"Layer noise learning options","properties":{"max_layers_to_learn":{"type":"integer","description":"The max number of unique layers to learn","minimum":0},"shots_per_randomization":{"type":"integer","description":"The total number of shots to use per random learning circuit","minimum":1},"num_randomizations":{"type":"integer","description":"The number of random circuits to use per learning circuit configuration","minimum":1},"layer_pair_depths":{"type":"object","description":"A list of integers representing the circuit depths (measured in number of pairs) to use in learning experiments"}}},"layer_noise_model":{"type":"object","description":"A NoiseLearnerResult or a sequence of LayerError objects, or null to invoke a noise-learning stage when necessary."}}},"execution":{"type":"object","description":"Execution options","properties":{"init_qubits":{"type":"boolean","description":"Whether to reset the qubits to the ground state for each shot"},"rep_delay":{"type":"number","description":"The delay between a measurement and the subsequent quantum circuit"}}},"twirling":{"type":"object","description":"Twirling options","properties":{"enable_gates":{"type":"boolean","description":"Whether to apply 2-qubit gate twirling"},"enable_measure":{"type":"boolean","description":"Whether to apply measurement twirling"},"num_randomizations":{"description":"The number of random samples to use when twirling or performing sampled mitigation","oneOf":[{"type":"integer","minimum":1},{"type":"object","enum":["auto"]}]},"shots_per_randomization":{"description":"The number of shots to run for each random sample","oneOf":[{"type":"integer","minimum":1},{"type":"object","enum":["auto"]}]},"strategy":{"type":"string","description":"The strategy of twirling qubits in identified layers of 2-qubit twirled gates","enum":["active","active-circuit","active-accum","all"]}}},"simulator":{"type":"object","additionalProperties":false,"description":"Simulator options","properties":{"noise_model":{"type":"object","description":"Noise model for the simulator."},"seed_simulator":{"type":"integer","description":"Random seed to control sampling."},"coupling_map":{"type":"array","description":"Directed coupling map to target in mapping.","items":{"type":"object"}},"basis_gates":{"type":"array","description":"List of basis gate names to unroll to.","items":{"type":"string"}}}},"experimental":{"type":"object","description":"Experimental options."}}},"resilience_level":{"type":"integer","description":"How much resilience to build against errors","enum":[0,1,2]},"precision":{"type":"number","description":"Default precision level which applies to all PUBs without precision. This overrides default_precision and default_shots specified in options.","minimum":0},"support_qiskit":{"type":"boolean","description":"If True, returns a qiskit-style output, meant to be parsed using the runtime result decoder, or resort to returning pure JSON results (resulting in larger objects)"},"version":{"type":"object","description":"For EstimatorV2, version should always be 2","enum":[2]}},"required":["pubs"],"title":"EstimatorV2 input"},{"type":"object","additionalProperties":false,"description":"The input for a NoiseLearner API call","properties":{"circuits":{"type":"array","description":"The circuits on which to perform noise learning.","items":{"type":"object","description":"The quantum circuit in QASM string or base64-encoded QPY format. See https://docs.quantum.ibm.com/api/qiskit/qpy for more details on QPY.","minItems":1,"not":{"type":"array","items":{"type":"object"}}}},"options":{"type":"object","additionalProperties":false,"description":"NoiseLearner options","properties":{"simulator":{"type":"object","additionalProperties":false,"description":"Simulator options","properties":{"noise_model":{"type":"object","description":"Noise model for the simulator."},"seed_simulator":{"type":"integer","description":"Random seed to control sampling."},"coupling_map":{"type":"array","description":"Directed coupling map to target in mapping.","items":{"type":"object"}},"basis_gates":{"type":"array","description":"List of basis gate names to unroll to.","items":{"type":"string"}}}},"max_layers_to_learn":{"type":"integer","description":"The max number of unique layers to learn","minimum":0},"shots_per_randomization":{"type":"integer","description":"The total number of shots to use per random learning circuit","minimum":1},"num_randomizations":{"type":"integer","description":"The number of random circuits to use per learning circuit configuration","minimum":1},"layer_pair_depths":{"type":"array","description":"The circuit depths (measured in number of pairs) to use in learning experiments","items":{"type":"integer","minimum":0}},"twirling_strategy":{"type":"string","description":"The strategy of twirling qubits in identified layers of 2-qubit twirled gates","enum":["active","active-circuit","active-accum","all"]},"experimental":{"type":"object","description":"Experimental options."},"support_qiskit":{"type":"boolean","description":"If True, returns a Qiskit-style output, meant to be parsed using the runtime result decoder, or resort to returning pure JSON results (resulting in larger objects)"}}},"version":{"type":"object","description":"For NoiseLearner, should always be 2","enum":[2]}},"required":["circuits"],"title":"NoiseLearner input"}],"title":"IBM Quantum Job Input","x-fern-type-name":"IBM_JobInput"},"IQM_JobInput":{"type":"object","additionalProperties":false,"description":"Job input for IQM quantum computers. Represents quantum circuits in the IQM native circuit format.","properties":{"circuits":{"type":"array","description":"List of quantum circuits to execute.","items":{"type":"object","additionalProperties":false,"description":"A quantum circuit in IQM native format.","properties":{"name":{"type":"string","description":"Name of the circuit."},"instructions":{"type":"array","description":"List of circuit instructions (quantum gates and operations).","items":{"type":"object","additionalProperties":false,"description":"A single instruction (gate or operation) in a circuit.","properties":{"name":{"type":"string","description":"Name of the gate or operation (e.g., 'prx', 'cz', 'measure')."},"args":{"type":"object","additionalProperties":true,"description":"Arguments for a gate, such as rotation angles.","properties":{"angle_t":{"type":"number","description":"Rotation angle in units of full turns (t = turns, so 0.5 = pi radians)."},"phase_t":{"type":"number","description":"Phase angle in units of full turns."},"key":{"type":"string","description":"Measurement key."}}},"implementation":{"type":"string","description":"Implementation hint for this instruction."},"qubits":{"type":"array","description":"List of qubit names this instruction acts on.","items":{"type":"string"}},"metadata":{"type":"object","additionalProperties":true,"description":"Arbitrary metadata for this instruction."}},"required":["name"]}},"args":{"type":"object","additionalProperties":true,"description":"Arguments for the circuit, such as rotation angles.","properties":{"angle_t":{"type":"number","description":"Rotation angle in units of full turns (t = turns, so 0.5 = pi radians)."},"phase_t":{"type":"number","description":"Phase angle in units of full turns."},"key":{"type":"string","description":"Measurement key."}}},"implementation":{"type":"string","description":"Implementation hint for the circuit."},"qubits":{"type":"array","description":"List of qubit names used in this circuit.","items":{"type":"string"}},"metadata":{"type":"object","additionalProperties":true,"description":"Arbitrary metadata for the circuit."}},"required":["instructions","name"]},"minItems":1},"calibration_set_id":{"type":"string","format":"uuid","description":"ID of the calibration set to use. If not provided, the latest calibration set is used."},"qubit_mapping":{"type":"array","description":"Mapping of logical qubit names to physical qubit names.","items":{"type":"object","additionalProperties":false,"description":"Mapping from a logical qubit name to a physical qubit name.","properties":{"logical_name":{"type":"string","description":"Logical qubit name used in the circuit."},"physical_name":{"type":"string","description":"Physical qubit name on the device."}},"required":["logical_name","physical_name"]}},"custom_settings":{"type":"object","additionalProperties":true,"description":"Custom settings for the job execution."},"dd_mode":{"type":"string","default":"disabled","description":"Dynamical decoupling mode.","enum":["disabled","enabled"]},"dd_strategy":{"type":"object","additionalProperties":false,"description":"Dynamical decoupling strategy configuration.","properties":{"gate_sequences":{"type":"array","description":"Gate sequences for dynamical decoupling.","items":{"type":"array","items":{"type":"string"}}},"merge_contiguous_waits":{"type":"boolean","default":true,"description":"Whether to merge contiguous wait periods."},"skip_leading_wait":{"type":"boolean","default":true,"description":"Whether to skip the leading wait period."},"skip_trailing_wait":{"type":"boolean","default":true,"description":"Whether to skip the trailing wait period."},"target_qubits":{"type":"array","description":"Target qubits for dynamical decoupling.","items":{"type":"string"}}}},"heralding_mode":{"type":"string","default":"none","description":"Heralding mode for the job. When set to 'zeros', a heralding measurement is performed before each circuit execution.","enum":["none","zeros"]},"move_gate_frame_tracking_mode":{"type":"string","default":"full","description":"Frame tracking mode for MOVE gates.","enum":["full","no_detuning_correction","none"]},"move_validation_mode":{"type":"string","default":"strict","description":"Validation mode for MOVE gate sequences.","enum":["strict","allow_prx","none"]},"max_circuit_duration_over_t2":{"type":"number","description":"Maximum ratio of circuit duration to T2 time. If set, circuits exceeding this ratio are rejected."},"active_reset_cycles":{"type":"integer","description":"Number of active reset cycles to perform before each circuit execution.","minimum":0}},"required":["circuits"],"title":"IQM Job Input","x-fern-type-name":"IQM_JobInput"},"Aws_QASM_3_JobInput":{"type":"object","additionalProperties":false,"description":"Quantum program input for AWS Braket OpenQASM 3.0 backends","externalDocs":{"description":"AWS Braket OpenQASM 3.0","url":"https://docs.aws.amazon.com/braket/latest/developerguide/braket-openqasm.html"},"properties":{"qasm":{"type":"string","description":"Quantum program source code in OpenQASM 3.0 format","example":"OPENQASM 3.0; bit[2] b; qubit[2] q; h q[0]; cnot q[0], q[1]; b[0] = measure q[0]; b[1] = measure q[1];"}},"required":["qasm"],"title":"AWS QASM 3.0 Job Input","x-fern-type-name":"Aws_QASM_3_JobInput"},"AzureIonq_JobInputParams":{"additionalProperties":false,"description":"This backend does not provide input parameters","properties":{},"title":"Azure Ionq Job Parameters","x-fern-type-name":"AzureIonq_JobInputParams"},"Quandela_JobInputParams":{"type":"object","additionalProperties":false,"description":"Optional job parameters for Quandela backends. These are combined with the input payload before submission to the Quandela Cloud API.","properties":{"pcvl_version":{"type":"string","description":"Perceval library version used to generate the payload"},"platform_name":{"type":"string","description":"Name of the target platform (e.g. sim:altair)"},"process_id":{"type":"string","description":"Identifier of the process to run"},"job_group_name":{"type":"string","description":"Name of the job group for batch submissions"},"max_duration":{"type":"integer","description":"Maximum duration in seconds for the job execution"}},"title":"Quandela Job Input Parameters","x-fern-type-name":"Quandela_JobInputParams"},"Aws_AHS_JobInputParams":{"type":"object","additionalProperties":false,"description":"Job parameters for AWS Braket AHS backends. AHS programs do not use additional input parameters.","properties":{},"title":"AWS AHS Job Input Parameters","x-fern-type-name":"Aws_AHS_JobInputParams"},"Qudora_JobInputParams":{"type":"object","additionalProperties":false,"description":"Optional job parameters for Qudora backends","properties":{"backend_settings":{"type":"object","additionalProperties":true,"description":"Provider-specific backend settings passed through to the Qudora API"},"language":{"type":"string","default":"OpenQASM2","description":"The quantum circuit language to use for the job","enum":["OpenQASM2","OpenQASM3"]}},"title":"Qudora Job Input Parameters","x-fern-type-name":"Qudora_JobInputParams"},"IBM_JobInputParams":{"type":"object","additionalProperties":false,"description":"Input parameters for IBM Quantum job creation","properties":{"program_id":{"type":"string","description":"The ID of the Qiskit Runtime program to run (e.g. 'sampler', 'estimator')","maxLength":10000,"minLength":1},"max_execution_time":{"type":"integer","description":"Maximum execution time in seconds","minimum":1},"log_level":{"type":"string","description":"Log level for the job execution","enum":["critical","error","warning","info","debug"]}},"required":["program_id"],"title":"IBM Job Input Parameters","x-fern-type-name":"IBM_JobInputParams"},"IQM_JobInputParams":{"type":"object","additionalProperties":false,"description":"This backend does not support additional input parameters.","properties":{},"title":"IQM Job Input Parameters","x-fern-type-name":"IQM_JobInputParams"},"Aws_QASM_3_JobInputParams":{"type":"object","additionalProperties":false,"description":"Optional job parameters for AWS Braket QASM backends","properties":{"disable_qubit_rewiring":{"type":"boolean","default":false,"description":"If true, automatic qubit rewiring is disabled, i.e. Braket is not allowed to re-map logical qubits to physical qubits on the backend device to optimize circuit execution. If not specified, the default is false.","example":false},"qubit_count":{"type":"number","description":"Number of qubits used in the circuit. If not specified, it is tried to infer it from the circuit.","minimum":1}},"title":"AWS QASM Job Parameters","x-fern-type-name":"Aws_QASM_3_JobInputParams"}},"securitySchemes":{"apiKey":{"type":"apiKey","name":"X-Auth-Token","in":"header"},"oauth2":{"type":"oauth2","flows":{"password":{"tokenUrl":"https://login.planqk.de/realms/planqk/protocol/openid-connect/token","refreshUrl":"https://login.planqk.de/realms/planqk/protocol/openid-connect/token","scopes":{"profile":""}}}}}}}