iqm-pulla 9.1.0__py3-none-any.whl → 9.2.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/utils_qiskit.py +6 -2
- {iqm_pulla-9.1.0.dist-info → iqm_pulla-9.2.0.dist-info}/METADATA +2 -2
- {iqm_pulla-9.1.0.dist-info → iqm_pulla-9.2.0.dist-info}/RECORD +7 -7
- {iqm_pulla-9.1.0.dist-info → iqm_pulla-9.2.0.dist-info}/AUTHORS.rst +0 -0
- {iqm_pulla-9.1.0.dist-info → iqm_pulla-9.2.0.dist-info}/LICENSE.txt +0 -0
- {iqm_pulla-9.1.0.dist-info → iqm_pulla-9.2.0.dist-info}/WHEEL +0 -0
- {iqm_pulla-9.1.0.dist-info → iqm_pulla-9.2.0.dist-info}/top_level.txt +0 -0
iqm/pulla/utils_qiskit.py
CHANGED
|
@@ -19,6 +19,7 @@ from collections import Counter
|
|
|
19
19
|
from collections.abc import Collection, Sequence
|
|
20
20
|
from typing import TYPE_CHECKING
|
|
21
21
|
|
|
22
|
+
from iqm.iqm_client import Circuit
|
|
22
23
|
from iqm.qiskit_iqm.iqm_backend import IQMBackendBase
|
|
23
24
|
from iqm.qiskit_iqm.iqm_job import IQMJob
|
|
24
25
|
from iqm.qiskit_iqm.qiskit_to_iqm import serialize_instructions
|
|
@@ -32,7 +33,7 @@ from iqm.pulla.interface import StationControlResult, TaskStatus
|
|
|
32
33
|
from iqm.pulse.builder import CircuitOperation
|
|
33
34
|
|
|
34
35
|
if TYPE_CHECKING:
|
|
35
|
-
from iqm.iqm_client import
|
|
36
|
+
from iqm.iqm_client import Instruction
|
|
36
37
|
from iqm.qiskit_iqm.iqm_backend import DynamicQuantumArchitecture
|
|
37
38
|
from iqm.qiskit_iqm.iqm_provider import IQMBackend
|
|
38
39
|
|
|
@@ -137,7 +138,10 @@ def qiskit_to_pulla(
|
|
|
137
138
|
else {m.logical_name: m.physical_name for m in run_request.qubit_mapping}
|
|
138
139
|
)
|
|
139
140
|
|
|
140
|
-
|
|
141
|
+
# We can be certain run_request contains only Circuit objects, because we created it
|
|
142
|
+
# right in this method with qiskit.QuantumCircuit objects
|
|
143
|
+
run_request_iqm_circuits: list[Circuit] = [c for c in run_request.circuits if isinstance(c, (Circuit))]
|
|
144
|
+
circuits = [_circuit_to_dataclass(c) for c in run_request_iqm_circuits]
|
|
141
145
|
return circuits, compiler
|
|
142
146
|
|
|
143
147
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: iqm-pulla
|
|
3
|
-
Version: 9.
|
|
3
|
+
Version: 9.2.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
|
|
@@ -239,8 +239,8 @@ Provides-Extra: qiskit
|
|
|
239
239
|
Requires-Dist: iqm-exa-common <27,>=26 ; extra == 'qiskit'
|
|
240
240
|
Requires-Dist: iqm-station-control-client <10,>=9 ; extra == 'qiskit'
|
|
241
241
|
Requires-Dist: iqm-pulse <11,>=10 ; extra == 'qiskit'
|
|
242
|
-
Requires-Dist: iqm-client <30,>=29 ; extra == 'qiskit'
|
|
243
242
|
Requires-Dist: iqm-client[qiskit] <30,>=29 ; extra == 'qiskit'
|
|
243
|
+
Requires-Dist: iqm-client <30,>=29 ; extra == 'qiskit'
|
|
244
244
|
|
|
245
245
|
IQM Pulla
|
|
246
246
|
#########
|
|
@@ -19,10 +19,10 @@ iqm/pulla/utils.py,sha256=TTAOFhNW59VFAjnu6ZicmHXvp-GI_f66oh6IC1zFQKE,24732
|
|
|
19
19
|
iqm/pulla/utils_cirq.py,sha256=8SBy6w7cr4AmnCgKwh7dBWwBGfGKxnoEMv9-1yfKs0A,777
|
|
20
20
|
iqm/pulla/utils_dd.py,sha256=SxYAuRBgvYELKjeXpFbP4mM0xCCivDk7WUHw7oEXfMo,1695
|
|
21
21
|
iqm/pulla/utils_qir.py,sha256=c4LiKdUnHZSQsI4fzc2wp59-qIH1s2sTyfBEf0MTxkk,11495
|
|
22
|
-
iqm/pulla/utils_qiskit.py,sha256=
|
|
23
|
-
iqm_pulla-9.
|
|
24
|
-
iqm_pulla-9.
|
|
25
|
-
iqm_pulla-9.
|
|
26
|
-
iqm_pulla-9.
|
|
27
|
-
iqm_pulla-9.
|
|
28
|
-
iqm_pulla-9.
|
|
22
|
+
iqm/pulla/utils_qiskit.py,sha256=RBrAf_KbxlL8DI078mtN8nK1pdfAbd4yk7DJSZVEFSs,10397
|
|
23
|
+
iqm_pulla-9.2.0.dist-info/AUTHORS.rst,sha256=iCStz7WP5Jk7uMnn9jRA4ybS14X4yeUW2SsWE-OTaRk,328
|
|
24
|
+
iqm_pulla-9.2.0.dist-info/LICENSE.txt,sha256=cCj_biRA4Q8A77vxR8AuvAf-DZ5G79yxR_3lYY6TrmA,11333
|
|
25
|
+
iqm_pulla-9.2.0.dist-info/METADATA,sha256=H-mXVSGK33mzcRzM-y15wgG4udI1mSU8rGssI8koGxk,17695
|
|
26
|
+
iqm_pulla-9.2.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
|
27
|
+
iqm_pulla-9.2.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
|
|
28
|
+
iqm_pulla-9.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|