iqm-pulla 12.0.2__py3-none-any.whl → 12.0.4__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/utils.py CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright 2024-2025 IQM
1
+ # Copyright 2024-2026 IQM
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -184,7 +184,7 @@ def convert_sweep_spot_to_arrays(
184
184
 
185
185
  def _fix_typing(arr: np.ndarray) -> np.ndarray:
186
186
  """Cast thresholded (int) results into np.uint8"""
187
- if np.iscomplex(arr).any():
187
+ if np.iscomplex(arr).any() or np.modf(arr)[0].any():
188
188
  return arr
189
189
  return arr.astype(np.uint8)
190
190
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iqm-pulla
3
- Version: 12.0.2
3
+ Version: 12.0.4
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
@@ -219,10 +219,10 @@ License-File: AUTHORS.rst
219
219
  Requires-Dist: iqm-data-definitions <3.0,>=2.18
220
220
  Requires-Dist: pylatexenc ==2.10
221
221
  Requires-Dist: pydantic <3.0,>=2.10.4
222
- Requires-Dist: iqm-client <34,>=33.0.2
223
- Requires-Dist: iqm-exa-common <28,>=27.4.2
224
- Requires-Dist: iqm-pulse <13,>=12.7.2
225
- Requires-Dist: iqm-station-control-client <13,>=12.0.2
222
+ Requires-Dist: iqm-client <34,>=33.0.4
223
+ Requires-Dist: iqm-exa-common <28,>=27.4.4
224
+ Requires-Dist: iqm-pulse <13,>=12.7.4
225
+ Requires-Dist: iqm-station-control-client <13,>=12.0.4
226
226
  Provides-Extra: notebook
227
227
  Requires-Dist: notebook <7,>=6.4.11 ; extra == 'notebook'
228
228
  Requires-Dist: matplotlib <4,>=3.6.3 ; extra == 'notebook'
@@ -231,7 +231,7 @@ Provides-Extra: qir
231
231
  Requires-Dist: iqm-pyqir ==0.12.0 ; extra == 'qir'
232
232
  Requires-Dist: qiskit <2.2,>=1.0 ; extra == 'qir'
233
233
  Provides-Extra: qiskit
234
- Requires-Dist: iqm-client[qiskit] <34,>=33.0.2 ; extra == 'qiskit'
234
+ Requires-Dist: iqm-client[qiskit] <34,>=33.0.4 ; extra == 'qiskit'
235
235
 
236
236
  IQM Pulla
237
237
  #########
@@ -14,14 +14,14 @@ iqm/pulla/interface.py,sha256=xX9peCpOfc-AcOvrWJcGGGeJ5seiVuqbN9h87t1oH-U,1826
14
14
  iqm/pulla/pulla.py,sha256=b5lsrMo04CB8cjdhcrgmGMb-Yhw9siNpqF-2mKTVww8,13219
15
15
  iqm/pulla/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  iqm/pulla/quantum_architecture.py,sha256=jj9zqK9CcODedR69p8zLSj3qDfzIxI_f9rb8s07GKaM,6377
17
- iqm/pulla/utils.py,sha256=By-VFbKAuyaPEac73FuP64r9h5oFm76n_6BvK_Gq1IY,28874
17
+ iqm/pulla/utils.py,sha256=Z2XD1VAnccfpoumE6i0KMjANTuy8FOoV16T8xoFfg2Y,28899
18
18
  iqm/pulla/utils_cirq.py,sha256=VtdO356D2RAh2lSVdaPm3ClJ9-nvC4jzhR9hP5QSQhI,793
19
19
  iqm/pulla/utils_dd.py,sha256=SxYAuRBgvYELKjeXpFbP4mM0xCCivDk7WUHw7oEXfMo,1695
20
20
  iqm/pulla/utils_qir.py,sha256=4jlzN9bZK6_BX5tlAcSbZosKTxAbAAwOfIrd0GgZZ0Y,11625
21
21
  iqm/pulla/utils_qiskit.py,sha256=y6B0ByuUXMn75z0wncuANlirgrlZxYGbt2QrMnhxso4,9099
22
- iqm_pulla-12.0.2.dist-info/AUTHORS.rst,sha256=iCStz7WP5Jk7uMnn9jRA4ybS14X4yeUW2SsWE-OTaRk,328
23
- iqm_pulla-12.0.2.dist-info/LICENSE.txt,sha256=cCj_biRA4Q8A77vxR8AuvAf-DZ5G79yxR_3lYY6TrmA,11333
24
- iqm_pulla-12.0.2.dist-info/METADATA,sha256=ZcoTfXhhHyU94mnPoyISPcXlmZZqtJ3LYWT4X6fTs4k,17100
25
- iqm_pulla-12.0.2.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
26
- iqm_pulla-12.0.2.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
27
- iqm_pulla-12.0.2.dist-info/RECORD,,
22
+ iqm_pulla-12.0.4.dist-info/AUTHORS.rst,sha256=iCStz7WP5Jk7uMnn9jRA4ybS14X4yeUW2SsWE-OTaRk,328
23
+ iqm_pulla-12.0.4.dist-info/LICENSE.txt,sha256=cCj_biRA4Q8A77vxR8AuvAf-DZ5G79yxR_3lYY6TrmA,11333
24
+ iqm_pulla-12.0.4.dist-info/METADATA,sha256=QrM4XFkG75Mav3PLwbFs58NvwGg6WukM7cPTqvICQpk,17100
25
+ iqm_pulla-12.0.4.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
26
+ iqm_pulla-12.0.4.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
27
+ iqm_pulla-12.0.4.dist-info/RECORD,,