pygsti.tools.rbtheory

pygsti.tools.rbtheory#

RB-related functions of gates and models

Functions

L_matrix(model, target_model[, weights])

Constructs a generalization of the 'L-matrix' linear operator on superoperators.

R_matrix(model, group[, group_to_model, weights])

Constructs a generalization of the 'R-matrix' of Proctor et al Phys.

R_matrix_predicted_rb_decay_parameter(model, ...)

Returns the second largest eigenvalue of a generalization of the 'R-matrix' [see the R_matrix function].

errormaps(model, target_model)

Computes the 'left-multiplied' error maps associated with a noisy gate set, along with the average error map.

gate_dependence_of_errormaps(model, target_model)

Computes the "gate-dependence of errors maps" parameter defined by

predicted_rb_decay_parameter(model, target_model)

Computes the second largest eigenvalue of the 'L matrix' (see the L_matrix function).

predicted_rb_number(model, target_model[, ...])

Predicts the RB error rate from a model.

rb_gauge(model, target_model[, weights, ...])

Computes the gauge transformation required so that the RB number matches the average model infidelity.

transform_to_rb_gauge(model, target_model[, ...])

Transforms a Model into the "RB gauge" (see the RB_gauge function).