iqm-benchmarks 2.31__py3-none-any.whl → 2.32__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.
Potentially problematic release.
This version of iqm-benchmarks might be problematic. Click here for more details.
- iqm/benchmarks/utils_plots.py +2 -16
- {iqm_benchmarks-2.31.dist-info → iqm_benchmarks-2.32.dist-info}/METADATA +1 -1
- {iqm_benchmarks-2.31.dist-info → iqm_benchmarks-2.32.dist-info}/RECORD +6 -6
- {iqm_benchmarks-2.31.dist-info → iqm_benchmarks-2.32.dist-info}/WHEEL +0 -0
- {iqm_benchmarks-2.31.dist-info → iqm_benchmarks-2.32.dist-info}/licenses/LICENSE +0 -0
- {iqm_benchmarks-2.31.dist-info → iqm_benchmarks-2.32.dist-info}/top_level.txt +0 -0
iqm/benchmarks/utils_plots.py
CHANGED
|
@@ -162,21 +162,7 @@ def plot_layout_fidelity_graph(
|
|
|
162
162
|
for qb in {qb for layout in qubit_layouts for qb in layout}:
|
|
163
163
|
node_colors[qb] = "orange"
|
|
164
164
|
|
|
165
|
-
|
|
166
|
-
edge_list = graph.edge_list()
|
|
167
|
-
weights_dict = {}
|
|
168
|
-
edge_pos = set()
|
|
169
|
-
|
|
170
|
-
# Create a mapping between edge positions as defined in rustworkx and their weights
|
|
171
|
-
for e, w in zip(edge_list, weights):
|
|
172
|
-
pos_tuple = (tuple(pos[e[0]]), tuple(pos[e[1]]))
|
|
173
|
-
weights_dict[pos_tuple] = w
|
|
174
|
-
edge_pos.add(pos_tuple)
|
|
175
|
-
|
|
176
|
-
# Get corresponding weights in the same order
|
|
177
|
-
weights_ordered = np.array([weights_dict[edge] for edge in list(edge_pos)])
|
|
178
|
-
|
|
179
|
-
plt.subplots(figsize=(6, 6))
|
|
165
|
+
plt.subplots(figsize=(1.5 * np.sqrt(len(nodes)), 1.5 * np.sqrt(len(nodes))))
|
|
180
166
|
|
|
181
167
|
# Draw the graph
|
|
182
168
|
visualization.mpl_draw(
|
|
@@ -185,7 +171,7 @@ def plot_layout_fidelity_graph(
|
|
|
185
171
|
node_color=node_colors,
|
|
186
172
|
pos=pos,
|
|
187
173
|
labels=lambda node: node,
|
|
188
|
-
width=7 *
|
|
174
|
+
width=7 * weights / np.max(weights),
|
|
189
175
|
) # type: ignore[call-arg]
|
|
190
176
|
|
|
191
177
|
# Add edge labels using matplotlib's annotate
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: iqm-benchmarks
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.32
|
|
4
4
|
Summary: A package for implementation of Quantum Characterization, Verification and Validation (QCVV) techniques on IQM's hardware at gate level abstraction
|
|
5
5
|
Author-email: IQM Finland Oy <developers@meetiqm.com>, Adrian Auer <adrian.auer@meetiqm.com>, Raphael Brieger <raphael.brieger@meetiqm.com>, Alessio Calzona <alessio.calzona@meetiqm.com>, Pedro Figueroa Romero <pedro.romero@meetiqm.com>, Amin Hosseinkhani <amin.hosseinkhani@meetiqm.com>, Miikka Koistinen <miikka@meetiqm.com>, Nadia Milazzo <nadia.milazzo@meetiqm.com>, Vicente Pina Canelles <vicente.pina@meetiqm.com>, Aniket Rath <aniket.rath@meetiqm.com>, Jami Rönkkö <jami@meetiqm.com>, Stefan Seegerer <stefan.seegerer@meetiqm.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/iqm-finland/iqm-benchmarks
|
|
@@ -5,7 +5,7 @@ iqm/benchmarks/circuit_containers.py,sha256=anEtZEsodYqOX-34oZRmuKGeEpp_VfgG5045
|
|
|
5
5
|
iqm/benchmarks/logging_config.py,sha256=U7olP5Kr75AcLJqNODf9VBhJLVqIvA4AYR6J39D5rww,1052
|
|
6
6
|
iqm/benchmarks/readout_mitigation.py,sha256=Q2SOGWTNgmklOYkNxepAaSaXlxSj0QQyymYY1bOkT8A,11756
|
|
7
7
|
iqm/benchmarks/utils.py,sha256=2aEwFhZAHBmqLjSMtnqjuWcXCyMX3vpUfF-vqoeBIHw,38517
|
|
8
|
-
iqm/benchmarks/utils_plots.py,sha256=
|
|
8
|
+
iqm/benchmarks/utils_plots.py,sha256=5Fx4mmsxiHAv5mhZYQA1T0oNxoWMTnrPm1egZgkXUfc,7546
|
|
9
9
|
iqm/benchmarks/utils_shadows.py,sha256=e77PV_uaAO5m_woox9lAzompKAvFeDJ-0AKJrNJ7NFg,9728
|
|
10
10
|
iqm/benchmarks/compressive_gst/__init__.py,sha256=LneifgYXtcwo2jcXo7GdUEHL6_peipukShhkrdaTRCA,929
|
|
11
11
|
iqm/benchmarks/compressive_gst/compressive_gst.py,sha256=2kiRttog4jR-vtMHu847GTFe5qL_i_uYr_4WMGqt9Ww,25653
|
|
@@ -29,7 +29,7 @@ iqm/benchmarks/randomized_benchmarking/interleaved_rb/__init__.py,sha256=sq6MgN_
|
|
|
29
29
|
iqm/benchmarks/randomized_benchmarking/interleaved_rb/interleaved_rb.py,sha256=TaR1YFWBhOgm1hmEQzuwLYpp0yl0Xpuo3jAT6YhiXpc,28471
|
|
30
30
|
iqm/benchmarks/randomized_benchmarking/mirror_rb/__init__.py,sha256=ZekEqI_89nXzGO1vjM-b5Uwwicy59M4fYHXfA-f0MIg,674
|
|
31
31
|
iqm/benchmarks/randomized_benchmarking/mirror_rb/mirror_rb.py,sha256=_xdp8XLPcZyuqy7Xz8-K8H7zjgRo9ZxFiDgCXE72gaE,34997
|
|
32
|
-
iqm_benchmarks-2.
|
|
32
|
+
iqm_benchmarks-2.32.dist-info/licenses/LICENSE,sha256=2Ncb40-hqkTil78RPv3-YiJfKaJ8te9USJgliKqIdSY,11558
|
|
33
33
|
mGST/LICENSE,sha256=TtHNq55cUcbglb7uhVudeBLUh_qPdUoAEvU0BBwFz-k,1098
|
|
34
34
|
mGST/README.md,sha256=v_5kw253csHF4-RfE-44KqFmBXIsSMRmOtN0AUPrRxE,5050
|
|
35
35
|
mGST/additional_fns.py,sha256=_SEJ10FRNM7_CroysT8hCLZTfpm6ZhEIDCY5zPTnhjo,31390
|
|
@@ -40,7 +40,7 @@ mGST/optimization.py,sha256=YHwkzIkYvsZOPjclR-BCQWh24jeqjuXp0BB0WX5Lwow,10559
|
|
|
40
40
|
mGST/qiskit_interface.py,sha256=ajx6Zn5FnrX_T7tMP8xnBLyG4c2ddFRm0Fu2_3r1t30,10118
|
|
41
41
|
mGST/reporting/figure_gen.py,sha256=6Xd8vwfy09hLY1YbJY6TRevuMsQSU4MsWqemly3ZO0I,12970
|
|
42
42
|
mGST/reporting/reporting.py,sha256=B8NWfpZrrSmyH7lwZxd0EbZMYLsAGK1YsHRB4D5qXH4,26002
|
|
43
|
-
iqm_benchmarks-2.
|
|
44
|
-
iqm_benchmarks-2.
|
|
45
|
-
iqm_benchmarks-2.
|
|
46
|
-
iqm_benchmarks-2.
|
|
43
|
+
iqm_benchmarks-2.32.dist-info/METADATA,sha256=3GQfUfAq5kpV8-6g_g-Wbkf6OjS6OpQBOrPe1Uq3DzI,10710
|
|
44
|
+
iqm_benchmarks-2.32.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
45
|
+
iqm_benchmarks-2.32.dist-info/top_level.txt,sha256=3G23Z-1LGf-IOzTCUl6QwWqiQ3USz25Zt90Ihq192to,9
|
|
46
|
+
iqm_benchmarks-2.32.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|