pygsti.objects.GateSet.bulk_probs

GateSet.bulk_probs(evalTree, clipTo=None, check=False, comm=None)

Construct a dictionary containing the bulk-probabilities for every spam label (each possible initialization & measurement pair) for each gate sequence given by evalTree.

Parameters:
  • evalTree (EvalTree) – given by a prior call to bulk_evaltree. Specifies the gate strings to compute the bulk operation on.
  • clipTo (2-tuple, optional) – (min,max) to clip return value if not None.
  • check (boolean, optional) – If True, perform extra checks within code to verify correctness, generating warnings when checks fail. Used for testing, and runs much slower when True.
  • comm (mpi4py.MPI.Comm, optional) – When not None, an MPI communicator for distributing the computation across multiple processors. Distribution is performed over subtrees of evalTree (if it is split).
Returns:

probs – A dictionary such that probs[SL] = bulk_pr(SL,evalTree,clipTo,check) for each spam label (string) SL.

Return type:

dictionary