Second-order self-consistent eld algorithms from classical to quantum nuclei

2025-05-03 0 0 1.04MB 40 页 10玖币
侵权投诉
Second-order self-consistent field
algorithms: from classical to quantum
nuclei
Robin Feldmann, Alberto Baiardi, and Markus Reiher
ETH Z¨urich, Laboratorium f¨ur Physikalische Chemie,
Vladimir-Prelog-Weg 2, 8093 Z¨urich, Switzerland
December 7, 2022
Abstract
This work presents a general framework for deriving exact and approx-
imate Newton self-consistent field (SCF) orbital optimization algorithms
by leveraging concepts borrowed from differential geometry. Within this
framework, we extend the augmented Roothaan–Hall (ARH) algorithm
to unrestricted electronic and nuclear-electronic calculations. We demon-
strate that ARH yields an excellent compromise between stability and
computational cost for SCF problems that are hard to converge with con-
ventional first-order optimization strategies. In the electronic case, we
show that ARH overcomes the slow convergence of orbitals in strongly-
correlated molecules with the example of several iron-sulfur clusters. For
nuclear-electronic calculations, ARH significantly enhances the conver-
gence already for small molecules, as demonstrated for a series of proto-
nated water clusters.
Corresponding author; e-mail: markus.reiher@phys.chem.ethz.ch
1
arXiv:2210.10170v2 [physics.chem-ph] 11 Jan 2023
1 Introduction
Processes that are strongly influenced by nuclear quantum effects are among
the most daunting targets of quantum chemical simulations. One often invokes
the Born–Oppenheimer (BO) approximation13to adiabatically separate the
electronic and the nuclear motion. This separation becomes inaccurate as soon
as the coupling between the electrons and nuclei is strong. This inaccuracy
can be cured by including non-adiabatic effects a posteriori, e.g., with pertur-
bation theory.4Alternatively, the full molecular Schr¨odinger equation can be
solved with so-called nuclear-electronic methods, treating nuclei and electrons
on the same footing. In this way, non-adiabatic and nuclear quantum effects
are automatically included.
Explicitly correlated methods yield the most accurate solution of the full
molecular Schr¨odinger equation. They are, however, limited to few-particle
molecules due to the factorial scaling of their computational cost with system
size.58A cost-effective alternative is offered by orbital-based nuclear-electronic
approaches.914 Although these methods usually do not reach the accuracy
of their explicitly correlated counterparts, they can be routinely applied to
molecules with dozens of electrons and multiple quantum nuclei.15 Orbital-
based nuclear-electronic methods have often been devised by extending algo-
rithms originally designed for electronic problems to nuclear-electronic ones.14
This has led to the emergence of the nuclear-electronic counterparts of many
wave function-1627 and density functional theory-based2831 electronic struc-
ture methods. These developments have revealed that some concepts cannot
be straightforwardly transferred from electronic problems to nuclear-electronic
ones. For instance, molecules with a weakly correlated electronic ground state
may display a strongly-correlated nuclear-electronic wave function.20,27 Quan-
tum entanglement measures extracted from nuclear-electronic density matrix
renormalization group (DMRG) calculations can guide this classification but
it was shown that in the nuclear- electronic case it is difficult to classify a
molecule unambiguously as strongly or weakly correlated.22,27 Consequently,
the efficiency of an algorithm originally ideated for electronic problems may
change drastically when applied to nuclear-electronic problems.
In this work, we address the challenge that optimizing nuclear-electronic
orbitals with self-consistent field (SCF) methods is significantly more difficult
than for their purely electronic counterparts. The convergence behavior of the
nuclear-electronic Hartree–Fock optimization algorithms has received little at-
tention in the literature so far, with the exceptions of Refs. 32 and 33. As
in electronic-structure theory, the Roothaan–Hall (RH) diagonalization method
with level-shifting,34 damping,35 and the direct inversion of the iterative sub-
space (DIIS),36,37 represent the state of the art for nuclear-electronic calcu-
lations. Recently,33 a new DIIS variant was developed for nuclear-electronic
methods that simultaneously optimizes the nuclear and electronic coefficients
of the wave function. This algorithm currently represents the most efficient
nuclear-electronic orbital optimization scheme. However, as first-order opti-
mization methods, they can converge either slowly, possibly to saddle points,
2
or even diverge. In electronic structure theory, these issues are especially rel-
evant for strongly correlated systems.38 They can be partially alleviated, e.g.,
by orbital steering.39
The deficiencies of the RH approach can be overcome with Newton meth-
ods which, however, require the construction of the orbital Hessian. This step
represents the main bottleneck of the orbital optimization algorithm.4050 For
restricted Hartree–Fock calculations, this computational bottleneck can be over-
come with the augmented Roothaan–Hall (ARH) method.51,52 ARH is a quasi-
Newton approximate second-order method that iteratively constructs the Hes-
sian by expanding it in the basis of density matrices obtained in previous iter-
ation steps.
Here, we introduce a generic framework for Newton and quasi-Newton op-
timization algorithms for electronic and nuclear-electronic Hartree–Fock. We
derive the Newton equations by leveraging differential geometry techniques53
and extend the ARH method to unrestricted-electronic and nuclear-electronic
problems within this framework. We first demonstrate the efficiency of our new
implementation for the unrestricted electronic case with the example of iron-
sulfur clusters. The electronic wave function of these systems is known to display
strong correlation effects.54 This renders the solution of the SCF equations very
challenging even with sophisticated convergence acceleration techniques. Sub-
sequently, we compare different optimization algorithms for nuclear-electronic
Hartree–Fock calculations. We choose as test cases water clusters because they
are known to exhibit strong nuclear quantum effects.15,5559 We compare the
efficiency of our new ARH method with the geometric direct minimization
(GDM)60,61 and DIIS methods, as well as with a newly implemented exact
Newton method. We show that ARH is significantly faster than GDM and
more robust than DIIS with a limited computational overhead compared to the
much more demanding full Newton optimization.
The work is organized as follows: We introduce in Sec. 2the Newton method
from a differential geometry perspective and show how to apply it to restricted
Hartree–Fock theory. We then extend the Newton method to unrestricted and
nuclear-electronic problems and derive the corresponding exact Newton and
ARH working equations in Sec. 3. Afterwards, in Sec. 4we review the trust-
region augmented Hessian approach which we apply to ARH to ensure that the
algorithm converges to a minimum of the energy functional. After presenting
the computational details in Sec. 5, we discuss the results for electronic and
nuclear-electronic systems in Sec. 6.
2 A differential geometry perspective on Hartree–
Fock theory
We start this section with a brief account of our formalism for the restricted elec-
tronic BO Hartree–Fock method. We then describe the Hartree–Fock optimiza-
tion from a differential geometry perspective and derive the Newton equations
3
for the restricted Hartree–Fock method. Although often overlooked, differen-
tial geometry is a powerful tool for studying optimization problems in quantum
chemistry.6265 Subsequently, we show how to enhance computational efficiency
of the solution of the Newton equations.
2.1 Restricted Hartree–Fock theory
In Hartree–Fock theory, the N-electron Hartree–Fock wave function, ΨBO, is
taken as a Slater determinant, Φ defined as an antisymmetrized product of
spin-orbitals, φis,
ΨBO(r) = Φ(r) = 1
N!S S
Y
s
Ns
Y
i
φis(ris))!.(1)
Here, ris a vector collecting the positions of all electrons, ris is the coordinate
of the i-th electron with spin quantum number Sand spin projection onto the
z-axis s=S, S+ 1, . . . , S.Nsis the number of electrons with a given
spin. Although for electrons the total spin is S=1
2, we derive the equations
for a generic Sto facilitate their extension to the nuclear-electronic case. The
antisymmetrization operator, S, enforces the correct permutational symmetry
of the wave function. The spin-orbitals φis are expressed as a linear combination
of NAO pre-defined Gaussian-type orbitals {χµ(r)}NAO
µ=1 , which are referred to as
atomic orbitals,
φis(ris) =
NAO
X
µ=1
Cs,iµχµ(ris).(2)
The coefficients Cs,iµ of the orbitals with spin scan be grouped into a matrix,
Cs, which can be further partitioned into an occupied block, Cs,o, of dimension
NAO ×Ns, and a virtual block, Cs,v, of dimension NAO ×(NAO Ns). Only
the occupied orbitals enter the Hartree–Fock wave function. Therefore, its cor-
responding energy is completely determined by the AO density matrices, Ds,
which are defined as
Ds=Cs,oCT
s,o.(3)
The density matrices satisfy three conditions, namely idempotency, symmetry
with respect to transposition, and the trace being equal to Ns:
D2
s=Ds=DT
s,Tr (Ds) = Ns.(4)
The electronic Hartree–Fock energy can be expressed as
EBO({Ds}) =
S
X
s
NAO
X
µν
hµν Dµ+1
2
S
X
s
NAO
X
µνρσ
Dµ ¯
Vµν,ρσDρ+
S
X
s<t
NAO
X
µνρσ
DµVµν,ρσDρ ,
(5)
where hµν contains the one-electron integrals, Vµν,ρσ the Coulomb integrals for
basis functions µ, ν of the first electron and ρ, σ of the second one, and ¯
Vµν,ρσ
4
denotes the antisymmetrized Coulomb integral. Electrons are spin-1
2Fermions
for which the allowed values of the spin projection sare 1
2and 1
2, which we
will denote as and , respectively. In the restricted electronic Hartree–Fock
method, the spatial part of the spin-orbitals are equal, i.e., C=C=Cand,
therefore, D=D=D. This reduces the number of free parameters and
simplifies Eq. (5) to
EBO(D) = 2
NAO
X
µν
hµν Dνµ +1
2
NAO
X
µνρσ
Dνµ(2Vµν,ρσ Vµσ,ρν )Dσρ.(6)
The restricted Hartree–Fock method optimizes the energy, Eq. (6), with re-
spect to the orbital coefficients under the constraint that the orbitals remain
orthonormal
minnE(Co)CoRNAO×N/2,CT
oCo=o.(7)
where Cois the occupied block of C. The energy minimization can be equiv-
alently carried out with respect to the density matrix D. In this case, the
orthogonality-constrained optimization problem reads
minnE(D)DRNAO×NAO ,D2=D=DT,Tr (D) = N/2.o.(8)
In the following, we demonstrate how to solve these minimization problems
by leveraging differential geometry. This mathematical discipline provides an
elegant and convenient framework to derive efficient optimization algorithms for
functions of matrix arguments with constraints on the parameters.53
2.2 Optimizing the energy functional on a manifold
The Newton method is the standard second-order method to optimize iteratively
a real-valued function f(x) with xRn, that is at least twice differentiable.
Starting from an initial guess x0, the function is expanded at the i-th iteration
around the corresponding approximate solution, xi, as
f(xi+h) = f(xi) + gradf(xi)Th+1
2hTHessf(xi)h+O(h3).(9)
Here, Hessf(xi) and gradf(xi) refer to the Hessian and gradient of fat point
xi, respectively. Setting the gradient of Eq. (9) with respect to hto zero yields
the Newton equation:
Hessf(xi)h=gradf(xi).(10)
The updated approximate solution xi+1 is obtained from the solution of Eq. (10)
as
xi+1 =xi+h.(11)
This algorithm converges to the stationary point closest to the starting guess
x0.53
5
摘要:

Second-orderself-consistent eldalgorithms:fromclassicaltoquantumnucleiRobinFeldmann,AlbertoBaiardi,andMarkusReiher*ETHZurich,LaboratoriumfurPhysikalischeChemie,Vladimir-Prelog-Weg2,8093Zurich,SwitzerlandDecember7,2022AbstractThisworkpresentsageneralframeworkforderivingexactandapprox-imateNewtonse...

展开>> 收起<<
Second-order self-consistent eld algorithms from classical to quantum nuclei.pdf

共40页,预览5页

还剩页未读, 继续阅读

声明:本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。玖贝云文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知玖贝云文库,我们立即给予删除!
分类:图书资源 价格:10玖币 属性:40 页 大小:1.04MB 格式:PDF 时间:2025-05-03

开通VIP享超值会员特权

  • 多端同步记录
  • 高速下载文档
  • 免费文档工具
  • 分享文档赚钱
  • 每日登录抽奖
  • 优质衍生服务
/ 40
客服
关注