pygsti.io.load_dataset¶
-
pygsti.io.
load_dataset
(filename, cache=False)¶ Load a DataSet from a file. First tries to load file as a saved DataSet object, then as a standard text-formatted DataSet.
Parameters: - filename (string) – The name of the file
- cache (bool, optional) – When set to True, a pickle file with the name filename + ”.cache” is searched for and loaded instead of filename if it exists and is newer than filename. If no cache file exists or one exists but it is older than filename, a cache file will be written after loading from filename.
Returns: Return type: