iqm.iqm_client.models.Status#

class iqm.iqm_client.models.Status(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: str, Enum

Status of a job.

Attributes

RECEIVED

Job has been received but nothing has been done about it.

VALIDATION_STARTED

Job is being validated.

PROCESSING

VALIDATION_ENDED

Job has passed initial checks and will proceed to compilation.

FETCH_CALIBRATION_STARTED

The calibration is being fetched for the job.

FETCH_CALIBRATION_ENDED

Job has been fetched for the job.

COMPILATION_STARTED

The job is being compiled.

COMPILATION_ENDED

Job has been compiled to a low-level representation.

SAVE_SWEEP_METADATA_STARTED

Metadata about the sweep is being saved to the database.

SAVE_SWEEP_METADATA_ENDED

Metadata has been successfully saved.

PENDING_EXECUTION

Job has been compiled and is queued for execution.

EXECUTION_STARTED

The job has begun execution on hardware.

EXECUTION_ENDED

The job has completed execution on hardware.

POST_PROCESSING_PENDING

The job has finished executing and is pending post-processing.

POST_PROCESSING_STARTED

The job results is being post-processed.

POST_PROCESSING_ENDED

The job has been successfully post processed.

READY

Job has been executed and results are available.

FAILED

Execution or compilation failed.

ABORTED

User cancelled the execution.

PENDING_DELETION

Job is set to be deleted.

DELETION_FAILED

Job was supposed to be deleted but deletion failed.

DELETED

Job deleted from the database.

UNKNOWN

Job is in a state not recognized by this version of the client.

Methods

_generate_next_value_(start, count, last_values)

Generate the next value when not given.

_missing_(value)

This is a backwards compatibility fix for resonance integration.

terminal_statuses()

Statuses from which the execution can't continue.

_new_member_(**kwargs)

Create and return a new object.

_value_repr_()

Return repr(self).

__format__(format_spec)

Return a formatted version of the string as described by format_spec.

__new__(value)

__repr__()

Return repr(self).

__str__()

Return str(self).

RECEIVED = 'received'#

Job has been received but nothing has been done about it.

VALIDATION_STARTED = 'validation_started'#

Job is being validated.

VALIDATION_ENDED = 'validation_ended'#

Job has passed initial checks and will proceed to compilation.

FETCH_CALIBRATION_STARTED = 'fetch_calibration_started'#

The calibration is being fetched for the job.

FETCH_CALIBRATION_ENDED = 'fetch_calibration_ended'#

Job has been fetched for the job.

COMPILATION_STARTED = 'compilation_started'#

The job is being compiled.

COMPILATION_ENDED = 'compilation_ended'#

Job has been compiled to a low-level representation.

SAVE_SWEEP_METADATA_STARTED = 'save_sweep_metadata_started'#

Metadata about the sweep is being saved to the database.

SAVE_SWEEP_METADATA_ENDED = 'save_sweep_metadata_ended'#

Metadata has been successfully saved.

PENDING_EXECUTION = 'pending_execution'#

Job has been compiled and is queued for execution.

EXECUTION_STARTED = 'execution_started'#

The job has begun execution on hardware.

EXECUTION_ENDED = 'execution_ended'#

The job has completed execution on hardware.

POST_PROCESSING_PENDING = 'post_processing_pending'#

The job has finished executing and is pending post-processing.

POST_PROCESSING_STARTED = 'post_processing_started'#

The job results is being post-processed.

POST_PROCESSING_ENDED = 'post_processing_ended'#

The job has been successfully post processed.

READY = 'ready'#

Job has been executed and results are available.

FAILED = 'failed'#

Execution or compilation failed.

ABORTED = 'aborted'#

User cancelled the execution.

PENDING_DELETION = 'pending deletion'#

Job is set to be deleted.

DELETION_FAILED = 'deletion failed'#

Job was supposed to be deleted but deletion failed.

DELETED = 'deleted'#

Job deleted from the database.

UNKNOWN = 'unknown'#

Job is in a state not recognized by this version of the client.

classmethod terminal_statuses() set[Status]#

Statuses from which the execution can’t continue.

Return type:

set[Status]