Model violation for each individual circuit

This tab presents the second of two statistical tests available to detect that a dataset violates pyGSTi's Markovian gateset model. The first is based on the aggregate loglikelihood score presented elsewhere. This tab shows the individual loglikelihood scores for each circuit in the dataset. Each circuit is represented by a colored box, whose color indicates how badly this estimate (model) failed to predict the observed outcome frequencies of that circuit. Light gray indicates consistency with the model, dark gray indicates possible -- but statistically insignificant -- inconsistency, and red squares indicate circuits whose outcomes are inconsistent with the model at the family-wise {{ linlg_pcntle_inv|render }} percent confidence level. In other words, if data are generated by a Markovian gateset, then with {{ linlg_pcntle_inv|render }}%% probability every box will be gray. Even a single red square thus represents a clear detection of model violation. When many squares are red, their pattern can provide useful diagnostic clues to what kind of non-Markovian noise is present.

{{ final_model_fit_colorbox_plot|render }} {{ maxlength_switchboard1|render }}
Per-sequence model violation box plot. This plot shows the 2\Delta\log(\mathcal{L}) contribution for each individual circuit in the dataset. Each box represents a single gate sequence, and its color indicates whether GST was able to fit the corresponding frequency well. Shades of white/gray indicate typical (within the expected) values. Red squares represent statistically significant evidence for model violation (non-Markovianity), and the probabilty that any red squares appear is {{ linlg_pcntle|render }}% when the data really are Markovian. Each square block of pixels (plaquette) corresponds to a particular germ-power "base sequence", and each pixel within a block corresponds to a specific "fiducial pair" -- i.e., choice of pre- and post-fiducial sequences. The base sequences are arranged by germ (varying from row to row), and by power/length (varying from column to column). Hovering over a colored box will pop up the exact circuit to which it corresponds, the observed frequencies, and the corresponding probabilities predicted by the GST estimate of the gateset. The slider below the figure permits switching between different estimates, labeled by L, which were obtained from subsets of the data that included only base sequences of length up to L.
{{ final_model_tvd_colorbox_plot|render }}
Per-sequence total variational distance box plot. This plot shows the total variational distance (\frac{1}{2}\sum_i|p_i-f_i|) contribution for each individual circuit in the dataset. Each box represents a single gate sequence, and its color indicates how well the observed frequency matches the probability generated by GST's best-estimate gate set. Each square block of pixels (plaquette) corresponds to a particular germ-power "base sequence", and each pixel within a block corresponds to a specific "fiducial pair" -- i.e., choice of pre- and post-fiducial sequences. The base sequences are arranged by germ (varying from row to row), and by power/length (varying from column to column). Hovering over a colored box will pop up the exact circuit to which it corresponds, the observed frequencies, and the corresponding probabilities predicted by the GST estimate of the gateset. The slider below the figure permits switching between different estimates, labeled by L, which were obtained from subsets of the data that included only base sequences of length up to L.