pygsti.protocols.protocol.ProtocolRunner#
- class ProtocolRunner#
Bases:
objectUsed to run
Protocolobjects on an entire tree of dataThis class provides a way of combining multiple calls to
Protocol.run(), potentially running multiple protocols on different data. From the outside, aProtocolRunnerobject behaves similarly, and can often be used interchangeably, with a Protocol object. It possesses a run method that takes aProtocolDataas input and returns aProtocolResultsDirthat can contain multipleProtocolResultsobjects within it.Methods
__init__()run(data[, memlimit, comm])Run all the protocols specified by this protocol-runner on data.
- run(data, memlimit=None, comm=None)#
Run all the protocols specified by this protocol-runner on data.
- Parameters:
data (ProtocolData) – The input data.
memlimit (int, optional) – A rough per-processor memory limit in bytes.
comm (mpi4py.MPI.Comm, optional) – When not
None, an MPI communicator used to run this protocol-runner in parallel.
- Return type: