Skip to content

Commit

Permalink
Merge branch 'main' of github.com:issp-center-dev/H-wave
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yoshimi committed Aug 20, 2024
2 parents 3d09339 + 921f79e commit 0258c41
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 4 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ This software was developed with the support of
"Project for Advancement of Software Usability in Materials Science"
of The Institute for Solid State Physics, The University of Tokyo.

We would appreciate it if you cite the following article in your research with H-wave:
H-wave -- A Python package for the Hartree-Fock approximation and the random phase approximation,
Tatsumi Aoyama, Kazuyoshi Yoshimi, Kota Ido, Yuichi Motoyama, Taiki Kawamura, Takahiro Misawa, Takeo Kato, and Akito Kobayashi,
[Computer Physics Communications, 298, 109087 (2024)](https://doi.org/10.1016/j.cpc.2024.109087).

## Official page

- [H-wave project site](https://www.pasums.issp.u-tokyo.ac.jp/h-wave/en)
Expand Down
2 changes: 1 addition & 1 deletion docs/en/source/howtouse/ho-index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Basic usage

.. code-block:: bash
$ pip install h-wave
$ pip install hwave
- From source:

Expand Down
8 changes: 8 additions & 0 deletions docs/en/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ License

The distribution of the program package and the source codes for H-wave follow GNU General Public License version 3 (GPL v3) or later.

We hope that you would cite the following paper on H-wave or refer to the DOI when you publish your research using H-wave:

H-wave -- A Python package for the Hartree-Fock approximation and the random phase approximation,
Tatsumi Aoyama, Kazuyoshi Yoshimi, Kota Ido, Yuichi Motoyama, Taiki Kawamura, Takahiro Misawa, Takeo Kato, and Akito Kobayashi,
Computer Physics Communications, 298, 109087 (2024)

`DOI:10.1016/j.cpc.2024.109087 <https://doi.org/10.1016/j.cpc.2024.109087>`_.

Contributors
----------------------------------------------------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,6 @@ Usage rules

- The translation vectors need to be enclosed within the CellShape. If the range of ``r_x``, ``r_y``, or ``r_z`` exceeds the extent of ``x``, ``y``, or ``z`` dimension of CellShape, the program terminates with an error.

- When ``mode.enable_spin_orbital`` is set to ``true``, the orbital indices of Transfer term are interpreted as the extended orbital indices including spin degree of freedom that ranges from 1 to :math:`2 N_\text{orbital}`. Otherwise, only the entries with the orbital indices from 1 to :math:`N_\text{orbital}` are taken into account.
- When ``mode.enable_spin_orbital`` is set to ``true``, the orbital indices of Transfer term are interpreted as the extended orbital indices including spin degree of freedom that ranges from 1 to :math:`2 N_\text{orbital}`, in which the indices :math:`1 \dots N_\text{orbital}` correspond to spin-up, and the indices :math:`N_\text{orbital}+1 \dots 2N_\text{orbital}` correspond to spin-down. Otherwise, only the entries with the orbital indices from 1 to :math:`N_\text{orbital}` are taken into account.

.. raw:: latex
9 changes: 9 additions & 0 deletions docs/en/source/uhfk/filespecification/config/index_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ Parameters
**Description :**
If ``true``, include the Fock term in the Hamiltonian, otherwise, exclude it (Hartree approximation).

- ``enable_spin_orbital`` (default value is ``false``)

**Type :**
Boolean

**Description :**
This parameter specifies whether to allow spin-orbital interaction.
If it is set to true, the orbital indices in Transfer term are interpreted in the way that they include the orbital index :math:`\alpha` and the spin index :math:`s` by :math:`\alpha + N_\text{orb} \cdot s`.

``mode.param`` section
================================

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,8 @@ Usage rules

- The unspecified elements of the coefficient matrix are assumed to be zero.

- The translation vectors need to be enclosed within the CellShape. If the range of ``r_x``, ``r_y``, or ``r_z`` exceeds the extent of ``x``, ``y``, or ``z`` dimension of CellShape, the program terminates with an error.

- When ``mode.enable_spin_orbital`` is set to ``true``, the orbital indices of Transfer term are interpreted as the extended orbital indices including spin degree of freedom that ranges from 1 to :math:`2 N_\text{orbital}`, in which the indices :math:`1 \dots N_\text{orbital}` correspond to spin-up, and the indices :math:`N_\text{orbital}+1 \dots 2N_\text{orbital}` correspond to spin-down. Otherwise, only the entries with the orbital indices from 1 to :math:`N_\text{orbital}` are taken into account.

.. raw:: latex
2 changes: 1 addition & 1 deletion docs/ja/source/howtouse/ho-index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

.. code-block:: bash
$ pip install h-wave
$ pip install hwave
- ソースパッケージから

Expand Down
8 changes: 8 additions & 0 deletions docs/ja/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ H-waveは遍歴電子系を対象に非制限Hartree-Fock(UHF)近似計算およ
--------------
本ソフトウェアのプログラムパッケージおよびソースコード一式はGNU General Public License version 3 (GPL v3) に準じて配布されています。

H-wave を引用する際には、以下の H-wave に関する論文を引用またはDOIを記載してください。

H-wave -- A Python package for the Hartree-Fock approximation and the random phase approximation,
Tatsumi Aoyama, Kazuyoshi Yoshimi, Kota Ido, Yuichi Motoyama, Taiki Kawamura, Takahiro Misawa, Takeo Kato, and Akito Kobayashi,
Computer Physics Communications, 298, 109087 (2024)

`DOI:10.1016/j.cpc.2024.109087 <https://doi.org/10.1016/j.cpc.2024.109087>`_.

開発貢献者
--------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
- 並進ベクトルは全て ``CellShape`` 内に収まるとします。
``r_x``, ``r_y``, ``r_z`` の範囲が ``CellShape`` のx,y,z軸のサイズを超える場合はエラーで終了します。

- ``mode.enable_spin_orbital`` が ``true`` の場合、Transfer項の軌道のインデックスはスピン自由度を含む一般化軌道インデックスと読み替え、1〜 :math:`2 N_\text{orbital}` の値をとります。 ``mode.enable_spin_orbital`` が ``false`` の場合は、インデックスの範囲が 1〜 :math:`N_\text{orbital}` の行のみ考慮します。
- ``mode.enable_spin_orbital`` が ``true`` の場合、Transfer項の軌道のインデックスはスピン自由度を含む一般化軌道インデックスと読み替え、1〜 :math:`2 N_\text{orbital}` の値をとります。1〜 :math:`N_\text{orbital}` が spin up、:math:`N_\text{orbital}+1` 〜 :math:`2 N_\text{orbital}` が spin down に対応します。 ``mode.enable_spin_orbital`` が ``false`` の場合は、インデックスの範囲が 1〜 :math:`N_\text{orbital}` の行のみ考慮します。


.. raw:: latex
7 changes: 7 additions & 0 deletions docs/ja/source/uhfk/filespecification/config/index_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ TOML形式

**説明 :** ``true`` の場合にはFock項を考慮し、 ``false`` の場合にはHartree項のみ取り扱います。

- ``enable_spin_orbital``

**形式 :** bool型 (デフォルトは false)

**説明 :** スピン軌道相互作用を有効にします。Transfer項の軌道のインデックスはスピン自由度を含む形に解釈されます。インデックスの対応は、軌道 :math:`\alpha` とスピン :math:`s` に対して :math:`\alpha + N_\text{orb} \cdot s` となります。


``mode.param`` セクション
================================

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,6 @@
- 並進ベクトルは全て ``CellShape`` 内に収まるとします。
``r_x``, ``r_y``, ``r_z`` の範囲が ``CellShape`` のx,y,z軸のサイズを超える場合はエラーで終了します。

- ``mode.enable_spin_orbital`` が ``true`` の場合、Transfer項の軌道のインデックスはスピン自由度を含む一般化軌道インデックスと読み替え、1〜 :math:`2 N_\text{orbital}` の値をとります。1〜 :math:`N_\text{orbital}` が spin up、:math:`N_\text{orbital}+1` 〜 :math:`2 N_\text{orbital}` が spin down に対応します。 ``mode.enable_spin_orbital`` が ``false`` の場合は、インデックスの範囲が 1〜 :math:`N_\text{orbital}` の行のみ考慮します。

.. raw:: latex

0 comments on commit 0258c41

Please sign in to comment.