hamiltonians.TFI¶
-
class
zyglrox.core.hamiltonians.
TFI
(topology: Union[dict, str], g: float = 1.0, **kwargs)¶ The transverse field Ising-model is given by the Hamiltonian
\[H = -\sum_{<i,j>}^N \sigma_{i}^{z}\sigma_{j}^{z} - g \sum_{i}^N \sigma_{i}^{x}\]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
- g (float):
order parameter for the transverse field Ising-model
- **kwargs:
Additional arguments.
- Returns (inplace):
None