pygsti.io.metadir

pygsti.io.metadir#

Serialization routines to/from a meta.json based directory

Functions

load_meta_based_dir(root_dir[, ...])

Load the contents of a root_dir into a dict.

write_dict_to_json_or_pkl_files(d, dirname)

Write each element of d into a separate file in dirname.

write_meta_based_dir(root_dir, valuedict[, ...])

Write a dictionary of quantities to a directory.

write_obj_to_meta_based_dir(obj, dirname, ...)

Write the contents of obj to dirname using a 'meta.json' file and an auxfile-types dictionary.