iqm-client 30.0.0__tar.gz → 30.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-30.0.0 → iqm_client-30.1.0}/CHANGELOG.rst +9 -1
- {iqm_client-30.0.0 → iqm_client-30.1.0}/PKG-INFO +1 -1
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/user_guide_qiskit.rst +9 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/examples/resonance_example.py +1 -1
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/iqm_provider.py +8 -6
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm_client.egg-info/PKG-INFO +1 -1
- iqm_client-30.1.0/version.txt +1 -0
- iqm_client-30.0.0/version.txt +0 -1
- {iqm_client-30.0.0 → iqm_client-30.1.0}/AUTHORS.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/CHANGELOG_cirq-iqm.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/CHANGELOG_cortex-cli.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/CHANGELOG_qiskit-iqm.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/INTEGRATION_GUIDE.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/LICENSE.txt +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/MANIFEST.in +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/README.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docbuild +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/API.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/_static/images/favicon.ico +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/_static/images/logo.png +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/_templates/autosummary-class-template.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/_templates/autosummary-module-template.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/authors.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/changelog.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/conf.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/index.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/integration_guide.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/license.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/readme.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/user_guide_cirq.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/docs/user_guide_cli.rst +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/pyproject.toml +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/pytest.ini +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/requirements/base.in +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/requirements/base.in.internal +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/requirements/base.txt +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/requirements/cirq.in +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/requirements/cirq.txt +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/requirements/cli.in +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/requirements/cli.txt +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/requirements/qiskit.in +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/requirements/qiskit.txt +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/setup.cfg +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/setup.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/__init__.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/devices/__init__.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/devices/adonis.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/devices/aphrodite.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/devices/apollo.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/devices/iqm_device.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/devices/iqm_device_metadata.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/examples/demo_adonis.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/examples/demo_apollo.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/examples/demo_common.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/examples/demo_iqm_execution.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/examples/usage.ipynb +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/extended_qasm_parser.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/iqm_gates.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/iqm_sampler.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/optimizers.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/py.typed +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/serialize.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/cirq_iqm/transpiler.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/__init__.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/api.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/authentication.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/cli/__init__.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/cli/auth.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/cli/cli.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/cli/models.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/cli/token_manager.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/errors.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/iqm_client.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/models.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/py.typed +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/transpile.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/util.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/iqm_client/validation.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/__init__.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/examples/__init__.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/examples/bell_measure.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/examples/transpile_example.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/fake_backends/__init__.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/fake_backends/fake_adonis.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/fake_backends/fake_aphrodite.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/fake_backends/fake_apollo.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/fake_backends/fake_deneb.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/fake_backends/fake_garnet.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/fake_backends/iqm_fake_backend.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/iqm_backend.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/iqm_circuit.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/iqm_circuit_validation.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/iqm_job.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/iqm_move_layout.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/iqm_naive_move_pass.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/iqm_target.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/iqm_transpilation.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/move_gate.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/py.typed +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/qiskit_to_iqm.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm/qiskit_iqm/transpiler_plugins.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm_client.egg-info/SOURCES.txt +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm_client.egg-info/dependency_links.txt +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm_client.egg-info/entry_points.txt +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm_client.egg-info/requires.txt +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/src/iqm_client.egg-info/top_level.txt +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/test +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/tests/__init__.py +0 -0
- {iqm_client-30.0.0 → iqm_client-30.1.0}/tests/conftest.py +0 -0
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
Changelog
|
|
3
3
|
=========
|
|
4
4
|
|
|
5
|
+
Version 30.1.0 (2025-08-28)
|
|
6
|
+
===========================
|
|
7
|
+
|
|
8
|
+
Bug fixes
|
|
9
|
+
---------
|
|
10
|
+
|
|
11
|
+
- fix initialization of backends on resonance
|
|
12
|
+
|
|
5
13
|
Version 30.0.0 (2025-08-20)
|
|
6
14
|
===========================
|
|
7
15
|
|
|
@@ -52,7 +60,7 @@ Version 29.11.0 (2025-08-07)
|
|
|
52
60
|
Features
|
|
53
61
|
--------
|
|
54
62
|
|
|
55
|
-
- Added :meth:`IQMClient.
|
|
63
|
+
- Added :meth:`IQMClient._get_calibration_quality_metrics` for obtaining quality metric and calibration information.
|
|
56
64
|
|
|
57
65
|
Version 29.10.0 (2025-07-31)
|
|
58
66
|
============================
|
|
@@ -174,6 +174,15 @@ circuit(s) are sampled:
|
|
|
174
174
|
`Inspecting circuits before submitting them for execution`_ for inspecting the actual run request sent for
|
|
175
175
|
execution.
|
|
176
176
|
|
|
177
|
+
.. note::
|
|
178
|
+
|
|
179
|
+
As of ``iqm-client >= 30.1.0``, structured quality metrics and calibration data are available to
|
|
180
|
+
``IQMTarget`` for improved transpilation. To import the latest valid quality metric data corresponding
|
|
181
|
+
to the default calibration set into ``IQMTarget``, set ``use_metrics`` to ``True`` when initializing the
|
|
182
|
+
class. For Resonance users, this data is not yet available via the Resonance API, so use the default setting
|
|
183
|
+
of ``use_metrics`` of ``False``.
|
|
184
|
+
|
|
185
|
+
|
|
177
186
|
You can optionally provide IQMBackend specific options as additional keyword arguments to
|
|
178
187
|
:meth:`.IQMBackend.run`, documented at :meth:`.IQMBackend.create_run_request`.
|
|
179
188
|
For example, you can enable heralding measurements using ``circuit_compilation_options`` as follows:
|
|
@@ -37,7 +37,7 @@ def resonance_example(server_url: str, api_token: str | None) -> dict[str, int]:
|
|
|
37
37
|
SHOTS = 1000
|
|
38
38
|
|
|
39
39
|
# Initialize a backend without metrics as IQMClient._get_calibration_quality_metrics is not supported by resonance
|
|
40
|
-
backend = IQMProvider(server_url, token=api_token).get_backend(
|
|
40
|
+
backend = IQMProvider(server_url, token=api_token).get_backend()
|
|
41
41
|
|
|
42
42
|
# Just to make sure that "get_static_quantum_architecture" method works
|
|
43
43
|
static_quantum_architecture = backend.client.get_static_quantum_architecture()
|
|
@@ -55,8 +55,9 @@ class IQMBackend(IQMBackendBase):
|
|
|
55
55
|
calibration_set_id: ID of the calibration set the backend will use.
|
|
56
56
|
``None`` means the IQM server will be queried for the current default
|
|
57
57
|
calibration set.
|
|
58
|
-
use_metrics:
|
|
59
|
-
quality metrics, and pass these to the transpilation target(s).
|
|
58
|
+
use_metrics: If True, the backend will query the server for calibration data and related
|
|
59
|
+
quality metrics, and pass these to the transpilation target(s). The default value is set
|
|
60
|
+
to False until quality metrics become available on the Resonance API.
|
|
60
61
|
kwargs: Optional arguments to be passed to the parent Backend initializer.
|
|
61
62
|
|
|
62
63
|
"""
|
|
@@ -66,7 +67,7 @@ class IQMBackend(IQMBackendBase):
|
|
|
66
67
|
client: IQMClient,
|
|
67
68
|
*,
|
|
68
69
|
calibration_set_id: str | UUID | None = None,
|
|
69
|
-
use_metrics: bool =
|
|
70
|
+
use_metrics: bool = False,
|
|
70
71
|
**kwargs,
|
|
71
72
|
):
|
|
72
73
|
if calibration_set_id is not None and not isinstance(calibration_set_id, UUID):
|
|
@@ -373,7 +374,7 @@ class IQMProvider:
|
|
|
373
374
|
name: str | None = None,
|
|
374
375
|
calibration_set_id: UUID | None = None,
|
|
375
376
|
*,
|
|
376
|
-
use_metrics: bool =
|
|
377
|
+
use_metrics: bool = False,
|
|
377
378
|
) -> IQMBackend:
|
|
378
379
|
"""IQMBackend instance associated with this provider.
|
|
379
380
|
|
|
@@ -382,8 +383,9 @@ class IQMProvider:
|
|
|
382
383
|
calibration_set_id: ID of the calibration set to be used with the backend.
|
|
383
384
|
Affects both the transpilation target and the circuit execution.
|
|
384
385
|
If None, the server default calibration set will be used.
|
|
385
|
-
use_metrics:
|
|
386
|
-
to the transpilation target to improve the transpilation.
|
|
386
|
+
use_metrics: If True, the backend will provide calibration data and related quality metrics
|
|
387
|
+
to the transpilation target to improve the transpilation. The default value is set to False
|
|
388
|
+
until quality metrics become available on the Resonance API.
|
|
387
389
|
|
|
388
390
|
Returns:
|
|
389
391
|
Backend instance for connecting to a quantum computer.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
30.1.0
|
iqm_client-30.0.0/version.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
30.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
|
|
File without changes
|
|
File without changes
|
{iqm_client-30.0.0 → iqm_client-30.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
|
|
File without changes
|