pygsti.io.write_empty_dataset_file¶
-
pygsti.io.
write_empty_dataset_file
(filename, gatestring_list, headerString='## Columns = plus frequency, count total', numZeroCols=None, appendWeightsColumn=False)¶ Write an empty dataset file to be used as a template.
Parameters: - filename (string) – The filename to write.
- gatestring_list (list of GateStrings) – List of gate strings to write, each to be followed by numZeroCols zeros.
- headerString (string, optional) – Header string for the file; should start with a pound (#) or double-pound (##) so it is treated as a commend or directive, respectively.
- numZeroCols (int, optional) – The number of zero columns to place after each gate string. If None, then headerString must begin with “## Columns = ” and number of zero columns will be inferred.
- appendWeightsColumn (bool, optional) – Add an additional ‘weights’ column.