MQPJob¶
Bases: JobV1
MQPJob Class
result ¶
result()
Fetches the results from the MQSS Backend and returns it to the user. The returned object includes: result_dict = { "job_id": self._job_id, "success": True|False, "results": [ { "shots": sum(_counts.values()), "success": True|False, "data": { "counts": Counts(_counts), }, } for _counts in res_counts ], "timestamps": { "submitted": res.timestamp_submitted, "scheduled": res.timestamp_scheduled, "completed": res.timestamp_completed, }, }
Returns:
Name | Type | Description |
---|---|---|
result_dict |
dict |
status ¶
status()
Returns the job status
Raises:
Type | Description |
---|---|
RuntimeWarning
|
Unknown job status |
Returns:
Name | Type | Description |
---|---|---|
status |
QiskitJobStatus |