pygsti.io.writers.write_empty_dataset#
- write_empty_dataset(filename, circuits, header_string='## Columns = 1 frequency, count total', num_zero_cols=None, append_weights_column=False)#
Write an empty dataset file to be used as a template.
- Parameters:
filename (string) – The filename to write.
circuits (list of Circuits) – List of circuits to write, each to be followed by num_zero_cols zeros.
header_string (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.
num_zero_cols (int, optional) – The number of zero columns to place after each circuit. If None, then header_string must begin with “## Columns = “ and number of zero columns will be inferred.
append_weights_column (bool, optional) – Add an additional ‘weights’ column.
- Return type:
None