![]() |
QPanda3
Supported by OriginQ
|
Public Member Functions | |
| None | __init__ (self, str arg0) |
| init(self: qcloud.QCloudJob, arg0: str) -> None | |
| str | job_id (self) |
| job_id(self: qcloud.QCloudJob) -> str | |
| query (self, *args, **kwargs) | |
| query(self: qcloud.QCloudJob) -> QPanda3::QCloudResult | |
| result (self, *args, **kwargs) | |
| result(self: qcloud.QCloudJob) -> QPanda3::QCloudResult | |
| JobStatus | status (self) |
| status(self: qcloud.QCloudJob) -> qcloud.JobStatus | |
| None pyqpanda3.qcloud.qcloud.QCloudJob.__init__ | ( | self, | |
| str | arg0 ) |
init(self: qcloud.QCloudJob, arg0: str) -> None
Initializes a QCloudJob with a job ID.
| [in] | job_id | The ID of the quantum job. |
| str pyqpanda3.qcloud.qcloud.QCloudJob.job_id | ( | self | ) |
job_id(self: qcloud.QCloudJob) -> str
Retrieves the job ID.
If the job ID is empty, throws a runtime error.
| pyqpanda3.qcloud.qcloud.QCloudJob.query | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
query(self: qcloud.QCloudJob) -> QPanda3::QCloudResult
Queries the quantum job for information.
QCloudResult object containing the job query result. | pyqpanda3.qcloud.qcloud.QCloudJob.result | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
result(self: qcloud.QCloudJob) -> QPanda3::QCloudResult
Retrieves the result of the quantum job.
QCloudResult object containing the job result. | JobStatus pyqpanda3.qcloud.qcloud.QCloudJob.status | ( | self | ) |
status(self: qcloud.QCloudJob) -> qcloud.JobStatus
Retrieves the current status of the quantum job.
JobStatus enumeration value.