Search found 2 matches

by shelder
17 Nov 2020, 23:22
Forum: HowTos and FAQ for TeNPy
Topic: Lattice with different spins
Replies: 3
Views: 2559

Re: Lattice with different spins

Hello Johannes, Thanks very much for your reply. I am now using IrregularLattice, and I am able to add and remove sites from the regular lattice at a chosen location. However, I'm still unsure how to specify the spin value of the added site. In my code below, I start with a regular honeycomb lattice...
by shelder
04 Nov 2020, 00:06
Forum: HowTos and FAQ for TeNPy
Topic: Lattice with different spins
Replies: 3
Views: 2559

Lattice with different spins

Hello, I am interested in implementing a model which has all sites on the lattice with S=1/2, except for one which has S=1. Or, if possible, I would like to specify which sites have S=1/2, and which have S=1 (possibly more than one). Is there any way to do this in TeNPy? I am currently using Couplin...