pygsti.protocols.protocol.DefaultRunner

pygsti.protocols.protocol.DefaultRunner#

class DefaultRunner(run_passes_separately=False)#

Bases: ProtocolRunner

Run the default protocol at each data-tree node.

(Default protocols are given within ExperimentDesign objects.)

Parameters:

run_passes_separately (bool, optional) – If True, then when multi-pass data is encountered it is split into passes before handing it off to the protocols. Set this to True when the default protocols being run expect single-pass data.

Create a new DefaultRunner object, which runs the default protocol at each data-tree node. (Default protocols are given within ExperimentDesign objects.)

Parameters:

run_passes_separately (bool, optional) – If True, then when multi-pass data is encountered it is split into passes before handing it off to the protocols. Set this to True when the default protocols being run expect single-pass data.

Return type:

DefaultRunner

Methods

__init__([run_passes_separately])

Create a new DefaultRunner object, which runs the default protocol at each data-tree node.

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:

ProtocolResultsDir