Korean
언어
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

AlgorithmJob

class AlgorithmJob(function, *args, **kwargs)[소스]

기반 클래스: PrimitiveJob

This empty class is introduced for typing purposes.

매개변수

function – a callable function to execute the job.

Methods

backend

Return the backend where this job was executed.

cancel

Attempt to cancel the job.

cancelled

Return whether the job has been cancelled.

done

Return whether the job has successfully run.

in_final_state

Return whether the job is in a final job state such as DONE or ERROR.

job_id

Return a unique id identifying the job.

result

Return the results of the job.

running

Return whether the job is actively running.

status

Return the status of the job, among the values of JobStatus.

submit

Submit the job to the backend for execution.

wait_for_final_state

Poll the job status until it progresses to a final state such as DONE or ERROR.

Attributes

version = 1