colder.models package
lattice tool module
- class colder.models.lattice.lattice[source]
Bases:
objectMother class for any lattice class. Defines the core methods to be inherited by the other classes.
- class colder.models.lattice.chain(nspin: int, periodic=False)[source]
Bases:
lattice1D chain lattice model.
- single_site
single site indices
- nearest_neighbor
nearest neighbor interactions
- next_nearest_neighbor
next nearest neighbor interactions
- annni
return both nearest and next nearest neighbor indices
- full_connected
pairwise interactions of a fully connected model
- three_neighbor
build interactions with 3 adjacent spins
- class colder.models.lattice.square(shape: tuple)[source]
Bases:
lattice2D square lattice model.
- single_site
single site indices
- nearest_neighbor
nearest neighbor interactions
- next_nearest_neighbor
next nearest neighbor interactions
- annni
return both nearest and next nearest neighbor indices
- full_connected
pairwise interactions of a fully connected model