iqm-client 31.4.0__py3-none-any.whl → 31.6.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.
@@ -47,8 +47,9 @@ def bell_measure(server_url: str) -> dict[str, int]:
47
47
  if __name__ == "__main__":
48
48
  argparser = argparse.ArgumentParser()
49
49
  argparser.add_argument(
50
- "--cortex_server_url",
51
- help="URL of the IQM server",
52
- default="https://demo.qc.iqm.fi/cocos",
50
+ "--url",
51
+ help="IQM server URL",
52
+ # For example https://cocos.resonance.meetiqm.com/garnet
53
+ default="https://<IQM SERVER>",
53
54
  )
54
- print(bell_measure(argparser.parse_args().cortex_server_url))
55
+ print(bell_measure(argparser.parse_args().url))
@@ -68,7 +68,7 @@ if __name__ == "__main__":
68
68
  "--url",
69
69
  help="URL of the IQM Resonance QC",
70
70
  # For example https://cocos.resonance.meetiqm.com/garnet
71
- default="https://cocos.resonance.meetiqm.com/<QUANTUM COMPUTER>",
71
+ default="https://cocos.resonance.meetiqm.com/<RESONANCE QC NAME>",
72
72
  )
73
73
  argparser.add_argument(
74
74
  "--token",
@@ -51,8 +51,9 @@ if __name__ == "__main__":
51
51
  argparser = argparse.ArgumentParser()
52
52
  argparser.add_argument(
53
53
  "--url",
54
- help="URL of the IQM service",
55
- default="https://cocos.resonance.meetiqm.com/deneb",
54
+ help="IQM server URL",
55
+ # For example https://cocos.resonance.meetiqm.com/garnet
56
+ default="https://<IQM SERVER>",
56
57
  )
57
58
  circuit_transpiled, results = transpile_example(argparser.parse_args().url)
58
59
  print(circuit_transpiled)
@@ -289,16 +289,20 @@ facade_names: dict[str, IQMFakeBackend] = {
289
289
 
290
290
 
291
291
  class IQMFacadeBackend(IQMBackend):
292
- """Simulates the execution of quantum circuits on a mock IQM quantum computer.
292
+ """Simulates locally the execution of quantum circuits on a remote mock IQM quantum computer.
293
293
 
294
- Can be used to submit a circuit to a mock IQM server that has no real quantum hardware,
295
- and if the mock execution is successful, simulates the circuit locally using an error model that
296
- is broadly representative of the mocked QPU. Finally returns the *simulated results*.
294
+ This backend is meant to be used to run circuits on a mock IQM server that has no real quantum hardware,
295
+ and if the mock execution is successful, simulate the circuits locally using an error model that
296
+ is broadly representative of the mocked QPU. Finally it returns the *simulated results*.
297
297
 
298
- .. note::
298
+ If you just want to run a local simulation, use :class:`.IQMFakeBackend` directly.
299
299
 
300
- There is usually no point in using a facade backend with a real quantum computer, since the computation
301
- results will be replaced with a local simulation.
300
+ .. important::
301
+
302
+ When using a facade backend, the IQM server URL of :class:`IQMProvider` should always point to a mock environment
303
+ rather than a real quantum computer, as the execution results from the server will be discarded and replaced by
304
+ a locally simulated result generated by Qiskit Aer. If you use a real quantum computer with a facade backend,
305
+ you will just waste your credits and/or computation time.
302
306
 
303
307
  Args:
304
308
  client: Client instance for communicating with an IQM server.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iqm-client
3
- Version: 31.4.0
3
+ Version: 31.6.0
4
4
  Summary: Client library for accessing an IQM quantum computer
5
5
  Author-email: IQM Finland Oy <developers@meetiqm.com>
6
6
  License: Apache License
@@ -216,7 +216,7 @@ Requires-Python: <3.13,>=3.10
216
216
  Description-Content-Type: text/x-rst
217
217
  License-File: LICENSE.txt
218
218
  License-File: AUTHORS.rst
219
- Requires-Dist: iqm-station-control-client <11,>=10
219
+ Requires-Dist: iqm-station-control-client <12,>=11
220
220
  Requires-Dist: iqm-exa-common <28,>=27
221
221
  Requires-Dist: iqm-pulse <13,>=12
222
222
  Requires-Dist: numpy <3.0,>=1.26.4
@@ -224,7 +224,7 @@ Requires-Dist: packaging ==24.1
224
224
  Requires-Dist: pydantic <3.0,>=2.9.2
225
225
  Requires-Dist: requests ==2.32.3
226
226
  Provides-Extra: cirq
227
- Requires-Dist: iqm-station-control-client <11,>=10 ; extra == 'cirq'
227
+ Requires-Dist: iqm-station-control-client <12,>=11 ; extra == 'cirq'
228
228
  Requires-Dist: iqm-exa-common <28,>=27 ; extra == 'cirq'
229
229
  Requires-Dist: iqm-pulse <13,>=12 ; extra == 'cirq'
230
230
  Requires-Dist: cirq-core[contrib] ~=1.2 ; extra == 'cirq'
@@ -232,7 +232,7 @@ Requires-Dist: ply ==3.11 ; extra == 'cirq'
232
232
  Requires-Dist: llvmlite >=0.44.0 ; extra == 'cirq'
233
233
  Requires-Dist: numba >=0.61.0 ; extra == 'cirq'
234
234
  Provides-Extra: cli
235
- Requires-Dist: iqm-station-control-client <11,>=10 ; extra == 'cli'
235
+ Requires-Dist: iqm-station-control-client <12,>=11 ; extra == 'cli'
236
236
  Requires-Dist: iqm-exa-common <28,>=27 ; extra == 'cli'
237
237
  Requires-Dist: iqm-pulse <13,>=12 ; extra == 'cli'
238
238
  Requires-Dist: click <9,>=8.1.6 ; extra == 'cli'
@@ -241,7 +241,7 @@ Requires-Dist: psutil >=5.9.2 ; extra == 'cli'
241
241
  Requires-Dist: types-psutil ; extra == 'cli'
242
242
  Requires-Dist: python-daemon >=2.3.0 ; extra == 'cli'
243
243
  Provides-Extra: qiskit
244
- Requires-Dist: iqm-station-control-client <11,>=10 ; extra == 'qiskit'
244
+ Requires-Dist: iqm-station-control-client <12,>=11 ; extra == 'qiskit'
245
245
  Requires-Dist: iqm-exa-common <28,>=27 ; extra == 'qiskit'
246
246
  Requires-Dist: iqm-pulse <13,>=12 ; extra == 'qiskit'
247
247
  Requires-Dist: qiskit <=1.4.2,>=1.0 ; extra == 'qiskit'
@@ -39,7 +39,7 @@ iqm/qiskit_iqm/iqm_circuit_validation.py,sha256=9pneZKs-KjBDGeDI6RHj6lB-ACqugbnY
39
39
  iqm/qiskit_iqm/iqm_job.py,sha256=YLkAF4oqQ44dOLWbsqMiYCyj7pd3Rk6NIZ_TI1XtcQ8,11700
40
40
  iqm/qiskit_iqm/iqm_move_layout.py,sha256=ECf1BcRmXKeClc7AL0lHedvJbqtwV5rEHcOOFR8shKU,10534
41
41
  iqm/qiskit_iqm/iqm_naive_move_pass.py,sha256=jhTfvhrNDKt6NhhJg_3Y-5x6E1HRNzC_n4A27ZQTuvQ,12962
42
- iqm/qiskit_iqm/iqm_provider.py,sha256=hpruU1jwz7sPod2vugQGf4TYtbmMvzCPgQCwv7q8Hlo,18217
42
+ iqm/qiskit_iqm/iqm_provider.py,sha256=KHF27Qk12-_OA7_UZ8Rd25qDfFq4np2jv11_9f4tchQ,18599
43
43
  iqm/qiskit_iqm/iqm_target.py,sha256=UyULiGMn6UJsyILBQiriso9KbhlmzP9TZItS2URaXWg,15832
44
44
  iqm/qiskit_iqm/iqm_transpilation.py,sha256=6_6Mri01_HQBV_GTX94WSvIbu-pDMLMzEU6zVMEt6Gc,9153
45
45
  iqm/qiskit_iqm/move_gate.py,sha256=UbrQSfrpVV3QKGJ93TelxEfZkl1wY4uWL8IH_QDpGUw,2840
@@ -47,9 +47,9 @@ iqm/qiskit_iqm/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  iqm/qiskit_iqm/qiskit_to_iqm.py,sha256=3Sm1gLELFLCLf6QiATZSiPzLzkjvzUakhU2N6KoBXC8,14948
48
48
  iqm/qiskit_iqm/transpiler_plugins.py,sha256=iuReGL42fCe5aOoH-KMUsb6t7Ok9qmIIj2S4yotJJ-U,8749
49
49
  iqm/qiskit_iqm/examples/__init__.py,sha256=M4ElQHCo-WxtVXK39bF3QiFT3IGXPtZ1khqexHiTBEc,20
50
- iqm/qiskit_iqm/examples/bell_measure.py,sha256=iMZB_MNMf2XP6Eiv2XbhtNs4bXbMGQeMw7ohw2JWKS8,1903
51
- iqm/qiskit_iqm/examples/resonance_example.py,sha256=ACmHt9Zz2rhs5mlhCoVCbzWlE9QmOFVMOsHGifblMt4,2953
52
- iqm/qiskit_iqm/examples/transpile_example.py,sha256=hUxGPD_eLaZFFHAbegcjT9lNq7UAvGCzHfZFnuF6cbE,2099
50
+ iqm/qiskit_iqm/examples/bell_measure.py,sha256=9ZuaAZybnEL9KhVom5P-mClQscyEF6k2dn6wV1QJaBQ,1925
51
+ iqm/qiskit_iqm/examples/resonance_example.py,sha256=1byRYxoFRtQcOpWtTzGfCYVyOlwtJvdpFrGo_kMR8ng,2954
52
+ iqm/qiskit_iqm/examples/transpile_example.py,sha256=cQmXXx3lqvmhgWYFK_U5HmHzMOKQqXUXPYfQhkyHH14,2135
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
55
55
  iqm/qiskit_iqm/fake_backends/fake_aphrodite.py,sha256=3oWZwPmtcsYkYpqVr36-C5K7KtyQGk84RCvZpaL_kLg,15473
@@ -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-31.4.0.dist-info/AUTHORS.rst,sha256=qsxeK5A3-B_xK3hNbhFHEIkoHNpo7sdzYyRTs7Bdtm8,795
61
- iqm_client-31.4.0.dist-info/LICENSE.txt,sha256=2DXrmQtVVUV9Fc9RBFJidMiTEaQlG2oAtlC9PMrEwTk,11333
62
- iqm_client-31.4.0.dist-info/METADATA,sha256=07mwKYAs2xKly7EFcx9jnvmhS5SDNxw5ufuzYQOiPfM,17887
63
- iqm_client-31.4.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
64
- iqm_client-31.4.0.dist-info/entry_points.txt,sha256=Kk2qfRwk8vbIJ7qCAvmaUogfRRn6t92_hBFhe6kqAE4,1317
65
- iqm_client-31.4.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
66
- iqm_client-31.4.0.dist-info/RECORD,,
60
+ iqm_client-31.6.0.dist-info/AUTHORS.rst,sha256=qsxeK5A3-B_xK3hNbhFHEIkoHNpo7sdzYyRTs7Bdtm8,795
61
+ iqm_client-31.6.0.dist-info/LICENSE.txt,sha256=2DXrmQtVVUV9Fc9RBFJidMiTEaQlG2oAtlC9PMrEwTk,11333
62
+ iqm_client-31.6.0.dist-info/METADATA,sha256=d3eZwRN09yqUeVwNpNEBlVlDQRh56MImLz8m9lBf7g4,17887
63
+ iqm_client-31.6.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
64
+ iqm_client-31.6.0.dist-info/entry_points.txt,sha256=Kk2qfRwk8vbIJ7qCAvmaUogfRRn6t92_hBFhe6kqAE4,1317
65
+ iqm_client-31.6.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
66
+ iqm_client-31.6.0.dist-info/RECORD,,