pygsti.basis_longname

pygsti.basis_longname(basis, dimOrBlockDims=None)

Get the “long name” for a particular basis, which is typically used in reports, etc.

Parameters:
  • basis ({‘std’, ‘gm’,’pp’}) – Which basis the gateset is represented in. Allowed options are Matrix-unit (std), Gell-Mann (gm) and Pauli-product (pp).
  • dimOrBlockDims (int or list, optional) – Dimension of basis matrices, to aid in creating a long-name. For example, a basis of the 2-dimensional Gell-Mann matrices is the same as the Pauli matrices, and thus the long name is just “Pauli” in this case. If a list of integers, then gives the dimensions of the terms in a direct-sum decomposition of the density matrix space acted on by the basis. .
Returns:

Return type:

string