# spirit_tutorial **Repository Path**: wang-tx_1_0/spirit_tutorial ## Basic Information - **Project Name**: spirit_tutorial - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-25 - **Last Updated**: 2026-01-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 1.1 Classical Heisenberg Hamiltonian - A fundamental model in magnetism used to describe the energy of interacting spins. - The model treats each magnetic moment as a classical vector. $$ \begin{aligned} \mathcal{H} = & -\sum_{\langle i,j \rangle} \Bigl( J_{ij}\,\mathbf{S}_i\cdot\mathbf{S}_j + \mathbf{D}_{ij}\cdot (\mathbf{S}_i\times\mathbf{S}_j) \Bigr)\\ &-\sum_{i} K (\mathbf{S}_i\cdot \mathbf{n})^2 -\sum_i \mu_i\, \mathbf{B}\cdot\mathbf{S}_i\\ &+ \frac{\mu_0}{4\pi} \sum_{i 0$ favors ferromagnetic alignment, while $J_{ij} < 0$ favors antiferromagnetic alignment. - $\mathbf{S}_i$ and $\mathbf{S}_j$: Spin vectors (unit vectors) at sites $i$ and $j$ - Dzyaloshinskii–Moriya Interaction (DMI): $-\sum_{\langle i,j \rangle} \mathbf{D}_{ij}\cdot (\mathbf{S}_i\times\mathbf{S}_j)$ - $\mathbf{D}_{ij}$: DMI vector for the spin pair at sites $i$ and $j$. - Favors chiral (twisted or non-collinear) spin configurations. - Anisotropy: $-\sum_{i} K\, (\mathbf{S}_i\cdot \mathbf{n})^2$ - $K$: Anisotropy constant. - $\mathbf{n}$: Preferred (easy) axis direction. - Encourages spins to align along the direction of $\mathbf{n}$. - Zeeman Term: $-\sum_i \mu_i\, \mathbf{B}\cdot\mathbf{S}_i$ - $\mu_i$: Magnetic moment at site $i$. - $\mathbf{B}$: External magnetic field. - Represents the interaction of the spins with an applied magnetic field. - Dipole–Dipole Interaction (DDI): $\frac{\mu_0}{4\pi}\sum_{i