qbraid.devices.JobStatus

class JobStatus(value)[source]

Class for the status of processes (i.e. jobs / quantum tasks) resulting from any run() method.

INITIALIZING

job is being initialized

Type

str

QUEUED

job is queued

Type

str

VALIDATING

job is being validated

Type

str

RUNNING

job is actively running

Type

str

CANCELLING

job is being cancelled

Type

str

CANCELLED

job has been cancelled

Type

str

COMPLETED

job has successfully run

Type

str

FAILED

job failed / incurred error

Type

str

UNKNOWN

vendor-supplied job status not recognized

Type

str

__init__()

Methods

raw()

Returns raw status string

Attributes

INITIALIZING

QUEUED

VALIDATING

RUNNING

CANCELLING

CANCELLED

COMPLETED

FAILED

UNKNOWN