pygsti.io.write_multidataset¶
-
pygsti.io.
write_multidataset
(filename, multidataset, gatestring_list=None, spamLabelOrder=None)¶ Write a text-formatted multi-dataset file.
Parameters: - filename (string) – The filename to write.
- multidataset (MultiDataSet) – The multi data set from which counts are obtained.
- gatestring_list (list of GateStrings) – 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 multidataset which specifies the column order in the output file.