Skip to content

Commit 7d3cdeb

Browse files
authored
Add new job status (#229)
* fix running -> started * Bump version from 0.6.0 to 0.6.1 * Fix job status in test from 'running' to 'started' * Refactor IonQJob class: improve type hints, enhance docstrings, and streamline logic * Refactor map_output and _build_counts functions: remove type hints for dictionaries and streamline status mapping in IonQJob class * Refactor Session class: replace Backend and IonQClient with IonQBackend, simplify session initialization and tests * Add run method to Session class and corresponding test for session ID propagation * Refactor _build_counts and IonQJob class: streamline classical-bit mapping and execution time handling * Add tests for IonQJob class: validate single and multi-circuit measurement mapping * Refactor IonQJob class: simplify execution time assignment comment
1 parent dfc2950 commit 7d3cdeb

File tree

6 files changed

+251
-201
lines changed

6 files changed

+251
-201
lines changed

qiskit_ionq/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class APIJobStatus(enum.Enum):
4040

4141
SUBMITTED = "submitted"
4242
READY = "ready"
43-
RUNNING = "running"
43+
RUNNING = "started"
4444
CANCELED = "canceled"
4545
COMPLETED = "completed"
4646
FAILED = "failed"

0 commit comments

Comments
 (0)