IterationStatus#

Module: iqm.station_control.interface.models.iteration

class IterationStatus(value)#

Bases: StrEnum

Iteration statuses in IQMServer.

Attributes

WAITING

Iteration request was accepted and is in a queue, waiting to start.

ACTIVE

Iteration is currently active, and the quantum computer will only execute jobs submitted into this iteration.

COMPLETED

Iteration has ended normally.

FAILED

Iteration failed to complete normally, see IterationData.messages for the reason.

CANCELLED

Iteration was ended by the user before it started.

Methods

terminal_statuses

Statuses in which the iteration is not, and will not be active anymore.

WAITING = 'waiting'#

Iteration request was accepted and is in a queue, waiting to start.

ACTIVE = 'active'#

Iteration is currently active, and the quantum computer will only execute jobs submitted into this iteration.

COMPLETED = 'completed'#

Iteration has ended normally.

FAILED = 'failed'#

Iteration failed to complete normally, see IterationData.messages for the reason.

CANCELLED = 'cancelled'#

Iteration was ended by the user before it started.

classmethod terminal_statuses()#

Statuses in which the iteration is not, and will not be active anymore.

Once an iteration reaches a terminal status, its status or IterationData will no longer change.

Return type:

frozenset[IterationStatus]

Inheritance

Inheritance diagram of iqm.station_control.interface.models.iteration.IterationStatus