iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.estimate_survival_probabilities

iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.estimate_survival_probabilities#

iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.estimate_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]