Gauge Invariant Error Metrics

GST can estimate gates up to an overall gauge. PyGSTi tries to find a good gauge in which to report process matrices and gauge-variant metrics like fidelity -- but sometimes this goes wrong. The most reliable error metrics and gate properties are gauge-invariant ones, and these are listed on this tab.

RB error metrics This table shows estimates for the error rate that would be obtained using two different Randomized Benchmarking (RB) protocols . The Clifford RB number corresponds to the most standard form of RB, Clifford RB (CRB), where random Clifford gate sequences are performed. This number is dependent on how the Clifford operations are compiled into the primitive gates, and so if you didn't specify a Clifford compilation and pygsti couldn't deduce one, this quantity will be absent. Note that this is the error rate per-Clifford; it has not been rescaled to a per-primitive error rate. The primitive RB number corresponds to performing RB on random sequences of the primitive gates, rather than the Cliffords, which is known as Direct RB (DRB). DRB allows for sampling layers of primitives according to a general probability distribution over the primitive gates; the number reported here corresponds to uniformly sampling the primitive gates. This number does not require any compilation table and is always be computed by pyGSTi. Two caveats regarding these RB numbers: 1) The primitive RB number is not meaningful for arbitrary gate sets; if the gate set generates the Clifford group or it is a universal gate set then it is definitely meaningful, modulo the second caveat. 2) These predicted RB numbers rely on a perturbative technique, and if the estimated gates are far from their ideal counterparts the predicted numbers may be very inaccurate (and the empirical RB error rate itself may even be ill-defined: the RB decay could be non-exponential). For both of these RB protocols there is also more than one definition of the RB number, as a function of the p obtained from fitting RB data to A + Bp^m. Here we use the definition r = (4^n - 1)(1-p)/4^n for an n-qubit gate set, which means that r = entanglement infidelity = 1/2 diamond distance if there are uniform depolarizing errors on all the gates (where these two quantities are w.r.t. the gate set benchmarked, so the Clifford gates for CRB and the primitive gates for DRB). For more general errors, these first two quantities will often be roughly equal, although that is not guaranteed. Note that these numbers should not be directly compared to RB numbers derived using the commonly-used alternative formula r = (2^n - 1)(1-p)/2^n (which is related to average gate infidelity, rather than entanglement infidelity).
{{ final_model_vs_target_table|render }}
SPAM probabilities This table shows estimated SPAM probabilities for each measurement outcome. These are computed as \mathrm{Tr}[\rho E_i], where \rho is an estimated initial state (often labelled \rho_0), and \{E_i\} is the estimated n-outcome POVM. The symbol E_C denotes the nth POVM effect, which is not allowed to vary freely but is defined by subtracting the sum of the other effects (which are freely varied) from the identity.
{{ final_model_spam_parameters_table|render }}
Gram matrix spectrum. The GST Gram matrix is not a standard error metric, but it is gauge-invariant and critical to the GST process. It provides some insight into generalized SPAM. It is the (estimated) matrix of inner products between all the input states prepared by the various preparation fiducials, and all the measured effects prepared by the various measurement fiducials. LGST involves inverting the Gram matrix, so it needs to be full rank. In the plot, each pair of bars shows the nth eigenvalues of the estimated Gram matrix and the Gram matrix predicted by the ideal targets (respectively). Larger eigenvalues indicate better sensitivity, and the number of non-zero values indicates the dimension of the state (density matrix) space being probed (e.g., for a single qubit, the Gram matrix should have 4 O(1) eigenvalues).
{{ gram_bar_plot|render }}
Spectral error metrics between estimated gates and ideal targets This table presents a variety of gauge-invariant quantities that quantify the distance or discrepancy between (1) an estimated gate, and (2) the ideal corresponding target operation. Each of these error metrics depends only on a specific gate's spectrum (eigenvalues), which are gauge-invariant and non-relational (i.e., they pertain to a single gate). Hovering over a column header will pop up a mathematical description of the corresponding metric.
{{ final_gates_vs_target_table_gauge_inv|render }}
Single metric comparison. TODO: caption
{{ metricSwitchboard_gi|render }} {{ single_metric_table_gauge_inv|render }}
Gauge-robust gate metrics. This table gives gauge-robust metrics indicating the intrinsic errors on a gate due to its eigenvalues not being perfect (the diagonal elements) and the relational errors between pairs of gates, due to having imperfect eigenspaces.
{{ metricSwitchboard_gr|render }} {{ final_gauge_inv_metric_table|render }}
Eigenvalues of estimated gates. This table lists the spectrum of each estimated gate. It also breaks out the real and imaginary parts of each eigenvalue, and it compares the estimated eigenvalues to those of the ideal target gates in several useful ways. To do these comparisons, each estimated eigenvalue needs to be matched up with a target eigenvalue, and pyGSTi does this independently for each metric by computing a minimum-weight matching based on that metric. Hovering over a column header will pop up a mathematical description of the corresponding metric.
{{ final_model_eigenvalue_table|render }}
Gauge-robust gate set. This table gives a first-order gauge-invariant description of a gate set by decomposing each gate G as G = F^{-1} M G_0 F where M commutes with G_0 and F = exp(r) where r is zero on the diagonal blocks corresponding to the degenerate eigenvalues of G_0.
{{ final_gauge_inv_model_table|render }}