pygsti.io.writers.write_multidataset#
- write_multidataset(filename, multidataset, circuits=None, outcome_label_order=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.
circuits (list of Circuits) – The list of circuits to include in the written dataset. If None, all circuits are output.
outcome_label_order (list, optional) – A list of the SPAM labels in multidataset which specifies the column order in the output file.
- Return type:
None