hamiltonians.J1J2¶
-
class
zyglrox.core.hamiltonians.
J1J2
(topology, J1, J2, **kwargs)¶ The \(J_1-J_2\) model is given by the Hamiltonian
\[H = J_1 \sum_{<i,j>}^N \vec{\sigma}_i \cdot \vec{\sigma}_j + J_2 \sum_{<<i,j>>}^N \vec{\sigma}_i \cdot \vec{\sigma}_j\]with \(N\) the number of spins. This function takes kwargs
L
andM
that can be used to specify the size of the standard topologies [‘line’, ‘rect_lattice’].- Args:
- L (int):
An integer defining the number of vertices.
- J1 (float):
The order parameter controlling the strength of the nearest neighbour interactions.
- J2 (float):
The order parameter controlling the strength of the nearest-nearest neighbour interactions.
- **kwargs:
Additional arguments.
- Returns (inplace):
None