Skip to content

Commit 9a78a4d

Browse files
authored
Merge pull request #13 from adrybakov/main
Add pages with the Hamiltonians
2 parents 445996b + b1d6d05 commit 9a78a4d

File tree

15 files changed

+641
-8
lines changed

15 files changed

+641
-8
lines changed

docs/source/index.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ Spin Hamiltonian format
1212
**Desired duration** Two-three months
1313
===================== ========================================
1414

15+
.. toctree::
16+
:hidden:
17+
18+
fdp/index
19+
spinham-zoo/index
20+
1521
Workflow
1622
========
1723

@@ -27,12 +33,6 @@ What is an FDP?
2733

2834
See :ref:`fdp-0` for the description of FDP concept and workflow.
2935

30-
.. toctree::
31-
:maxdepth: 1
32-
33-
fdp/index
34-
35-
3636
Finalization of the design stage
3737
================================
3838

@@ -42,5 +42,3 @@ notification to everyone) can be made by any member and if no new FDP appear
4242
after XX>7 days after the call, then the work will move to the implementation
4343
stage.
4444

45-
46-

docs/source/spinham-zoo/espins.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
.. _zoo_espins:
2+
3+
******
4+
EspinS
5+
******
6+
7+
========= ======================================================================
8+
========= ======================================================================
9+
Status Draft
10+
Links `DOI <https://doi.org/10.1016/j.commatsci.2021.110947>`_,
11+
`Github <https://github.com/nafiserb/ESpinS>`_
12+
Languages Fortran90, Python
13+
========= ======================================================================
14+
15+
Spin Hamiltonian
16+
================
17+
18+
.. math::
19+
20+
\mathcal{H}
21+
=&
22+
\underbrace{\sum_{i}\Delta_i\,(\hat{z}_i\cdot\mathbf{S}_i)^2}_{\text{single-ion term}}
23+
+
24+
\underbrace{\sum_{i}\mathbf{B}\cdot\mathbf{S}_i}_{\text{magnetic field}}
25+
-\\&-
26+
\underbrace{\frac{1}{2}\sum_{i,j}J_{ij}\,\mathbf{S}_i\cdot\mathbf{S}_j}_{\text{exchange term}}
27+
+
28+
\underbrace{\frac{1}{2}\sum_{i,j}\mathbf{D}_{ij}\cdot(\mathbf{S}_i\times\mathbf{S}_j)}_{\text{Dzyaloshinskii-Moriya term}}
29+
+\\&+
30+
\underbrace{\frac{1}{2}\sum_{i,j}B_{ij}\left(\mathbf{S}_i\cdot\mathbf{S}_j\right)^2}_{\text{bi-quadratic term}}
31+
32+
Convention
33+
==========
34+
35+
36+
================= ===
37+
================= ===
38+
Spin normalized no
39+
Multiple counting yes
40+
================= ===

docs/source/spinham-zoo/grogu.rst

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
.. _zoo_grogu:
2+
3+
*****
4+
GROGU
5+
*****
6+
7+
========= ======================================================================
8+
========= ======================================================================
9+
Status Draft
10+
Links `Docs <https://grogupy.readthedocs.io/en/stable/>`_,
11+
`DOI <https://doi.org/10.1103/PhysRevB.108.214418>`_,
12+
`Zenodo <https://zenodo.org/records/17459345>`_
13+
Languages Python
14+
========= ======================================================================
15+
16+
Spin Hamiltonian
17+
================
18+
19+
.. math::
20+
21+
\mathcal{H}
22+
=
23+
\frac{1}{2}
24+
\sum_{i\neq j}
25+
\boldsymbol{e}_{i}
26+
\cdot
27+
\boldsymbol{J}_{ij}
28+
\cdot
29+
\boldsymbol{e}_{j}
30+
+
31+
\sum_{i}
32+
\boldsymbol{e}_{i}
33+
\cdot
34+
\boldsymbol{K}_{i}
35+
\cdot
36+
\boldsymbol{e}_{i},
37+
38+
where :math:`\boldsymbol{e}_{i} = 1 / (\hbar S_i) \boldsymbol{S}_{i}` is a unit
39+
vector of the angular momentum vector and :math:`\boldsymbol{J}_{ij}`, and
40+
:math:`\boldsymbol{K}_{i}` are the exchange and on-site anisotropy tensors
41+
respectively.
42+
43+
Convention
44+
==========
45+
46+
47+
================= ===
48+
================= ===
49+
Spin normalized yes
50+
Multiple counting yes
51+
================= ===

docs/source/spinham-zoo/index.rst

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
.. _zoo:
2+
3+
*******************
4+
Zoo of Hamiltonians
5+
*******************
6+
7+
The status of each page is either "Verified" or "Draft". "Verified" means that
8+
the page content have been verified by the developer of the respective tool.
9+
10+
Convention of the spin Hamiltonian is defined by their form (constants before
11+
the sums) and two properties:
12+
13+
* Whether spin vectors are normalised or not.
14+
15+
* ``yes``: :math:`\vert \mathbf{S}_i \vert = 1`
16+
* ``no``: :math:`\vert \mathbf{S}_i \vert = S_i`
17+
18+
* Whether multiple counting is implied in the sums or not.
19+
20+
* ``yes``: both :math:`i \rightarrow j` and :math:`j \rightarrow i` are
21+
included.
22+
* ``no``: only one direction is included.
23+
24+
For multiple counting the example is given for 2-sites terms of the Hamiltonian,
25+
the same concept is generalizable for terms that involve more than 2 sites.
26+
27+
28+
.. toctree::
29+
:maxdepth: 1
30+
31+
espins
32+
grogu
33+
jukkr
34+
magnopy
35+
magpie
36+
mcphase
37+
questaal
38+
spinw
39+
spirit
40+
sunny
41+
tb2j
42+
uppasd
43+
vampire
44+

