iqm-exa-common 26.14__py3-none-any.whl → 26.15__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.
- exa/common/qcm_data/chip_topology.py +16 -0
- {iqm_exa_common-26.14.dist-info → iqm_exa_common-26.15.dist-info}/METADATA +1 -1
- {iqm_exa_common-26.14.dist-info → iqm_exa_common-26.15.dist-info}/RECORD +6 -6
- {iqm_exa_common-26.14.dist-info → iqm_exa_common-26.15.dist-info}/LICENSE.txt +0 -0
- {iqm_exa_common-26.14.dist-info → iqm_exa_common-26.15.dist-info}/WHEEL +0 -0
- {iqm_exa_common-26.14.dist-info → iqm_exa_common-26.15.dist-info}/top_level.txt +0 -0
|
@@ -244,6 +244,22 @@ class ChipTopology:
|
|
|
244
244
|
"""Get probelines that are connected to any of the given components."""
|
|
245
245
|
return {self.component_to_probe_line[c] for c in components}
|
|
246
246
|
|
|
247
|
+
def get_connected_coupler_map(self, components: Collection[str]) -> ComponentMap:
|
|
248
|
+
"""Returns a `ComponentMap`, including only the couplers between components that both are in the given subset.
|
|
249
|
+
|
|
250
|
+
Args:
|
|
251
|
+
components: Collection of coupled components to restrict the returned couplers.
|
|
252
|
+
|
|
253
|
+
Returns:
|
|
254
|
+
A `ComponentMap`, a dict mapping coupler names to the names of the coupled components.
|
|
255
|
+
|
|
256
|
+
"""
|
|
257
|
+
return {
|
|
258
|
+
key: values
|
|
259
|
+
for key, values in self.coupler_to_components.items()
|
|
260
|
+
if (key in self.get_connecting_couplers(components))
|
|
261
|
+
}
|
|
262
|
+
|
|
247
263
|
@staticmethod
|
|
248
264
|
def limit_values(dct: ComponentMap, limit_to: Collection[str]) -> ComponentMap:
|
|
249
265
|
"""Prunes the given dictionary (e.g. a coupler-to-qubits map) to a subset of values.
|
|
@@ -43,15 +43,15 @@ exa/common/logger/__init__.py,sha256=1bIsGxHzfujXlkgtcAnWToKMkw3dpU5PEd_7LE_NpgQ
|
|
|
43
43
|
exa/common/logger/logger.py,sha256=0aSjkx4pXy_CCKtspOnFgwMmhZVFAZUlopQ6HUjBMko,5689
|
|
44
44
|
exa/common/qcm_data/__init__.py,sha256=VtsYkGoaniSjCkY0oQlqkcYJCtmC2sTDxfrIe_kpqZg,567
|
|
45
45
|
exa/common/qcm_data/chad_model.py,sha256=kQFCwr7ToONvXySCCrc-_nZDyXJxgYIjtw-IpNwAhkM,11192
|
|
46
|
-
exa/common/qcm_data/chip_topology.py,sha256=
|
|
46
|
+
exa/common/qcm_data/chip_topology.py,sha256=SSgLMFodrbmLloqvpPyzKZnKqBzdo69WiniWeqS9sIs,19953
|
|
47
47
|
exa/common/qcm_data/file_adapter.py,sha256=U1XZm_PEswkW7kAztbWFLMufz4mPKPupWbh5yJXdZCI,2263
|
|
48
48
|
exa/common/qcm_data/immutable_base_model.py,sha256=QXmKIWQbsbWQvovXwKT1d9jtyf2LNJtjQquIwO52zOU,901
|
|
49
49
|
exa/common/qcm_data/qcm_data_client.py,sha256=0clAbZ3HPBH9lFOe8cVmaq8hPHG5m3pyPG4O6EI97Kk,6022
|
|
50
50
|
exa/common/sweep/__init__.py,sha256=uEKk5AtzSgSnf8Y0geRPwUpqXIBIXpeCxsN64sX7F1o,591
|
|
51
51
|
exa/common/sweep/database_serialization.py,sha256=NUu1umxRQZpKtRmw1vNDsSbnofqbHvKFg_xQ2mdhY6k,7469
|
|
52
52
|
exa/common/sweep/util.py,sha256=-QE2AaH-WDkYAVH5-Z-30leLgY0x4efmby4kc1JTCgY,3732
|
|
53
|
-
iqm_exa_common-26.
|
|
54
|
-
iqm_exa_common-26.
|
|
55
|
-
iqm_exa_common-26.
|
|
56
|
-
iqm_exa_common-26.
|
|
57
|
-
iqm_exa_common-26.
|
|
53
|
+
iqm_exa_common-26.15.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
|
|
54
|
+
iqm_exa_common-26.15.dist-info/METADATA,sha256=Xt7Adxr1-WTflkw4S8laQ5PqkhmerRcDMeBotsugcKY,14626
|
|
55
|
+
iqm_exa_common-26.15.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
|
56
|
+
iqm_exa_common-26.15.dist-info/top_level.txt,sha256=Clphg2toaZ3_jSFRPhjMNEmLurkMNMc4lkK2EFYsSlM,4
|
|
57
|
+
iqm_exa_common-26.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|