pygsti.io.writers

pygsti.io.writers#

Functions for writing GST objects to text files.

Functions

convert_circuits_to_strings(obj)

Converts a list or dictionary potentially containing Circuit objects to a JSON-able one with circuit strings.

fill_in_empty_dataset_with_fake_data(...[, ...])

Fills in the text-format data set file dataset_fileame with simulated data counts using model.

write_circuit_list(filename, circuits[, header])

Write a text-formatted circuit list file.

write_circuit_strings(filename, obj)

TODO: docstring - write various Circuit-containing standard objects with circuits replaced by their string reps

write_dataset(filename, dataset[, circuits, ...])

Write a text-formatted dataset file.

write_empty_dataset(filename, circuits[, ...])

Write an empty dataset file to be used as a template.

write_empty_protocol_data(dirname, edesign)

Write to disk an empty ProtocolData object.

write_multidataset(filename, multidataset[, ...])

Write a text-formatted multi-dataset file.