You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The square_lattice in ITensors.jl is more geared towards a 1-dimensional "snake" pattern through a 2-dimensional lattice. The Square lattice type is more directly suited for 2 dimensions (for example, there are iterators over bonds/edges which are of the form ((2, 2), (2, 3)), so actual 2-dimensional coordinates for the sites).
The localham_term function would need to be adapted to those new types of bonds.
Struct at:
ITensorNetworkAD.jl/src/ITensorNetworks/tensor_networks.jl
Lines 33 to 40 in c178a13
The square_lattice in ITensors.jl is more geared towards a 1-dimensional "snake" pattern through a 2-dimensional lattice. The Square lattice type is more directly suited for 2 dimensions (for example, there are iterators over bonds/edges which are of the form ((2, 2), (2, 3)), so actual 2-dimensional coordinates for the sites).
The localham_term function would need to be adapted to those new types of bonds.