pygsti.objects.GateSet.get_spam_label_dict

GateSet.get_spam_label_dict()

Get a reverse-lookup dictionary for spam labels.

Returns:a dictionary with keys == (rhoIndex,eIndex) tuples and values == SPAM labels.
Return type:dict