pygsti.io.readers.read_edesign_from_mongodb#
- read_edesign_from_mongodb(mongodb, doc_id, quick_load=False, comm=None)#
Load a
ExperimentDesignfrom a MongoDB database.- Parameters:
mongodb (pymongo.database.Database) – The MongoDB instance to load data from.
doc_id (str) – The user-defined identifier of the experiment design to load.
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: