iqm-pulla 8.1.0__py3-none-any.whl → 8.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/cpc/interface/compiler.py +15 -15
- {iqm_pulla-8.1.0.dist-info → iqm_pulla-8.2.0.dist-info}/METADATA +2 -2
- {iqm_pulla-8.1.0.dist-info → iqm_pulla-8.2.0.dist-info}/RECORD +7 -7
- {iqm_pulla-8.1.0.dist-info → iqm_pulla-8.2.0.dist-info}/AUTHORS.rst +0 -0
- {iqm_pulla-8.1.0.dist-info → iqm_pulla-8.2.0.dist-info}/LICENSE.txt +0 -0
- {iqm_pulla-8.1.0.dist-info → iqm_pulla-8.2.0.dist-info}/WHEEL +0 -0
- {iqm_pulla-8.1.0.dist-info → iqm_pulla-8.2.0.dist-info}/top_level.txt +0 -0
iqm/cpc/interface/compiler.py
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
from collections import Counter
|
|
17
17
|
from dataclasses import dataclass, field
|
|
18
18
|
from enum import StrEnum
|
|
19
|
-
from typing import
|
|
19
|
+
from typing import TypeAlias
|
|
20
20
|
|
|
21
21
|
from exa.common.data.setting_node import SettingNode
|
|
22
22
|
from iqm.pulse.builder import CircuitOperation, Locus
|
|
@@ -44,10 +44,10 @@ class MeasurementMode(StrEnum):
|
|
|
44
44
|
Measurement results which are not required by the circuits to be executed are discarded.
|
|
45
45
|
"""
|
|
46
46
|
|
|
47
|
-
CIRCUIT
|
|
47
|
+
CIRCUIT = "circuit"
|
|
48
48
|
"""In each circuit separately, measure only the components that have final measurement
|
|
49
49
|
operations on them."""
|
|
50
|
-
ALL
|
|
50
|
+
ALL = "all"
|
|
51
51
|
"""Measure all the components on the QPU that have measurement data in the calset.
|
|
52
52
|
This is typically how measurement is calibrated."""
|
|
53
53
|
|
|
@@ -55,9 +55,9 @@ class MeasurementMode(StrEnum):
|
|
|
55
55
|
class HeraldingMode(StrEnum):
|
|
56
56
|
"""Heralding mode for circuit execution."""
|
|
57
57
|
|
|
58
|
-
NONE
|
|
58
|
+
NONE = "none"
|
|
59
59
|
"""Do not do any heralding."""
|
|
60
|
-
ZEROS
|
|
60
|
+
ZEROS = "zeros"
|
|
61
61
|
"""Perform a heralding measurement on all the components used in each circuit (if they have
|
|
62
62
|
measurement data available in the calset), only retain shots where all the components
|
|
63
63
|
are measured to be in the zero state."""
|
|
@@ -66,9 +66,9 @@ class HeraldingMode(StrEnum):
|
|
|
66
66
|
class DDMode(StrEnum):
|
|
67
67
|
"""Dynamical Decoupling (DD) mode for circuit execution."""
|
|
68
68
|
|
|
69
|
-
DISABLED
|
|
69
|
+
DISABLED = "disabled"
|
|
70
70
|
"""Do not apply dynamical decoupling."""
|
|
71
|
-
ENABLED
|
|
71
|
+
ENABLED = "enabled"
|
|
72
72
|
"""Apply dynamical decoupling."""
|
|
73
73
|
|
|
74
74
|
|
|
@@ -127,7 +127,7 @@ class DDStrategy:
|
|
|
127
127
|
class CircuitBoundaryMode(StrEnum):
|
|
128
128
|
"""Circuit boundary mode for circuit compilation."""
|
|
129
129
|
|
|
130
|
-
NEIGHBOUR
|
|
130
|
+
NEIGHBOUR = "neighbour"
|
|
131
131
|
"""
|
|
132
132
|
Circuit boundary consists of those QPU elements (qubits and couplers) that
|
|
133
133
|
are adjacent to the qubits and couplers used by the circuit, but do not belong to them.
|
|
@@ -136,33 +136,33 @@ class CircuitBoundaryMode(StrEnum):
|
|
|
136
136
|
* Boundary qubits are connected to a circuit qubit by any coupler, but are not circuit qubits themselves.
|
|
137
137
|
* Boundary couplers are connected to at least one circuit qubit, but are not used in the circuit themselves.
|
|
138
138
|
"""
|
|
139
|
-
ALL
|
|
139
|
+
ALL = "all"
|
|
140
140
|
"""Circuit boundary consists of all the QPU elements that are not used in the circuit."""
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
class MoveGateValidationMode(StrEnum):
|
|
144
144
|
"""MOVE gate validation mode for circuit compilation."""
|
|
145
145
|
|
|
146
|
-
STRICT
|
|
146
|
+
STRICT = "strict"
|
|
147
147
|
"""Perform standard MOVE gate validation: MOVE(qubit, resonator) gates must only
|
|
148
148
|
appear in sandwiches (pairs). Inside a sandwich there must be no gates acting on the
|
|
149
149
|
MOVE qubit, and no other MOVE gates acting on the resonator."""
|
|
150
|
-
ALLOW_PRX
|
|
150
|
+
ALLOW_PRX = "allow_prx"
|
|
151
151
|
"""Allow PRX gates on the MOVE qubit inside MOVE sandwiches during validation."""
|
|
152
|
-
NONE
|
|
152
|
+
NONE = "none"
|
|
153
153
|
"""Do not perform any MOVE gate validation."""
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
class MoveGateFrameTrackingMode(StrEnum):
|
|
157
157
|
"""MOVE gate frame tracking mode for circuit compilation."""
|
|
158
158
|
|
|
159
|
-
FULL
|
|
159
|
+
FULL = "full"
|
|
160
160
|
"""Perform complete MOVE gate frame tracking, applying both the explicit z rotations
|
|
161
161
|
on the resonator and the dynamic phase correction due to qubit-resonator detuning to
|
|
162
162
|
the qubit at the end of a MOVE sandwich."""
|
|
163
|
-
NO_DETUNING_CORRECTION
|
|
163
|
+
NO_DETUNING_CORRECTION = "no_detuning_correction"
|
|
164
164
|
"""Do not apply the detuning correction at the end of a MOVE sandwich."""
|
|
165
|
-
NONE
|
|
165
|
+
NONE = "none"
|
|
166
166
|
"""Do not perform any MOVE gate frame tracking."""
|
|
167
167
|
|
|
168
168
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: iqm-pulla
|
|
3
|
-
Version: 8.
|
|
3
|
+
Version: 8.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 <10,>=9 ; extra == 'qiskit'
|
|
242
|
-
Requires-Dist: iqm-client[qiskit] <30,>=29 ; extra == 'qiskit'
|
|
243
242
|
Requires-Dist: iqm-client <30,>=29 ; extra == 'qiskit'
|
|
243
|
+
Requires-Dist: iqm-client[qiskit] <30,>=29 ; extra == 'qiskit'
|
|
244
244
|
|
|
245
245
|
IQM Pulla
|
|
246
246
|
#########
|
|
@@ -8,7 +8,7 @@ iqm/cpc/compiler/errors.py,sha256=tz-8g1QtDvCAPmAjjCYK3FoULrazkpSTmXIvyqukaT4,19
|
|
|
8
8
|
iqm/cpc/compiler/standard_stages.py,sha256=eOPvdesEr-Oe469fil6ZyPUvzaWZHNjia5Vgkqr9jT8,33601
|
|
9
9
|
iqm/cpc/compiler/station_settings.py,sha256=VuwD2TkraCXJql59nRE3RgiQXEmor8oCor1P1WC0rkk,16717
|
|
10
10
|
iqm/cpc/interface/__init__.py,sha256=mvhNx1I9K5Sg40CwPntWj35M3Bni__23PWEw_qYaXtQ,611
|
|
11
|
-
iqm/cpc/interface/compiler.py,sha256=
|
|
11
|
+
iqm/cpc/interface/compiler.py,sha256=2x3ZhL4WcyjwlSoZ3KhlmRcLxboz_ptS0M_rdX1z0c8,9861
|
|
12
12
|
iqm/pulla/__init__.py,sha256=fj5Qh8R9K-z6q5g9-CySBZsG8d33nU7hCHrqIIB8_-0,901
|
|
13
13
|
iqm/pulla/calibration.py,sha256=c_SNlTxXC0y-ahDY7JY53N7SofU5WUWMrNBogtdfHl4,4523
|
|
14
14
|
iqm/pulla/interface.py,sha256=yymQo4REHYcUOWgPxPYq9IixS9bBZ27LXLQgJhzET58,5400
|
|
@@ -19,9 +19,9 @@ iqm/pulla/utils_cirq.py,sha256=8SBy6w7cr4AmnCgKwh7dBWwBGfGKxnoEMv9-1yfKs0A,777
|
|
|
19
19
|
iqm/pulla/utils_dd.py,sha256=SxYAuRBgvYELKjeXpFbP4mM0xCCivDk7WUHw7oEXfMo,1695
|
|
20
20
|
iqm/pulla/utils_qir.py,sha256=s5igks5ctvmHiaFjT3eSAYyKWTbW-rPFE6NApN66CTE,10019
|
|
21
21
|
iqm/pulla/utils_qiskit.py,sha256=SyL9zz9xZ3mEi8t5uJVLxe3ipgNf4REZURMJQRr2E-E,10108
|
|
22
|
-
iqm_pulla-8.
|
|
23
|
-
iqm_pulla-8.
|
|
24
|
-
iqm_pulla-8.
|
|
25
|
-
iqm_pulla-8.
|
|
26
|
-
iqm_pulla-8.
|
|
27
|
-
iqm_pulla-8.
|
|
22
|
+
iqm_pulla-8.2.0.dist-info/AUTHORS.rst,sha256=iCStz7WP5Jk7uMnn9jRA4ybS14X4yeUW2SsWE-OTaRk,328
|
|
23
|
+
iqm_pulla-8.2.0.dist-info/LICENSE.txt,sha256=cCj_biRA4Q8A77vxR8AuvAf-DZ5G79yxR_3lYY6TrmA,11333
|
|
24
|
+
iqm_pulla-8.2.0.dist-info/METADATA,sha256=VyQtf3k3VffAd6PMsEkEAsNZXA4qLjcDilBm8p4azd0,17691
|
|
25
|
+
iqm_pulla-8.2.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
|
26
|
+
iqm_pulla-8.2.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
|
|
27
|
+
iqm_pulla-8.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|