pygsti.objects.GateSet.probs

GateSet.probs(gatestring, clipTo=None)

Construct a dictionary containing the probabilities of every spam label given a gate string.

Parameters:
  • gatestring (GateString or tuple of gate labels) – The sequence of gate labels specifying the gate string.
  • clipTo (2-tuple, optional) – (min,max) to clip probabilities to if not None.
Returns:

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

Return type:

dictionary