pygsti.extras.drift.stabilityanalyzer.compute_auto_tests

pygsti.extras.drift.stabilityanalyzer.compute_auto_tests#

compute_auto_tests(shape, ids=False)#

Returns the tests we’ll automatically perform on time-series data, when a specific sets of tests is not given. Each test is specified by a tuple of length <= 3 containing some subset of ‘dataset’, ‘circuit’ and ‘outcome’, and a set of tests is a list of such tuples.

Parameters:
  • shape (tuple) – The “shape” of the time-sereis data that is being tested. A 3-tuple, whereby the shape[0] is the number of DataSets in the MultiDataSet being tested, shape[1] is the number of circuits, and shape[2] is the number of outcomes per circuit.

  • ids (bool, optional.) – Whether or not we’re returning the auto tests for a MultiDataSet containing independendet data sets. If the MultiDataSet we are testing only contains 1 DataSet it does not matter what this is set to.

Returns:

A tuple containing the auto-generated tests to run.

Return type:

tuple