pygsti.objects.GateSet.set_basis

GateSet.set_basis(basisName, basisDimension)

Sets the basis name and dimension. See get_basis_name and gate_basis_dimension for details on these quantities.

Parameters:
  • basisName (str) – The name abbreviation for the basis. Typically in {“pp”,”gm”,”std”}
  • basisDimension (int or list) – The dimension of the density matrix space this basis spans, or a list specifying the dimensions of terms in a direct-sum decomposition of the density matrix space.