pygsti.objects.GateSet.add_spam_label¶
-
GateSet.
add_spam_label
(rhoIndex, eIndex, label)¶ - Adds a new spam label. That is, associates the SPAM
- pair (rhoIndex,eIndex) with the given label. Calls make_spams automatically.
Parameters: - rhoIndex (int) – state preparation vector index.
- eIndex (int) – POVM effect vector index.
- label (string) – the “spam label” to associate with (rhoIndex,eIndex).