hamiltonians.HeisenbergXXX¶
-
class
zyglrox.core.hamiltonians.
HeisenbergXXX
(topology: Union[dict, str], **kwargs)¶ The XXX Heisenberg model is given by the Hamiltonian
\[H = \sum_{<i,j>}^N \sigma_{i}^{x}\sigma_{j}^{x} + \sigma_{i}^{y}\sigma_{j}^{y} + \sigma_{i}^{z}\sigma_{j}^{z}\]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:
- topology (dict, str):
A dict with nodes as keys and a list of edges as values or a string defining a standard topology
- **kwargs:
Additional arguments.
- Returns (inplace):
None