iqm-pulla 7.22.0__py3-none-any.whl → 7.23.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/pulla/pulla.py CHANGED
@@ -49,7 +49,7 @@ from iqm.pulse.playlist.channel import ChannelProperties, get_channel_properties
49
49
  from iqm.pulse.playlist.playlist import Playlist
50
50
  from iqm.station_control.client.station_control import StationControlClient
51
51
  from iqm.station_control.client.utils import get_progress_bar_callback
52
- from iqm.station_control.interface.models import JobStatus
52
+ from iqm.station_control.interface.models import JobExecutorStatus
53
53
  from iqm.station_control.interface.models.sweep import SweepDefinition
54
54
 
55
55
  # ██████ ██ ██ ██ ██ █████
@@ -249,7 +249,7 @@ class Pulla:
249
249
  sweep_data = self._station_control_client.get_sweep(job_id)
250
250
  sc_result = StationControlResult(sweep_id=job_id, task_id=job_id, status=TaskStatus.PENDING)
251
251
 
252
- if sweep_data.job_status <= JobStatus.EXECUTION_START:
252
+ if sweep_data.job_status <= JobExecutorStatus.EXECUTION_STARTED:
253
253
  # Wait in the task queue while showing a progress bar
254
254
 
255
255
  interrupted = self._station_control_client._wait_job_completion(
@@ -258,7 +258,7 @@ class Pulla:
258
258
  if interrupted:
259
259
  raise KeyboardInterrupt
260
260
 
261
- elif sweep_data.job_status == JobStatus.READY:
261
+ elif sweep_data.job_status == JobExecutorStatus.READY:
262
262
  logger.info("Sweep status: %s", str(sweep_data.job_status))
263
263
 
264
264
  sc_result.status = TaskStatus.READY
@@ -278,7 +278,7 @@ class Pulla:
278
278
 
279
279
  return sc_result
280
280
 
281
- elif sweep_data.job_status == JobStatus.FAILED:
281
+ elif sweep_data.job_status == JobExecutorStatus.FAILED:
282
282
  sc_result.status = TaskStatus.FAILED
283
283
  sc_result.start_time = (
284
284
  sweep_data.begin_timestamp.isoformat() if sweep_data.begin_timestamp else None
@@ -289,7 +289,7 @@ class Pulla:
289
289
  logger.error("Submission failed! Error: %s", sc_result.message)
290
290
  return sc_result
291
291
 
292
- elif sweep_data.job_status == JobStatus.ABORTED:
292
+ elif sweep_data.job_status == JobExecutorStatus.ABORTED:
293
293
  sc_result.status = TaskStatus.FAILED
294
294
  sc_result.start_time = (
295
295
  sweep_data.begin_timestamp.isoformat() if sweep_data.begin_timestamp else None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iqm-pulla
3
- Version: 7.22.0
3
+ Version: 7.23.0
4
4
  Summary: Client library for pulse-level access to an IQM quantum computer
5
5
  Author-email: IQM Finland Oy <developers@meetiqm.com>
6
6
  License: Apache License
@@ -217,30 +217,30 @@ Description-Content-Type: text/x-rst
217
217
  License-File: LICENSE.txt
218
218
  License-File: AUTHORS.rst
219
219
  Requires-Dist: iqm-exa-common <27,>=26
220
- Requires-Dist: iqm-station-control-client <8,>=7
220
+ Requires-Dist: iqm-station-control-client <9,>=8
221
221
  Requires-Dist: iqm-pulse <10,>=9
222
222
  Requires-Dist: iqm-data-definitions <3.0,>=2.6
223
223
  Requires-Dist: pylatexenc ==2.10
224
224
  Requires-Dist: pydantic <3.0,>=2.10.4
225
225
  Provides-Extra: notebook
226
226
  Requires-Dist: iqm-exa-common <27,>=26 ; extra == 'notebook'
227
- Requires-Dist: iqm-station-control-client <8,>=7 ; extra == 'notebook'
227
+ Requires-Dist: iqm-station-control-client <9,>=8 ; extra == 'notebook'
228
228
  Requires-Dist: iqm-pulse <10,>=9 ; extra == 'notebook'
229
229
  Requires-Dist: notebook <7,>=6.4.11 ; extra == 'notebook'
230
230
  Requires-Dist: matplotlib <4,>=3.6.3 ; extra == 'notebook'
231
231
  Requires-Dist: nbclient ~=0.5.10 ; extra == 'notebook'
232
232
  Provides-Extra: qir
233
233
  Requires-Dist: iqm-exa-common <27,>=26 ; extra == 'qir'
234
- Requires-Dist: iqm-station-control-client <8,>=7 ; extra == 'qir'
234
+ Requires-Dist: iqm-station-control-client <9,>=8 ; extra == 'qir'
235
235
  Requires-Dist: iqm-pulse <10,>=9 ; extra == 'qir'
236
236
  Requires-Dist: iqm-pyqir ==0.12.0 ; extra == 'qir'
237
237
  Requires-Dist: iqm-qiskit-qir ==0.8.0 ; extra == 'qir'
238
238
  Provides-Extra: qiskit
239
239
  Requires-Dist: iqm-exa-common <27,>=26 ; extra == 'qiskit'
240
- Requires-Dist: iqm-station-control-client <8,>=7 ; extra == 'qiskit'
240
+ Requires-Dist: iqm-station-control-client <9,>=8 ; extra == 'qiskit'
241
241
  Requires-Dist: iqm-pulse <10,>=9 ; extra == 'qiskit'
242
- Requires-Dist: iqm-client[qiskit] <28,>=27 ; extra == 'qiskit'
243
- Requires-Dist: iqm-client <28,>=27 ; extra == 'qiskit'
242
+ Requires-Dist: iqm-client <29,>=28 ; extra == 'qiskit'
243
+ Requires-Dist: iqm-client[qiskit] <29,>=28 ; extra == 'qiskit'
244
244
 
245
245
  IQM Pulla
246
246
  #########
@@ -12,15 +12,15 @@ iqm/cpc/interface/compiler.py,sha256=VBIAU3J4_BvC4tPwapLEUNe6OSwIW7LID7RJ7yRWCHc
12
12
  iqm/pulla/__init__.py,sha256=fj5Qh8R9K-z6q5g9-CySBZsG8d33nU7hCHrqIIB8_-0,901
13
13
  iqm/pulla/calibration.py,sha256=9hWTsFg8cjvI-6k-he8cimKuR4WhIpoJX1f5g-VxyVY,2597
14
14
  iqm/pulla/interface.py,sha256=yymQo4REHYcUOWgPxPYq9IixS9bBZ27LXLQgJhzET58,5400
15
- iqm/pulla/pulla.py,sha256=v-0Nkjclon2axRLWHuLm0QTLUVh8r9j0VT6sOkxRLOI,14203
15
+ iqm/pulla/pulla.py,sha256=DS8epOSO99pd9fV9PYK-EXbIvx0C-CG2Y0dh_7qd48w,14245
16
16
  iqm/pulla/utils.py,sha256=3mEbX16wyqUfn9jDQ7JmKmdss9qqJ9zKTNTpTtyMw3U,24712
17
17
  iqm/pulla/utils_cirq.py,sha256=8SBy6w7cr4AmnCgKwh7dBWwBGfGKxnoEMv9-1yfKs0A,777
18
18
  iqm/pulla/utils_dd.py,sha256=SxYAuRBgvYELKjeXpFbP4mM0xCCivDk7WUHw7oEXfMo,1695
19
19
  iqm/pulla/utils_qir.py,sha256=6-VrdSXGZJnr2gNy9VEg449hIRv_P59iEvsFZPUlIn4,10018
20
20
  iqm/pulla/utils_qiskit.py,sha256=SG_YHHlQnmutlXiDayh-U1aYl4r2dJJHmAX0l5q0BdQ,10078
21
- iqm_pulla-7.22.0.dist-info/AUTHORS.rst,sha256=iCStz7WP5Jk7uMnn9jRA4ybS14X4yeUW2SsWE-OTaRk,328
22
- iqm_pulla-7.22.0.dist-info/LICENSE.txt,sha256=cCj_biRA4Q8A77vxR8AuvAf-DZ5G79yxR_3lYY6TrmA,11333
23
- iqm_pulla-7.22.0.dist-info/METADATA,sha256=NlUg0EV022mVEneQgQWw9CjSTB3K9oHraSof1fecZPo,17687
24
- iqm_pulla-7.22.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
25
- iqm_pulla-7.22.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
26
- iqm_pulla-7.22.0.dist-info/RECORD,,
21
+ iqm_pulla-7.23.0.dist-info/AUTHORS.rst,sha256=iCStz7WP5Jk7uMnn9jRA4ybS14X4yeUW2SsWE-OTaRk,328
22
+ iqm_pulla-7.23.0.dist-info/LICENSE.txt,sha256=cCj_biRA4Q8A77vxR8AuvAf-DZ5G79yxR_3lYY6TrmA,11333
23
+ iqm_pulla-7.23.0.dist-info/METADATA,sha256=NWEQYCKy99PCIZhLy9CENsSYSgYzxtRvyYrktRYOKNg,17687
24
+ iqm_pulla-7.23.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
25
+ iqm_pulla-7.23.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
26
+ iqm_pulla-7.23.0.dist-info/RECORD,,