docs/source/spinham-zoo/jukkr.rst

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
.. _zoo_juKKR:
2+
3+
*****
4+
juKKR
5+
*****
6+
7+
========= ======================================================================
8+
========= ======================================================================
9+
Status Draft
10+
Links `Web <https://jukkr.fz-juelich.de>`_
11+
Languages Fortran
12+
========= ======================================================================
13+
14+
Spin Hamiltonian
15+
================
16+
17+
.. math::
18+
19+
\mathcal{H}
20+
=
21+
\sum_{i}
22+
\mathbf{S}_{i}
23+
\cdot
24+
\boldsymbol{A}_{i}
25+
\cdot
26+
\mathbf{S}_{i}
27+
+
28+
(?)
29+
\sum_{i,j}
30+
\mathbf{S}_{i}
31+
\cdot
32+
\boldsymbol{J}_{ij}
33+
\cdot
34+
\mathbf{S}_{j},
35+
36+
where first term is a second order onsite magnetic anisotropy and the second
37+
term is the pairwise interaction between spins, that includes Heisenberg J,
38+
Dzyaloshinskii-Moriya vector and 5 remaining symmetric anisotropic components.
39+
40+
Convention
41+
==========
42+
43+
================= ===
44+
================= ===
45+
Spin normalized ?
46+
Multiple counting ?
47+
================= ===
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
.. _zoo_magnopy:
2+
3+
*******
4+
Magnopy
5+
*******
6+
7+
========= ======================================================================
8+
========= ======================================================================
9+
Status Verified
10+
Links `Docs <https://magnopy.org>`_,
11+
`Github <https://github.com/magnopy>`_
12+
Languages Python
13+
========= ======================================================================
14+
15+
Spin Hamiltonian
16+
================
17+
18+
.. math::
19+
20+
\mathcal{H}
21+
=
22+
\sum_{n=1}^{n=4}
23+
C_n
24+
\sum_{\substack{\mu_1,...,\mu_n,\\i_1,...,i_n}}
25+
J_{\mu_1,...,\mu_n}^{i_1,...,i_n}
26+
\prod_{m=1}^{n}
27+
S_{\mu_m}^{i_m}
28+
29+
where real constants :math:`C_n` are arbitrary and used to support any
30+
convention.
31+
32+
Convention
33+
==========
34+
35+
36+
================= ===
37+
================= ===
38+
Spin normalized any
39+
Multiple counting any
40+
================= ===

docs/source/spinham-zoo/magpie.rst

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
.. _zoo_magpie:
2+
3+
******
4+
Magpie
5+
******
6+
7+
========= ======================================================================
8+
========= ======================================================================
9+
Status Draft
10+
Links `Github <https://github.com/ILLGrenoble/magpie>`_
11+
Languages C++20
12+
========= ======================================================================
13+
14+
Spin Hamiltonian
15+
================
16+
17+
.. math::
18+
19+
\mathcal{H}
20+
=
21+
(?)
22+
\sum_i
23+
\mathbf{S}_i
24+
\cdot
25+
\mathbf{A}_i
26+
\cdot
27+
\mathbf{S}_i
28+
-
29+
\sum_{i \neq j}
30+
J_{ij}
31+
\,
32+
\mathbf{S}_i
33+
\cdot
34+
\mathbf{S}_j
35+
+(?)
36+
\sum_{i \neq j}
37+
\mathbf{D}_{ij}
38+
\cdot
39+
\left(
40+
\mathbf{S}_i
41+
\times
42+
\mathbf{S}_j
43+
\right)
44+
45+
where :math:`J_{ij}` is a Heisenberg interaction, :math:`\mathbf{D}_{ij}` is a
46+
Dzyaloshinskii-Moryia interactions and :math:`\mathbf{A}_i` is a single-ion
47+
anisotropy.
48+
49+
Convention
50+
==========
51+
52+
================= ===
53+
================= ===
54+
Spin normalized ?
55+
Multiple counting ?
56+
================= ===
57+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.. _zoo_mcphase:
2+
3+
*******
4+
McPhase
5+
*******
6+
7+
========= ======================================================================
8+
========= ======================================================================
9+
Status Draft
10+
Links `Web <https://mcphase.github.io/webpage/>`_
11+
Languages (?)
12+
========= ======================================================================
13+
14+
Spin Hamiltonian
15+
================
16+
17+
TODO
18+
19+
Convention
20+
==========
21+
22+
23+
================= ===
24+
================= ===
25+
Spin normalized ?
26+
Multiple counting ?
27+
================= ===
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
.. _zoo_questaal:
2+
3+
********
4+
QUESTAAL
5+
********
6+
7+
========= ======================================================================
8+
========= ======================================================================
9+
Status Draft
10+
Links `DOI <https://doi.org/10.1016/j.cpc.2019.107065>`_
11+
Languages Fortran
12+
========= ======================================================================
13+
14+
Spin Hamiltonian
15+
================
16+
17+
.. math::
18+
19+
\mathcal{H}
20+
=
21+
-\sum_{ij}
22+
J_{ij}
23+
\,
24+
\mathbf{e}_i
25+
\cdot
26+
\mathbf{e}_j
27+
28+
Convention
29+
==========
30+
31+
================= ===
32+
================= ===
33+
Spin normalized yes
34+
Multiple counting yes
35+
================= ===
36+

0 commit comments

Comments
 (0)