QPanda3
0.1.0
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) -> QPanda::QCloudResult | |
result (self, *args, **kwargs) | |
result(self: qcloud.QCloudJob) -> QPanda::QCloudResult | |
JobStatus | status (self) |
status(self: qcloud.QCloudJob) -> qcloud.JobStatus | |
None pyqpanda3.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.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.QCloudJob.query | ( | self, | |
* | args, | ||
** | kwargs ) |
query(self: qcloud.QCloudJob) -> QPanda::QCloudResult
Queries the quantum job for information.
QCloudResult
object containing the job query result. pyqpanda3.qcloud.QCloudJob.result | ( | self, | |
* | args, | ||
** | kwargs ) |
result(self: qcloud.QCloudJob) -> QPanda::QCloudResult
Retrieves the result of the quantum job.
QCloudResult
object containing the job result. JobStatus pyqpanda3.qcloud.QCloudJob.status | ( | self | ) |
status(self: qcloud.QCloudJob) -> qcloud.JobStatus
Retrieves the current status of the quantum job.
JobStatus
enumeration value.