pygsti.tools.forbidden_prob¶
-
pygsti.tools.
forbidden_prob
(gateset, dataset)¶ Compute the sum of the out-of-range probabilities generated by gateset, using only those gate strings contained in dataset. Non-zero value indicates that gateset is not in XP for the supplied dataset.
Parameters: Returns: sum of the out-of-range probabilities.
Return type: float