pygsti.io.write_dataset¶
-
pygsti.io.
write_dataset
(filename, dataset, gatestring_list=None, spamLabelOrder=None)¶ Write a text-formatted dataset file.
Parameters: - filename (string) – The filename to write.
- dataset (DataSet) – The data set from which counts are obtained.
- gatestring_list (list of GateStrings, optional) – The list of gate strings to include in the written dataset. If None, all gate strings are output.
- spamLabelOrder (list, optional) – A list of the SPAM labels in dataset which specifies the column order in the output file.