pygsti.io.readers

pygsti.io.readers#

Functions for loading GST objects from text files.

Functions

convert_strings_to_circuits(obj)

Converts an object resulting from convert_circuits_to_strings() back to its original.

create_edesign_from_dir(dirname)

read_circuit_list(filename[, ...])

Load a circuit list from a file, formatted using the standard text-format.

read_circuit_strings(filename)

TODO: docstring - load various Circuit-containing standard objects from a file where they have been replaced by their string representations

read_data_from_dir(dirname[, ...])

Load a ProtocolData from a directory on disk.

read_data_from_mongodb(mongodb, doc_id[, ...])

Load a ProtocolData from a MongoDB database.

read_dataset(filename[, cache, ...])

Load a DataSet from a file.

read_edesign_from_dir(dirname[, quick_load, ...])

Load a ExperimentDesign from a directory on disk.

read_edesign_from_mongodb(mongodb, doc_id[, ...])

Load a ExperimentDesign from a MongoDB database.

read_multidataset(filename[, cache, ...])

Load a MultiDataSet from a file.

read_protocol_from_dir(dirname[, ...])

Load a Protocol from a directory on disk.

read_protocol_from_mongodb(mongodb, doc_id)

Load a Protocol from a MongoDB database.

read_results_from_dir(dirname[, name, ...])

Load a ProtocolResults or ProtocolsResultsDir from a directory on disk.

read_results_from_mongodb(mongodb, doc_id[, ...])

Load a ProtocolResults from a MongoDB database.

read_resultsdir_from_mongodb(mongodb, doc_id)

Load a ProtocolsResultsDir from a MongoDB database.

read_time_dependent_dataset(filename[, ...])

Load time-dependent (time-stamped) data as a DataSet.

remove_data_from_mongodb(mongodb, doc_id[, ...])

Remove ProtocolData from a MongoDB database.

remove_edesign_from_mongodb(mongodb, doc_id)

Remove an ExperimentDesign from a MongoDB database.

remove_protocol_from_mongodb(mongodb, doc_id)

Remove a Protocol from a MongoDB database.

remove_results_from_mongodb(mongodb, doc_id)

Remove ProtocolResults data from a MongoDB database.

remove_resultsdir_from_mongodb(mongodb, doc_id)

Remove ProtocolsResultsDir data from a MongoDB database.