iqm-benchmarks 2.32__py3-none-any.whl → 2.33__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/__init__.py +4 -0
- iqm/benchmarks/compressive_gst/gst_analysis.py +0 -1
- iqm/benchmarks/entanglement/graph_states.py +1 -1
- iqm/benchmarks/randomized_benchmarking/direct_rb/__init__.py +19 -0
- iqm/benchmarks/randomized_benchmarking/direct_rb/direct_rb.py +1000 -0
- iqm/benchmarks/randomized_benchmarking/eplg/__init__.py +19 -0
- iqm/benchmarks/randomized_benchmarking/eplg/eplg.py +409 -0
- iqm/benchmarks/randomized_benchmarking/mirror_rb/__init__.py +1 -1
- iqm/benchmarks/randomized_benchmarking/mirror_rb/mirror_rb.py +81 -163
- iqm/benchmarks/randomized_benchmarking/randomized_benchmarking_common.py +310 -71
- iqm/benchmarks/utils.py +138 -53
- iqm/benchmarks/utils_plots.py +189 -3
- {iqm_benchmarks-2.32.dist-info → iqm_benchmarks-2.33.dist-info}/METADATA +3 -1
- {iqm_benchmarks-2.32.dist-info → iqm_benchmarks-2.33.dist-info}/RECORD +17 -13
- {iqm_benchmarks-2.32.dist-info → iqm_benchmarks-2.33.dist-info}/WHEEL +0 -0
- {iqm_benchmarks-2.32.dist-info → iqm_benchmarks-2.33.dist-info}/licenses/LICENSE +0 -0
- {iqm_benchmarks-2.32.dist-info → iqm_benchmarks-2.33.dist-info}/top_level.txt +0 -0
iqm/benchmarks/__init__.py
CHANGED
|
@@ -32,6 +32,8 @@ from .optimization.qscore import QScoreBenchmark, QScoreConfiguration
|
|
|
32
32
|
from .quantum_volume.clops import CLOPSBenchmark, CLOPSConfiguration
|
|
33
33
|
from .quantum_volume.quantum_volume import QuantumVolumeBenchmark, QuantumVolumeConfiguration
|
|
34
34
|
from .randomized_benchmarking.clifford_rb.clifford_rb import CliffordRandomizedBenchmarking, CliffordRBConfiguration
|
|
35
|
+
from .randomized_benchmarking.direct_rb.direct_rb import DirectRandomizedBenchmarking, DirectRBConfiguration
|
|
36
|
+
from .randomized_benchmarking.eplg.eplg import EPLGBenchmark, EPLGConfiguration
|
|
35
37
|
from .randomized_benchmarking.interleaved_rb.interleaved_rb import (
|
|
36
38
|
InterleavedRandomizedBenchmarking,
|
|
37
39
|
InterleavedRBConfiguration,
|
|
@@ -46,6 +48,8 @@ AVAILABLE_BENCHMARKS = {
|
|
|
46
48
|
CliffordRandomizedBenchmarking.name: CliffordRandomizedBenchmarking,
|
|
47
49
|
InterleavedRandomizedBenchmarking.name: InterleavedRandomizedBenchmarking,
|
|
48
50
|
MirrorRandomizedBenchmarking.name: MirrorRandomizedBenchmarking,
|
|
51
|
+
DirectRandomizedBenchmarking.name: DirectRandomizedBenchmarking,
|
|
52
|
+
EPLGBenchmark.name: EPLGBenchmark,
|
|
49
53
|
QScoreBenchmark.name: QScoreBenchmark,
|
|
50
54
|
GraphStateBenchmark.name: GraphStateBenchmark,
|
|
51
55
|
}
|
|
@@ -474,7 +474,7 @@ def plot_max_negativities_graph(
|
|
|
474
474
|
# Add colorbar
|
|
475
475
|
sm = plt.cm.ScalarMappable(cmap=cmap, norm=norm)
|
|
476
476
|
sm.set_array([])
|
|
477
|
-
fig.colorbar(sm, ax=ax, shrink=0.5)
|
|
477
|
+
fig.colorbar(sm, ax=ax, shrink=0.5, label="Entanglement negativity")
|
|
478
478
|
|
|
479
479
|
shots_string = "" if num_shots is None else f"Shots per tomography sample: {num_shots}"
|
|
480
480
|
station_string = "IQM Backend" if station is None else station.capitalize()
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Copyright 2024 IQM Benchmarks developers
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""
|
|
16
|
+
Direct RB estimates the layer fidelity of canonical gates
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
from . import direct_rb
|