references

Provides refrences states to be used by the lattice

Functions

reference_to_holes(ref, basis)

given a reference state, and a lattice basis, this function returns the corresponding holes as a tuple

references.reference_to_holes(ref, basis)

given a reference state, and a lattice basis, this function returns the corresponding holes as a tuple

Parameters:
  • ref (list[list[int,int,int,int,int]]) – reference state as list of states [lx, ly, lz, tz, sz] where the first three integers lx, ly, lzx are the lattice site, and the last two integers are the isospin and spin (with values 0, 1 for -1/2, 1/2)

  • basis (list[list[int,int,int,int,int]]) – list of basis states in the lattice

Returns:

tuple of A integers that are the indices of the hole states

Return type:

tuple(int,int,…)