iqm-benchmarks 2.32__py3-none-any.whl → 2.34__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.

@@ -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
  }
@@ -14,7 +14,6 @@ from numpy import ndarray
14
14
  import numpy as np
15
15
  from pandas import DataFrame
16
16
  from pygsti.models.model import Model
17
- from pygsti.tools import change_basis
18
17
  import xarray as xr
19
18
 
20
19
  from iqm.benchmarks.benchmark_definition import (
@@ -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