pygsti.tools.rbtools

pygsti.tools.rbtools#

Tools for analyzing RB data

Functions

adjusted_success_probability(...)

The success probabilitys adjusted by hamming weights.

hamming_distance(bs1, bs2)

TODO: docstring

marginalized_hamming_distance_counts(dsrow, ...)

TODO: docstring

marginalized_success_counts(dsrow, circ, ...)

Marginalize the success counts over qubits.

p_to_r(p, d[, rtype])

Converts an RB decay constant (p) to the RB error rate (r).

r_to_p(r, d[, rtype])

Inverse of the p_to_r function.

rescaling_factor(lengths, quantity[, offset])

Finds a rescaling value alpha that maps the Clifford RB decay constant p to p_(rescaled) = p^(1/alpha).