iqm-client 30.0.0__py3-none-any.whl → 30.1.0__py3-none-any.whl
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/qiskit_iqm/examples/resonance_example.py +1 -1
- iqm/qiskit_iqm/iqm_provider.py +8 -6
- {iqm_client-30.0.0.dist-info → iqm_client-30.1.0.dist-info}/METADATA +1 -1
- {iqm_client-30.0.0.dist-info → iqm_client-30.1.0.dist-info}/RECORD +9 -9
- {iqm_client-30.0.0.dist-info → iqm_client-30.1.0.dist-info}/AUTHORS.rst +0 -0
- {iqm_client-30.0.0.dist-info → iqm_client-30.1.0.dist-info}/LICENSE.txt +0 -0
- {iqm_client-30.0.0.dist-info → iqm_client-30.1.0.dist-info}/WHEEL +0 -0
- {iqm_client-30.0.0.dist-info → iqm_client-30.1.0.dist-info}/entry_points.txt +0 -0
- {iqm_client-30.0.0.dist-info → iqm_client-30.1.0.dist-info}/top_level.txt +0 -0
|
@@ -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()
|
iqm/qiskit_iqm/iqm_provider.py
CHANGED
|
@@ -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.
|
|
@@ -39,7 +39,7 @@ iqm/qiskit_iqm/iqm_circuit_validation.py,sha256=vE5CNyJOQ7OMRpQV-xsO1uf_NNFE8v6-
|
|
|
39
39
|
iqm/qiskit_iqm/iqm_job.py,sha256=Q26hk4JuZP48Xw3qVk4b44LrHbgNQp-mq_itF9umkqg,11666
|
|
40
40
|
iqm/qiskit_iqm/iqm_move_layout.py,sha256=vIsuO-RUJF0ZxB7nPhfOJ2vaUt6mZCLZfQGc6PEBwnc,10486
|
|
41
41
|
iqm/qiskit_iqm/iqm_naive_move_pass.py,sha256=jhTfvhrNDKt6NhhJg_3Y-5x6E1HRNzC_n4A27ZQTuvQ,12962
|
|
42
|
-
iqm/qiskit_iqm/iqm_provider.py,sha256=
|
|
42
|
+
iqm/qiskit_iqm/iqm_provider.py,sha256=56WzHzfa3FeOdMB7RRARgSEc6KRU0I7ozX1iCiTyMFw,18214
|
|
43
43
|
iqm/qiskit_iqm/iqm_target.py,sha256=fj18g2-kvHztCZxcc3tUeoc4XZvhy_EAkn-kD59D8vw,15816
|
|
44
44
|
iqm/qiskit_iqm/iqm_transpilation.py,sha256=2PyDAOukJpvSIVXmuYB8EWhmzlJHBUpzFPbW5VhfApg,9113
|
|
45
45
|
iqm/qiskit_iqm/move_gate.py,sha256=QU9RKKVvbGq33qcIi9AKLcvQVQMibkgW4ibjzk-oVy4,2808
|
|
@@ -48,7 +48,7 @@ iqm/qiskit_iqm/qiskit_to_iqm.py,sha256=9JGcR_7K1Y5W6_PBP1bVCZqy7khCOa-BU9m1I9MJB
|
|
|
48
48
|
iqm/qiskit_iqm/transpiler_plugins.py,sha256=w0TXrAqtMZsPgGC1YcwiLvlBYVKDtpaCi_lnlLjTD2c,8717
|
|
49
49
|
iqm/qiskit_iqm/examples/__init__.py,sha256=M4ElQHCo-WxtVXK39bF3QiFT3IGXPtZ1khqexHiTBEc,20
|
|
50
50
|
iqm/qiskit_iqm/examples/bell_measure.py,sha256=iMZB_MNMf2XP6Eiv2XbhtNs4bXbMGQeMw7ohw2JWKS8,1903
|
|
51
|
-
iqm/qiskit_iqm/examples/resonance_example.py,sha256=
|
|
51
|
+
iqm/qiskit_iqm/examples/resonance_example.py,sha256=ACmHt9Zz2rhs5mlhCoVCbzWlE9QmOFVMOsHGifblMt4,2953
|
|
52
52
|
iqm/qiskit_iqm/examples/transpile_example.py,sha256=hUxGPD_eLaZFFHAbegcjT9lNq7UAvGCzHfZFnuF6cbE,2099
|
|
53
53
|
iqm/qiskit_iqm/fake_backends/__init__.py,sha256=fkw2UHT-3aJbAKvR1WYUN7_4N5Gdwpx9bm6vlWj1tm0,874
|
|
54
54
|
iqm/qiskit_iqm/fake_backends/fake_adonis.py,sha256=g5QQ158vd49_SxzteDip97XMD3d50SJymx_rU7g7lzk,2188
|
|
@@ -57,10 +57,10 @@ iqm/qiskit_iqm/fake_backends/fake_apollo.py,sha256=eT2vd3kQBi1rrvxCpePymBCfFK84d
|
|
|
57
57
|
iqm/qiskit_iqm/fake_backends/fake_deneb.py,sha256=RzQXmLXmBARDiMKVxk5Aw9fVbc6IYlW0A5jibk9iYD0,3156
|
|
58
58
|
iqm/qiskit_iqm/fake_backends/fake_garnet.py,sha256=GI0xafTCj1Um09qVuccO6GPOGBm6ygul_O40Wu220Ys,5555
|
|
59
59
|
iqm/qiskit_iqm/fake_backends/iqm_fake_backend.py,sha256=wJtfsxjPYbDKmzaz5R4AuaXvvPHa21WyPtRgNctL9eY,16785
|
|
60
|
-
iqm_client-30.
|
|
61
|
-
iqm_client-30.
|
|
62
|
-
iqm_client-30.
|
|
63
|
-
iqm_client-30.
|
|
64
|
-
iqm_client-30.
|
|
65
|
-
iqm_client-30.
|
|
66
|
-
iqm_client-30.
|
|
60
|
+
iqm_client-30.1.0.dist-info/AUTHORS.rst,sha256=qsxeK5A3-B_xK3hNbhFHEIkoHNpo7sdzYyRTs7Bdtm8,795
|
|
61
|
+
iqm_client-30.1.0.dist-info/LICENSE.txt,sha256=2DXrmQtVVUV9Fc9RBFJidMiTEaQlG2oAtlC9PMrEwTk,11333
|
|
62
|
+
iqm_client-30.1.0.dist-info/METADATA,sha256=pbBDKSpbKWOSJcupUX-DPyjGDM6agGvieG7DAKTNQzY,17692
|
|
63
|
+
iqm_client-30.1.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
|
64
|
+
iqm_client-30.1.0.dist-info/entry_points.txt,sha256=Kk2qfRwk8vbIJ7qCAvmaUogfRRn6t92_hBFhe6kqAE4,1317
|
|
65
|
+
iqm_client-30.1.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
|
|
66
|
+
iqm_client-30.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|