pygsti.objects.GateSet.get_basis_name¶
-
GateSet.
get_basis_name
()¶ Returns the name abbreviation of the basis, essentially identifying its type. The gate matrices and SPAM vectors within the GateSet are to be interpreted within this basis. Note that the dimension of the (matrix) elements of the basis can be obtained by get_basis_dimension(...). The basis abbreviations use by pyGSTi are “gm” (a Gell-Mann basis), “pp” (a Pauli-product basis), and “std” (a matrix unit, or “standard” basis). If the basis is unknown, the string “unknown” is returned.
Returns: basis abbreviation (or “unknown”) Return type: str