pygsti.objects.MultiDataSet.add_dataset_counts

MultiDataSet.add_dataset_counts(datasetName, datasetCounts)

Directly add a full set of counts for a specified dataset.

Parameters:
  • datasetName (string) – Counts are added for this data set. This can be a new name, in which case this method adds a new data set to the MultiDataSet.
  • datasetCounts (numpy array) – A 2D array with rows = gate strings and cols = spam labels, to this MultiDataSet. The shape of dataSetCounts is checked for compatibility.