pygsti.data.datasetconstruction

pygsti.data.datasetconstruction#

Functions for creating data

Functions

aggregate_dataset_outcomes(dataset, ...[, ...])

Creates a DataSet which merges certain outcomes in input DataSet.

filter_dataset(dataset, sectors_to_keep[, ...])

Creates a DataSet that is the restriction of dataset to sectors_to_keep.

simulate_data(model_or_dataset, ...[, ...])

Creates a DataSet using the probabilities obtained from a model.

trim_to_constant_numtimesteps(ds)

Trims a DataSet so that each circuit's data comprises the same number of timesteps.