pygsti.objects.GateSet.dprobs¶
-
GateSet.
dprobs
(gatestring, returnPr=False, clipTo=None)¶ Construct a dictionary containing the probability derivatives of every spam label for a given gate string.
Parameters: - gatestring (GateString or tuple of gate labels) – The sequence of gate labels specifying the gate string.
- returnPr (bool, optional) – when set to True, additionally return the probabilities.
- clipTo (2-tuple, optional) – (min,max) to clip returned probability to if not None. Only relevant when returnPr == True.
Returns: dprobs – A dictionary such that dprobs[SL] = dpr(SL,gatestring,gates,G0,SPAM,SP0,returnPr,clipTo) for each spam label (string) SL.
Return type: dictionary