Hi!
How can we include site-dependent coefficients for 2d lattices, using a square lattice? The size of coupling seems to be (L-1), but i would like to have 2*(L-1)**2 different coefficients (so all different).
Thank you!!
Search found 2 matches
- 28 Feb 2024, 11:26
- Forum: HowTos and FAQ for TeNPy
- Topic: Different coupling terms on different sites
- Replies: 7
- Views: 52811
- 27 Feb 2024, 12:09
- Forum: Implementations
- Topic: fully connected model
- Replies: 1
- Views: 36377
fully connected model
Hi all!, I am trying to implement a fully connected model \sum_{i<j} J_{ij}(X_iX_j + Y_iY_j + Z_iZ_j) . Currently, i am doing something like this lat = Chain(L, spin_site, bc=bc, bc_MPS = bc_MPS) CouplingModel.__init__(self, lat) for i in range(L-1): for j in range(i+1,L): dx = np.array([[1]]) self....