-
Notifications
You must be signed in to change notification settings - Fork 55
/
Goodness_colorboxplot.html
13 lines (11 loc) · 4.05 KB
/
Goodness_colorboxplot.html
1
2
3
4
5
6
7
8
9
10
11
12
13
<h1>Model violation for each individual circuit</h1>
<p>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 <em>aggregate</em> loglikelihood score presented elsewhere. This tab shows the <em>individual</em> 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 <em>family-wise</em> {{ 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 <em>every</em> 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.</p>
<figure id="final_model_fit_colorbox_plot">
{{ final_model_fit_colorbox_plot|render }}
{{ maxlength_switchboard1|render }}
<figcaption><span class="captiontitle">Per-sequence model violation box plot.</span><span class="captiondetail"> This plot shows the <span class="math">2\Delta\log(\mathcal{L})</span> 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 <i>any</i> red squares appear is {{ linlg_pcntle|render }}% when the data really are Markovian. Each square block of pixels (<q>plaquette</q>) 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 <span class="math">L</span>, which were obtained from subsets of the data that included only base sequences of length up to <span class="math">L</span>. </span></figcaption>
</figure>
<figure id="final_model_tvd_colorbox_plot">
{{ final_model_tvd_colorbox_plot|render }}
<figcaption><span class="captiontitle">Per-sequence total variational distance box plot.</span><span class="captiondetail"> This plot shows the total variational distance (<span class="math">\frac{1}{2}\sum_i|p_i-f_i|</span>) 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 (<q>plaquette</q>) 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 <span class="math">L</span>, which were obtained from subsets of the data that included only base sequences of length up to <span class="math">L</span>. </span></figcaption>
</figure>