iqm.benchmarks.quantum_volume.quantum_volume.compute_heavy_output_probabilities

iqm.benchmarks.quantum_volume.quantum_volume.compute_heavy_output_probabilities#

iqm.benchmarks.quantum_volume.quantum_volume.compute_heavy_output_probabilities(execution_results: List[Dict[str, int]], ideal_heavy_outputs: List[Dict[str, float]]) List[float]#

Compute the HOP of all quantum circuits.

Parameters:
  • execution_results (List[Dict[str, int]]) – counts from execution of all quantum circuits.

  • ideal_heavy_outputs (List[Dict[str, float]]) – list of ideal heavy output dictionaries.

Returns:

the HOP of all quantum circuits.

Return type:

List[float]