pygsti.io.readers.read_protocol_from_dir#
- read_protocol_from_dir(dirname, quick_load=False, comm=None)#
Load a
Protocolfrom a directory on disk.- Parameters:
dirname (string) – Directory name.
quick_load (bool, optional) – Setting this to True skips the loading of components that may take a long time to load. This can be useful when this information isn’t needed and loading takes a long time.
comm (mpi4py.MPI.Comm, optional) – When not
None, an MPI communicator used to synchronize file access.
- Return type: