Skip to content

Commit

Permalink
Add "CANCELLING" and "RETRYING" statuses (#1364)
Browse files Browse the repository at this point in the history
  • Loading branch information
quantinuum-richard-morrison authored Apr 25, 2024
1 parent 0288746 commit 297a0fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pytket/docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Unreleased
Features:

* Update to pytket-circuit-renderer 0.8.
* Add two new status values for circuits on backends: "CANCELLING" and "RETRYING".

1.27.0 (April 2024)
-------------------
Expand Down
2 changes: 2 additions & 0 deletions pytket/pytket/backends/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class StatusEnum(Enum):
QUEUED = "Circuit is queued."
SUBMITTED = "Circuit has been submitted."
RUNNING = "Circuit is running."
RETRYING = "Circuit is being retried."
CANCELLING = "Cancellation has been requested."
CANCELLED = "Circuit has been cancelled."
ERROR = "Circuit has errored. Check CircuitStatus.message for error message."

Expand Down

0 comments on commit 297a0fb

Please sign in to comment.