qbraid.runtime.JobStatus

class JobStatus(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

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

Displayed status text values may differ from those listed below to provide additional visibility into tracebacks, particularly for failed jobs.

__init__(*args, **kwds)

Methods

set_status_message(message)

Set a custom message for the enum instance.

terminal_states()

Returns the final job statuses.

Attributes

INITIALIZING

QUEUED

VALIDATING

RUNNING

CANCELLING

CANCELLED

COMPLETED

FAILED

UNKNOWN

HOLD