pygsti.extras.drift.driftreport

Drift reporting and plotting functions

Module Contents

Classes

DriftSummaryTable

todo

DriftDetailsTable

todo

PowerSpectraPlot

Plot of time-series data power spectrum

GermFiducialPowerSpectraPlot

Plot of time-series data power spectrum

ProbTrajectoriesPlot

todo

GermFiducialProbTrajectoriesPlot

todo

Functions

_add_new_labels(running_lbls, current_lbls)

Simple routine to add current-labels to a list of

_create_switchboard(ws, results_dict)

Creates the switchboard used by the drift report

_create_drift_switchboard(ws, results)

todo

create_drift_report(results, circuits, filename, title='auto', ws=None, auto_open=False, link_to=None, brevity=0, advanced_options=None, verbosity=1)

Creates a Drift report.

Attributes

plotly_coolwarm_colorscale

pygsti.extras.drift.driftreport.plotly_coolwarm_colorscale = [[0.0, 'rgb(58,76,192)'], [0.03125, 'rgb(68,90,205)'], [0.0625, 'rgb(77,104,216)'], [0.09375,...
class pygsti.extras.drift.driftreport.DriftSummaryTable(ws, results, dskey=None, detectorkey=None, estimatekey=None)

Bases: pygsti.report.workspace.WorkspaceTable

todo

_create(self, results, dskey, detectorkey, estimatekey)
class pygsti.extras.drift.driftreport.DriftDetailsTable(ws, results, detectorkey=None, estimatekey=None)

Bases: pygsti.report.workspace.WorkspaceTable

todo

_create(self, results, detectorkey, estimatekey)
class pygsti.extras.drift.driftreport.PowerSpectraPlot(ws, results, spectrumlabel={}, detectorkey=None, showlegend=False, scale=1.0)

Bases: pygsti.report.workspace.WorkspacePlot

Plot of time-series data power spectrum

_create(self, results, spectrumlabel, detectorkey, showlegend, scale)
class pygsti.extras.drift.driftreport.GermFiducialPowerSpectraPlot(ws, results, prep, germ, meas, dskey=None, detectorkey=None, showlegend=False, scale=1.0)

Bases: pygsti.report.workspace.WorkspacePlot

Plot of time-series data power spectrum

_create(self, results, prep, germ, meas, dskey, detectorkey, showlegend, scale)
class pygsti.extras.drift.driftreport.ProbTrajectoriesPlot(ws, stabilityanalyzer, circuits, outcome, times=None, dskey=None, estimatekey=None, estimator=None, showlegend=True, scale=1.0)

Bases: pygsti.report.workspace.WorkspacePlot

todo

_create(self, stabilityanalyzer, circuits, outcome, times, dskey, estimatekey, estimator, showlegend, scale)
class pygsti.extras.drift.driftreport.GermFiducialProbTrajectoriesPlot(ws, results, prep, germ, meas, outcome, min_length=1, times=None, dskey=None, estimatekey=None, estimator=None, showlegend=False, scale=1.0)

Bases: pygsti.report.workspace.WorkspacePlot

todo

_create(self, results, prep, germ, meas, outcome, min_length, times, dskey, estimatekey, estimator, showlegend, scale)
pygsti.extras.drift.driftreport._add_new_labels(running_lbls, current_lbls)

Simple routine to add current-labels to a list of running-labels without introducing duplicates and preserving order as best we can.

pygsti.extras.drift.driftreport._create_switchboard(ws, results_dict)

Creates the switchboard used by the drift report

pygsti.extras.drift.driftreport._create_drift_switchboard(ws, results)

todo

pygsti.extras.drift.driftreport.create_drift_report(results, circuits, filename, title='auto', ws=None, auto_open=False, link_to=None, brevity=0, advanced_options=None, verbosity=1)

Creates a Drift report.