pygsti.protocols.protocol.TreeRunner#
- class TreeRunner(protocol_dict)#
Bases:
ProtocolRunnerRuns specific protocols on specific data-tree paths.
- Parameters:
protocol_dict (dict) – A dictionary of
Protocolobjects whose keys are paths (tuples of strings) specifying where in the data-tree that protocol should be run.
Create a new TreeRunner object, which runs specific protocols on specific data-tree paths.
- Parameters:
protocol_dict (dict) – A dictionary of
Protocolobjects whose keys are paths (tuples of strings) specifying where in the data-tree that protocol should be run.- Return type:
Methods
__init__(protocol_dict)Create a new TreeRunner object, which runs specific protocols on specific data-tree paths.
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: