pygsti.objects.GateSet.get_reverse_spam_defs

GateSet.get_reverse_spam_defs()

Get a reverse-lookup dictionary for spam labels.

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