Skip to content

Commit 8606c7b

Browse files
Update ABACUS_15_04_2025.md (#246)
1 parent 90894e8 commit 8606c7b

File tree

1 file changed

+53
-43
lines changed

1 file changed

+53
-43
lines changed

source/_posts/ABACUS_15_04_2025.md

Lines changed: 53 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ date : 2025-04-15
44
categories:
55
- ABACUS
66
---
7+
78
## Abstract
89

910
Recently, Zhao Haotian, a PhD candidate at the University of Science and Technology of China, and Professor He Lixin proposed and implemented a Hybrid Gauge Real-Time Time-Dependent Density Functional Theory (Hybrid gauge rt-TDDFT) applicable to atomic orbital basis sets in the domestic open-source density functional theory software ABACUS. Based on the traditional velocity gauge, this method introduces a time-varying phase dependent on the vector potential, effectively overcoming the systematic errors caused by the incompleteness of the local basis set and providing consistent and reliable simulation results in both periodic and non-periodic systems. At the same time, this method significantly improves the calculation efficiency in periodic systems, offering a new solution that combines accuracy and efficiency for first-principles real-time dynamics simulations under the action of an electric field.
@@ -18,71 +19,79 @@ Real-time time-dependent density functional theory (rt-TDDFT) is an important th
1819

1920
In rt-TDDFT, we can simulate the dynamic response of a system under external excitations such as an electric field by adding a time-dependent external field term to the Hamiltonian. The most commonly used is the length gauge, and its Hamiltonian form is relatively simple, containing only an additional scalar potential term:
2021

21-
```math
22-
H = H_0 + E(t) \cdot r
23-
```
24-
where $`H_0`$is the Hamiltonian of the system itself, and $`E(t)\cdot r`$ describes the interaction between the electric field and electrons. The corresponding time-dependent Kohn-Sham equation is:
22+
<center>
23+
<img src="https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/formula1.webp">
24+
</center>
25+
26+
where H<sub>0</sub> is the Hamiltonian of the system itself, and E(t) &sdot; r describes the interaction between the electric field and electrons. The corresponding time-dependent Kohn-Sham equation is:
27+
28+
<center>
29+
<img src="https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/formula2.webp">
30+
</center>
31+
32+
where V<sub>KS</sub> represents the Kohn-Sham effective potential, including electron-ion interaction, Hartree potential, exchange-correlation potential, etc. The length gauge is applicable to non-periodic systems. However, in periodic systems, this form destroys the periodic structure of the system, so it cannot be directly applied to calculations of crystal materials and other systems with periodic potential fields.To solve this problem, people usually use the method of gauge transformation to convert the Hamiltonian into the velocity gauge form. The electric field is derived from the time-dependent vector potential A(t):
2533

26-
```math
27-
i\frac{\partial}{\partial t}\psi_{i}(r,t) = \left[-\frac{1}{2}\nabla^{2} + V_{KS}[\rho](r,t) + E(t) \cdot r\right]\psi_{i}(r,t)
28-
```
29-
where $`V_{KS}`$represents the Kohn-Sham effective potential, including electron-ion interaction, Hartree potential, exchange-correlation potential, etc. The length gauge is applicable to non-periodic systems. However, in periodic systems, this form destroys the periodic structure of the system, so it cannot be directly applied to calculations of crystal materials and other systems with periodic potential fields.To solve this problem, people usually use the method of gauge transformation to convert the Hamiltonian into the velocity gauge form. The electric field is derived from the time-dependent vector potential $`A(t)`$:
34+
<center>
35+
<img src="https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/formula3.webp">
36+
</center>
3037

31-
```math
32-
E(t)=-\frac{dA(t)}{dt}
33-
```
3438
The Hamiltonian in the velocity gauge is:
35-
```math
36-
\hat{H} = \frac{1}{2} (p + A(t))^{2}+V_{l}^{ps}+V_{Hxc}+\tilde{V}_{nl}^{ps}
37-
```
39+
40+
<center>
41+
<img src="https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/formula4.webp">
42+
</center>
43+
3844
Its equation of motion is:
3945

40-
```math
41-
\begin{equation} i\frac{\partial}{\partial t} \tilde{\psi}_i(\boldsymbol{r}, t) = \tilde{H} \tilde{\psi}_i(\boldsymbol{r}, t) \end{equation}
42-
```
46+
<center>
47+
<img src="https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/formula5.webp">
48+
</center>
49+
4350

4451
Theoretically, the length gauge and the velocity gauge are essentially equivalent, and they can be transformed into each other through the following gauge transformation:
4552

46-
```math
47-
\tilde{\psi}(\boldsymbol{r},t)=e^{-iA(\boldsymbol{t})\cdot\boldsymbol{r}}\psi_i(\boldsymbol{r},t)
48-
```
53+
<center>
54+
<img src="https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/formula6.png">
55+
</center>
56+
4957

50-
```math
51-
\tilde{H}=e^{-iA(\boldsymbol{t})\cdot\boldsymbol{r}}He^{iA\cdot\boldsymbol{r}}
52-
```
5358

5459
However, in actual calculations, because we use finite basis sets (such as atomic orbitals), this phase relationship cannot be perfectly expressed, resulting in differences in calculation results under the two gauges. For example, in the atomic orbital basis set, the wave functions of both the length gauge and the velocity gauge are written in the form of a linear combination of atomic orbitals (LCAO):
5560

56-
```math
57-
\begin{align} \psi_n(\boldsymbol{r},t) &= \sum_{\mu} c_{n\mu}(t)\phi_{\mu}(\boldsymbol{r}) \\ \tilde{\psi}_n(\boldsymbol{r},t) &= \sum_{\mu} \tilde{c}_{n\mu}(t)\phi_{\mu}(\boldsymbol{r}) \end{align}
58-
```
61+
<center>
62+
<img src="https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/formula7.png">
63+
</center>
64+
65+
5966

6067
Obviously, the wave function expression in the velocity gauge ignores the phase change inside the atomic orbitals caused by the vector potential, thus introducing systematic errors in the simulation, especially in the calculation of key physical quantities such as current and energy. Although the errors can be reduced by increasing the basis set, this will significantly increase the computational cost and severely limit the application efficiency of rt-TDDFT in periodic systems.
6168
To compensate for the phase effect introduced by the gauge transformation, we introduce a phase factor dependent on the vector potential in front of each atomic orbital:
6269

63-
```math
64-
\bar{\phi}_{\mu}(\boldsymbol{r}-\boldsymbol{\tau}_{\mu}-\boldsymbol{R}_{i},t)=e^{-i\boldsymbol{A}(t)\cdot\Delta\boldsymbol{r}_{\mu i}}\phi_{\mu}(\boldsymbol{r}-\boldsymbol{\tau}_{\mu}-\boldsymbol{R}_{i})
65-
```
70+
<center>
71+
<img src="https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/formula8.png">
72+
</center>
6673

67-
where $`\boldsymbol{\tau}_{\mu}`$is the center position of the atomic orbital. The form of the wave function is:
74+
where <strong>&tau;</strong><sub>&mu;</sub> is the center position of the atomic orbital. The form of the wave function is:
6875

69-
```math
70-
\begin{equation} \bar{\psi}_n(\boldsymbol{r},t)=\sum_{\mu} \bar{c}_{n\mu}(t)\bar{\phi}_{\mu}(\boldsymbol{r}) \end{equation}
71-
```
76+
<center>
77+
<img src="https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/formula9.png">
78+
</center>
7279

7380
Under this phase correction, the Hamiltonian matrix and the overlap matrix of the orbitals can finally be obtained as:
7481

75-
```math
76-
\begin{align} \tilde{H}_{\mu\nu}(\boldsymbol{R}_{i}) &= e^{-i\boldsymbol{A}(t)\cdot\boldsymbol{\tau}_{\mu 0,\nu i}}\langle\phi_{\mu 0}|H_{0}+\boldsymbol{E}(t)\cdot\Delta\boldsymbol{r}_{\nu i}|\phi_{\nu i}\rangle\\ \tilde{S}_{\mu\nu}(\boldsymbol{R}_{i}) &= e^{-i\boldsymbol{A}(t)\cdot\boldsymbol{\tau}_{\mu 0,\nu i}}S_{\mu\nu}(\boldsymbol{R}_{i}) \end{align}
77-
```
82+
<center>
83+
<img src="https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/formula10.png">
84+
</center>
85+
7886

7987
And the time-dependent Kohn-Sham equation is:
8088

81-
```math
82-
i\sum_{\nu}\left(\frac{\partial}{\partial t}\bar{c}_{n\nu k}(t)\right)\bar{S}_{\mu\nu}(k,t)=\sum_{\nu} \bar{c}_{n\nu k}(t)\bar{H}_{\mu\nu}(k,t)
83-
```
89+
<center>
90+
<img src="https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/formula11.png">
91+
</center>
8492

85-
The above transformation can be regarded as a gauge transformation. Since this gauge contains both the vector potential $`A(t)`$ and the scalar field $`E(t)`$, we call it the hybrid gauge. The Hamiltonian form in the hybrid gauge is similar to that in the length gauge, but its external field term  $`\boldsymbol{E}(t)\cdot\Delta\boldsymbol{r}_{\nu i}`$remains periodic, avoiding the defect of the length gauge that violates Bloch's theorem in periodic systems while retaining its advantage of simple calculation. Compared with the velocity gauge, the hybrid gauge also has significant advantages in computational efficiency, and it is more efficient in dealing with non-local potentials. Other physical quantities, such as charge density and current density, can also be processed in a similar way. Since there is a strict gauge transformation relationship between the hybrid gauge and the length gauge, the calculation results of the two are theoretically completely equivalent.
93+
94+
The above transformation can be regarded as a gauge transformation. Since this gauge contains both the vector potential A(t) and the scalar field E(t), we call it the hybrid gauge. The Hamiltonian form in the hybrid gauge is similar to that in the length gauge, but its external field term  <strong>E</strong>(t) &sdot; &Delta;<strong>r</strong><sub>&nu;i</sub> remains periodic, avoiding the defect of the length gauge that violates Bloch's theorem in periodic systems while retaining its advantage of simple calculation. Compared with the velocity gauge, the hybrid gauge also has significant advantages in computational efficiency, and it is more efficient in dealing with non-local potentials. Other physical quantities, such as charge density and current density, can also be processed in a similar way. Since there is a strict gauge transformation relationship between the hybrid gauge and the length gauge, the calculation results of the two are theoretically completely equivalent.
8695

8796
## Results
8897

@@ -95,20 +104,21 @@ The above transformation can be regarded as a gauge transformation. Since this g
95104
<img src="https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/p2.webp">
96105
</div>
97106

98-
For non-periodic systems, all three gauges can be applied. The figure above shows the response current of the $`H_{2}CO_{3}`$ molecule under Gaussian pulse excitation and its corresponding absorption spectrum. It can be seen that the results given by the length gauge and the hybrid gauge are completely consistent, verifying their theoretical equivalence. In contrast, there is a significant deviation between the response current calculated by the velocity gauge and those of the length gauge and the hybrid gauge. In particular, its corresponding spectrum shows significant divergence behavior in the low - frequency region, reflecting the systematic errors introduced by the velocity gauge in the local basis set. Although this error can be alleviated by increasing the basis set size, the resulting computational cost also increases significantly. Therefore, the authors proposed an empirical correction method that can significantly reduce the errors caused by the velocity gauge while maintaining a low computational cost.
107+
For non-periodic systems, all three gauges can be applied. The figure above shows the response current of the H<sub>2</sub>CO<sub>3</sub> molecule under Gaussian pulse excitation and its corresponding absorption spectrum. It can be seen that the results given by the length gauge and the hybrid gauge are completely consistent, verifying their theoretical equivalence. In contrast, there is a significant deviation between the response current calculated by the velocity gauge and those of the length gauge and the hybrid gauge. In particular, its corresponding spectrum shows significant divergence behavior in the low - frequency region, reflecting the systematic errors introduced by the velocity gauge in the local basis set. Although this error can be alleviated by increasing the basis set size, the resulting computational cost also increases significantly. Therefore, the authors proposed an empirical correction method that can significantly reduce the errors caused by the velocity gauge while maintaining a low computational cost.
99108

100109
### Periodic Systems
101110

102111
To test the applicability of the hybrid gauge in periodic systems and under strong fields, we also tested the linear and nonlinear response behaviors of the Si system.
112+
103113
<center><img src="https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/p3.webp"></center>
114+
104115
The figure above shows the response current of the Si unit cell under pulse excitation and its corresponding dielectric function. It can be seen from the results that the velocity gauge has obvious systematic errors, but through the correction scheme we proposed, these errors can be effectively alleviated. In contrast, the hybrid gauge can stably provide more accurate and physically consistent results.
105116

106117
<center>
107118
<img src = "https://dp-public.oss-cn-beijing.aliyuncs.com/community/Blog%20Files/ABACUS_15_04_2025/p4.webp">
108119
</center>
109120

110-
111-
The figure above shows the response current of the Si unit cell under strong Gaussian pulse excitation and its corresponding high - order harmonic spectrum. As the maximum field strength increases from $`10^{10},W/cm^{2}`$ to $`10^{13},W/cm^{2}`$, the current signal gradually deviates from the fundamental frequency of the external field, exhibiting an increasingly enhanced nonlinear response characteristic. Meanwhile, the 1st, 3rd, 5th, and 7th harmonic signals appear successively in the high - order harmonic spectrum.
121+
The figure above shows the response current of the Si unit cell under strong Gaussian pulse excitation and its corresponding high - order harmonic spectrum. As the maximum field strength increases from 10<sup>10</sup>, W/cm<sup>2</sup> to 10<sup>13</sup>, W/cm<sup>2</sup>, the current signal gradually deviates from the fundamental frequency of the external field, exhibiting an increasingly enhanced nonlinear response characteristic. Meanwhile, the 1st, 3rd, 5th, and 7th harmonic signals appear successively in the high - order harmonic spectrum.
112122
The above results indicate that the hybrid gauge is applicable in different physical scenarios, including non - periodic and periodic systems, as well as strong - field and weak - field perturbations. It demonstrates good versatility and accuracy. Compared with the velocity gauge, it shows higher computational accuracy and efficiency in periodic systems. It can achieve stable and reliable real - time dynamics simulations under small basis set conditions, providing solid theoretical and technical support for the subsequent development of rt - TDDFT methods based on NAO.
113123

114124
## Summary

0 commit comments

Comments
 (0)