iqm-client 26.0.0__tar.gz → 27.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {iqm_client-26.0.0 → iqm_client-27.1.0}/CHANGELOG.rst +17 -0
- {iqm_client-26.0.0/src/iqm_client.egg-info → iqm_client-27.1.0}/PKG-INFO +1 -1
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/iqm_client.py +1 -1
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/models.py +39 -30
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/iqm_job.py +1 -1
- {iqm_client-26.0.0 → iqm_client-27.1.0/src/iqm_client.egg-info}/PKG-INFO +1 -1
- iqm_client-27.1.0/version.txt +1 -0
- iqm_client-26.0.0/version.txt +0 -1
- {iqm_client-26.0.0 → iqm_client-27.1.0}/AUTHORS.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/CHANGELOG_cirq-iqm.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/CHANGELOG_cortex-cli.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/CHANGELOG_qiskit-iqm.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/INTEGRATION_GUIDE.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/LICENSE.txt +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/MANIFEST.in +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/README.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docbuild +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/API.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/_static/images/favicon.ico +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/_static/images/logo.png +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/_templates/autosummary-class-template.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/_templates/autosummary-module-template.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/authors.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/changelog.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/conf.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/index.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/integration_guide.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/license.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/readme.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/user_guide_cirq.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/user_guide_cli.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/docs/user_guide_qiskit.rst +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/pyproject.toml +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/requirements/base.in +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/requirements/base.txt +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/requirements/cirq.in +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/requirements/cirq.txt +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/requirements/cli.in +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/requirements/cli.txt +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/requirements/qiskit.in +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/requirements/qiskit.txt +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/setup.cfg +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/setup.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/__init__.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/devices/__init__.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/devices/adonis.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/devices/aphrodite.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/devices/apollo.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/devices/iqm_device.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/devices/iqm_device_metadata.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/examples/demo_adonis.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/examples/demo_apollo.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/examples/demo_common.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/examples/demo_iqm_execution.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/examples/usage.ipynb +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/extended_qasm_parser.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/iqm_gates.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/iqm_sampler.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/optimizers.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/py.typed +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/serialize.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/cirq_iqm/transpiler.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/__init__.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/api.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/authentication.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/cli/__init__.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/cli/auth.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/cli/cli.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/cli/models.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/cli/py.typed +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/cli/token_manager.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/errors.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/py.typed +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/transpile.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/iqm_client/util.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/__init__.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/examples/__init__.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/examples/bell_measure.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/examples/resonance_example.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/examples/transpile_example.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/fake_backends/__init__.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/fake_backends/fake_adonis.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/fake_backends/fake_aphrodite.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/fake_backends/fake_apollo.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/fake_backends/fake_deneb.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/fake_backends/fake_garnet.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/fake_backends/iqm_fake_backend.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/iqm_backend.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/iqm_circuit.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/iqm_circuit_validation.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/iqm_move_layout.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/iqm_naive_move_pass.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/iqm_provider.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/iqm_transpilation.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/move_gate.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/py.typed +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/qiskit_to_iqm.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/transpiler_plugins.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm_client.egg-info/SOURCES.txt +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm_client.egg-info/dependency_links.txt +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm_client.egg-info/entry_points.txt +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm_client.egg-info/requires.txt +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm_client.egg-info/top_level.txt +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/test +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/tests/__init__.py +0 -0
- {iqm_client-26.0.0 → iqm_client-27.1.0}/tests/conftest.py +0 -0
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
Changelog
|
|
3
3
|
=========
|
|
4
4
|
|
|
5
|
+
Version 27.1.0 (2025-06-09)
|
|
6
|
+
===========================
|
|
7
|
+
|
|
8
|
+
Bug Fixes
|
|
9
|
+
---------
|
|
10
|
+
|
|
11
|
+
- Added a backwards compatibility fix for Resonance. :issue:`SW-1532`
|
|
12
|
+
- Made Resonance integration tests mandatory again. :issue:`SW-1532`
|
|
13
|
+
|
|
14
|
+
Version 27.0.0 (2025-06-02)
|
|
15
|
+
===========================
|
|
16
|
+
|
|
17
|
+
Features
|
|
18
|
+
--------
|
|
19
|
+
|
|
20
|
+
- Revert changes from :issue:`SW-1513`.
|
|
21
|
+
|
|
5
22
|
Version 26.0.0 (2025-05-30)
|
|
6
23
|
===========================
|
|
7
24
|
|
|
@@ -806,7 +806,7 @@ class IQMClient:
|
|
|
806
806
|
start_time = datetime.now()
|
|
807
807
|
while (datetime.now() - start_time).total_seconds() < timeout_secs:
|
|
808
808
|
status = self.get_run_status(job_id).status
|
|
809
|
-
if status in Status.terminal_statuses() | {Status.
|
|
809
|
+
if status in Status.terminal_statuses() | {Status.PENDING_EXECUTION, Status.COMPILED}:
|
|
810
810
|
return self.get_run(job_id)
|
|
811
811
|
time.sleep(SECONDS_BETWEEN_CALLS)
|
|
812
812
|
raise APITimeoutError(f"The job compilation didn't finish in {timeout_secs} seconds.")
|
|
@@ -1009,40 +1009,41 @@ class Metadata(BaseModel):
|
|
|
1009
1009
|
class Status(str, Enum):
|
|
1010
1010
|
"""Status of a job."""
|
|
1011
1011
|
|
|
1012
|
-
# Received by the server
|
|
1013
1012
|
RECEIVED = "received"
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1013
|
+
"""Job has been received but nothing has been done about it."""
|
|
1014
|
+
VALIDATING = "validating"
|
|
1015
|
+
"""Job is being validated."""
|
|
1016
|
+
PROCESSING = "processing"
|
|
1017
|
+
ACCEPTED = "accepted"
|
|
1018
|
+
"""Job has passed initial checks and will proceed to compilation."""
|
|
1019
|
+
PREPARING_CALIBRATION = "preparing_calibration"
|
|
1020
|
+
"""The calibration is being prepared for the job."""
|
|
1021
|
+
PENDING_COMPILATION = "pending_compilation"
|
|
1022
|
+
"""Job has been queued for compilation."""
|
|
1023
|
+
COMPILING = "compiling"
|
|
1024
|
+
"""The job is being compiled."""
|
|
1025
|
+
COMPILED = "compiled"
|
|
1026
|
+
"""Job has been compiled to a low-level representation."""
|
|
1027
|
+
STORING_SWEEP_METADATA = "storing_sweep_metadata"
|
|
1028
|
+
"""Metadata about the sweep is being saved to the database."""
|
|
1029
|
+
METADATA_STORED = "metadata_stored"
|
|
1030
|
+
"""Metadata has been successfully saved."""
|
|
1031
|
+
PENDING_EXECUTION = "pending_execution"
|
|
1032
|
+
"""Job has been compiled and is queued for execution."""
|
|
1033
|
+
EXECUTION_START = "execution_start"
|
|
1034
|
+
"""The job has begun execution on hardware."""
|
|
1035
|
+
EXECUTION_END = "execution_end"
|
|
1036
|
+
"""The job has completed execution on hardware."""
|
|
1037
|
+
PENDING_POST_PROCESSING = "pending_post_processing"
|
|
1038
|
+
"""The job has finished executing and is pending post-processing."""
|
|
1039
|
+
POST_PROCESSING = "post_processing"
|
|
1040
|
+
"""The job results is being post-processed."""
|
|
1039
1041
|
READY = "ready"
|
|
1040
|
-
|
|
1041
|
-
# Job failed, can happen at any stage
|
|
1042
|
+
"""Job has been executed and results are available."""
|
|
1042
1043
|
FAILED = "failed"
|
|
1043
|
-
|
|
1044
|
-
# Job aborted
|
|
1044
|
+
"""Execution or compilation failed."""
|
|
1045
1045
|
ABORTED = "aborted"
|
|
1046
|
+
"""User cancelled the execution."""
|
|
1046
1047
|
PENDING_DELETION = "pending deletion"
|
|
1047
1048
|
"""Job is set to be deleted."""
|
|
1048
1049
|
DELETION_FAILED = "deletion failed"
|
|
@@ -1052,6 +1053,14 @@ class Status(str, Enum):
|
|
|
1052
1053
|
UNKNOWN = "unknown"
|
|
1053
1054
|
"""Job is in a state not recognized by this version of the client."""
|
|
1054
1055
|
|
|
1056
|
+
@classmethod
|
|
1057
|
+
def _missing_(cls, value: object) -> Any:
|
|
1058
|
+
"""This is a backwards compatibility fix for resonance integration. Once Resonance has fixed this, and has been
|
|
1059
|
+
widely deployed, this can be removed. Ticket: QCLOUD-1311
|
|
1060
|
+
"""
|
|
1061
|
+
if value == "pending execution":
|
|
1062
|
+
return cls.PENDING_EXECUTION
|
|
1063
|
+
|
|
1055
1064
|
@classmethod
|
|
1056
1065
|
def terminal_statuses(cls) -> set[Status]:
|
|
1057
1066
|
"""Statuses from which the execution can't continue."""
|
|
@@ -227,7 +227,7 @@ class IQMJob(JobV1):
|
|
|
227
227
|
return JobStatus.DONE
|
|
228
228
|
|
|
229
229
|
result = self._client.get_run_status(uuid.UUID(self._job_id))
|
|
230
|
-
if result.status == Status.
|
|
230
|
+
if result.status == Status.PENDING_EXECUTION:
|
|
231
231
|
return JobStatus.RUNNING
|
|
232
232
|
if result.status == Status.READY:
|
|
233
233
|
return JobStatus.DONE
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
27.1.0
|
iqm_client-26.0.0/version.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
26.0.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{iqm_client-26.0.0 → iqm_client-27.1.0}/src/iqm/qiskit_iqm/fake_backends/iqm_fake_backend.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|