iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.get_survival_probabilities

iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.get_survival_probabilities#

iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.get_survival_probabilities(num_qubits: int, counts: List[Dict[str, int]]) List[float]#

Compute a result’s probability of being on the ground state.

Parameters:
  • num_qubits (int) – the number of qubits

  • counts (List[Dict[str, int]]) – the result of the execution of a list of quantum circuits (counts)

Returns:

the ground state probabilities of the RB sequence

Return type:

List[float]