1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-07-18 08:53:47 +02:00

Improved doc. #41

This commit is contained in:
v1j4y 2021-10-06 10:38:55 +02:00
parent d416c5dd77
commit 86ae704363

View File

@ -8,6 +8,16 @@ to calculate the local Energy (\[E_L\]).
ψ(x) = det|ϕ₁(x₁)...ϕᵢ(yᵢ)...ϕₙ(xₙ)|
The above slater-matrix is also required and is denoted by Dᵢⱼ(x) such that:
ψ(x) = det|Dᵢⱼ(x)|
We also require the inverse of the slater-matrix which is denoted by D⁻¹ᵢⱼ(x).
Using this notation, the acceptance probability which is proportional to
ψ(y)/ψ(x) can be calculated as follows:
ψ(yᵢ)/ψ(xᵢ) = ∑ⱼDᵢⱼ(y)D⁻¹ⱼᵢ(x)
Concerning the gradient and laplacian, in fact what is actually
calculated is the ratio of the gradient/laplacian and the determinant
of the slater matrix:
@ -97,17 +107,17 @@ int main() {
Computed data:
|-------------------------+---------------------------------------------+----------------------------------------------------------------------------------------|
| ~det_matrix_list~ | ~[walk_num][det_num][fermi_num][fermi_num]~ | The slater matrix for each determinant of each walker. |
| ~det_matrix_list_date~ | ~int64_t~ | The slater matrix for each determinant of each walker. |
|----------------------------+------------------------------------------------+----------------------------------------------------------------------------------------|
| ~det_value_list~ | ~[walk_num][det_num]~ | The slater matrix for each determinant of each walker. |
| ~det_value_list_date~ | ~int64_t~ | The slater matrix for each determinant of each walker. |
| ~det_adj_matrix_list~ | ~[walk_num][det_num][fermi_num][fermi_num]~ | Adjoint of the slater matrix for each determinant of each walker. |
| ~det_adj_matrix_list_date~ | ~int64_t~ | Adjoint of the slater matrix for each determinant of each walker. |
|-------------------------+---------------------------------------------+----------------------------------------------------------------------------------------|
| ~det_vgl~ | ~[5][walk_num][det_num]~ | Value, gradients, Laplacian of the MOs at electron positions |
|----------------------------+------------------------------------------------+----------------------------------------------------------------------------------------|
| ~det_vgl~ | ~[5][walk_num][det_num][fermi_num][fermi_num]~ | Value, gradients, Laplacian of Dᵢⱼ(x) at electron positions |
| ~det_vgl_date~ | ~int64_t~ | Late modification date of Value, gradients, Laplacian of the MOs at electron positions |
| ~det_inv_matrix_list~ | ~[walk_num][det_num][fermi_num][fermi_num]~ | Inverse of the slater matrix for each determinant of each walker. |
| ~det_inv_matrix_list_date~ | ~int64_t~ | Inverse of the slater matrix for each determinant of each walker. |
|-------------------------+---------------------------------------------+----------------------------------------------------------------------------------------|
|----------------------------+------------------------------------------------+----------------------------------------------------------------------------------------|
** Data structure