The relation used frequently in the literature according to which the non-additive kinetic potential which is a functional depending on a pair of electron densities is equal (up to a constant) to the difference of two potentials obtained from inverting two Kohn–Sham equations, is examined. The relation is based on a silent assumption that the two densities can be obtained from two independent Kohn–Sham equations, i.e., are vs-representable. It is shown that this assumption does not hold for pairs of densities: ρtot being the Kohn–Sham density in some system and ρB obtained from such partitioning of ρtot that the difference ρtot − ρB vanishes on a Lebesgue measurable volume element. The inversion procedure is still applicable for ρtot − ρB but cannot be interpreted as the inversion of the Kohn–Sham equation. It is rather the inversion of a Kohn–Sham-like equation. The effective potential in the latter equation comprises a “contaminant” that might even not be unique. It is shown that the construction of the non-additive kinetic potential based on the examined relation is not applicable for such pairs.
I. PRELIMINARY CONSIDERATIONS AND NOTATION
A. The bi-functional of the non-additive kinetic potential
defined as
is a key element in subsystem formulation of density functional theory (DFT)1 and in Frozen-Density Embedding Theory (FDET).2–4 In both formalisms found based on the Hohenberg–Kohn theorems, is a component of the effective potential, for which a quantum-mechanical problem of NA = ∫ρA(r)dr electrons embedded in a field generated by the NB = ∫ρB(r)dr electrons is solved. The corresponding energy functional,
where the density functional of the kinetic energy (Ts[ρ]), is defined via the constrained search5 as
For the sake of subsequent considerations, we introduce the functional , which admits a more restricted pair of densities than does ,
and the corresponding potential
Any pair of densities ρA and ρB is admissible in , provided that each of them is N-representable (N being either NA or NB). Admissible pairs of densities in the functional satisfy a different admissibility condition,
where ΔV is a Lebesgue measurable volume element.
Condition A is satisfied automatically if ρtot is constructed as a sum of two N-representable components. In such a case,
ConditionA might be violated if ρtot and ρB are independent variables.
The admissibility condition for densities in the case of is stronger than Condition A. Formulating it involves elements of the Kohn–Sham formalism given below.
B. Elements of the Kohn–Sham formalism: Energy functional, Euler–Lagrange equation, -representability, and inversion of the Kohn–Sham equation
For a system of N = ∫ρ(r)dr electrons in an external potential vext(r), the Kohn–Sham energy functional reads
with Exc[ρ] being the exchange–correlation functional in the Kohn–Sham formulation of DFT.6
The density ρ is pure-state non-interacting v-representable (vs-representable in short), if there exists an external potential vext such that ρo is the lowest energy solution of the Euler–Lagrange equation,
where λ is the Lagrange multiplier corresponding to the constraint due to normalization N = ∫ρ(r)dr. Equation (9) takes the form of the Kohn–Sham equation if a Slater determinant built up from NA orbitals (ϕi) is used to represent the density . For systems for which the ground-state densities are not vs-representable, the density ρo that minimizes the Kohn–Sham functional is not the ground-state density. lies above the ground-state energy. The latter minimizes the Hohenberg–Kohn density functional , which is defined for a larger class of densities (v-representable densities). The present work concerns minima and infima of .
Inserting the explicit form of , given in Eq. (8), to the Euler–Lagrange equation leads to the relation between the functional derivative of Ts[ρ] and a local potential,
where denotes a function,
that can be evaluated for any vext and admissible ρ. In Eq. (10), however, vext and ρ are not independent. This equation holds only if the density ρo minimizes for vext specified in the subscript.
All terms besides vext in Eq. (10) are explicit density functionals. The external potential vext is, thus, determined uniquely (up to a constant) by the ground-state density ρo. The Kohn–Sham potential is, therefore, an implicit functional of density. It will be denoted with vs[ρ]. Both potentials are equal for vs-representable densities,
where vext is the external potential for which ρ is the ground-state density.
For vs-representable densities, Eq. (10) provides the desired external-potential-free relation,
that relates the functional derivative with the effective potential in the Kohn–Sham equation. In this work, if is used, it indicates that this potential is available numerically, whereas vs[ρ] indicates that it is either a mathematical construction or the result of the inversion procedure.
Obtaining the effective potential for a given density5 is known as inverting the Kohn–Sham equation (see the pioneering work by Zhao, Morrison, and Parr7 or a recent review by Jensen and Wasserman,8 for instance). The procedures to invert the Kohn–Sham equation are numerically tedious. Additional assumptions are made in order to obtain the inverted potential uniquely if finite basis sets are used.7–14 In this work, we understand that the inverted potential is the potential that corresponds exactly to the target density. For the sake of subsequent consideration, we also note that the inversion might be applied for a more general type of equations–Kohn–Sham equations in which additional constraints are imposed on density, for instance. In such a case, the target density does not have to be vs-representable.
The subsequent considerations concern the case where the exchange–correlation functional is approximated by means of an explicit expression . The relevant expression of the energy functional and the corresponding effective potential are, thus,
and
For such a case, ρtot is vs-representable by construction. Moreover, the functional vs[ρ] and the function become fundamentally different quantities. The function can be evaluated at a density ρ that is not vs-representable.
C. Relation between and Kohn–Sham potentials in the case of partitioning ρtot
Equation (10) makes it possible to express (up to a constant) each functional that is independent of external potential in the right-hand-side of Eq. (5) by means of the potentials that depend explicitly on the external potential, provided that both ρtot − ρB and ρtot are vs-representable. The present work concerns such cases that ρtot is given and it is vs-representable, whereas ρB satisfies Condition A, i.e., it is obtained from some partitioning of ρtot. Such pairs of densities are relevant for DFT-based partition formalisms13,15 in which ρtot is the ground-state density corresponding to a given external potential and some approximation for the exchange–correlation potential, whereas ρtot − ρB is the density obtained from its partitioning. In FDET, ρtot is not known a priori, and such pairs are considered only in specially designed methodology oriented studies.16–19 The requirement that ρtot − ρB is vs-representable is stronger than Condition A. It will be referred to as Condition B. If it is satisfied, Eq. (13) applied for the two densities yields the desired relation,
and .
If ρtot is obtained from some Kohn–Sham calculations, the demanding tasks–the inversion of the Kohn–Sham equation–is needed only for ρ = ρtot − ρB in order to evaluate numerically using Eq. (16).
II. EULER–LAGRANGE EQUATION FOR WITH ADDITIONAL CONSTRAINT
The following pair of densities is considered:
The partitioned density ρtot is obtained from the Kohn–Sham equation (from here on, we use tildes to indicate that in practical applications, ).
The difference ρtot − ρB vanishes on the Lebesgue measurable volume element (Vzero) on which ρtot > 0,
For such pairs, (i) is finite on Vzero with a possible exception at the positions of the nuclei, where vext is singular; (ii) the potential vs[ρtot − ρB]–if it exists–is expected to diverge on Vzero because ρtot − ρB vanishes there; and (iii) for any two external potentials vext and that differ only on Vzero. These observations indicate that the density ρtot − ρB is not vs-representable. The potential for which reaches the lowest value at ρtot − ρB diverges on Vzero. The addition of any constant or even a non-constant but finite potential on Vzero does not affect . If ρtot − ρB is obtained from the Euler–Lagrange equation (not that of the Kohn–Sham formalism), the effective potential in this equation is, therefore, not defined uniquely on Vzero. As a result, the difference between the two effective potentials corresponding to ρtot and ρtot − ρB might be ambiguous in Vzero.
To further investigate this indication, we construct a generalized Euler–Lagrange equation that guarantees that ρtot − ρB is stationary. The prerequisite for the existence of an effective potential obtainable from the inversion is that ρtot − ρB is a minimum of some density functionals that can be used in the Euler–Lagrange equation. If ρtot − ρB is not vs-representable, it cannot be . Some other functionals must be constructed. The functional is defined as
where C[ρ] = 0 represents the constrained due to Eq. (17) such as
for instance.
The lowest value of corresponds to ρmin = ρtot − ρB and equals . Owing to the constraint C[ρ] = 0, ρtot − ρB is a minimum of regardless of whether ρtot − ρB is a minimum or infimum of . The density ρ = ρtot − ρB satisfies, thus, the following Euler–Lagrange equation:
where λ″ is the Lagrange multiplier associated with the normalization condition.
The fact that vext is some fixed external potential [the same as the one in Eq. (10), for instance] is crucial in this construction. Instead of searching for the potential, for which ρtot − ρB is the minimizer of the corresponding Kohn–Sham equation, we introduce a constraint. Owing to the constraint, the requirement of vs-representability of ρtot − ρB is not needed and ρtot − ρB can be just an infimum of . Since ρtot − ρB is, however, a minimum of , the same inversion techniques can be applied as the ones used for the Kohn–Sham equation. The obtained effective potential has, however, another interpretation. If λC ≠ 0, it is no longer the Kohn–Sham potential corresponding to any vext.
Inserting the definition of into Eq. (20) leads to
where
The above construction of the effective potential vΩ[ρtot − ρB] is our principal result, which we will discuss below. If ρtot − ρB is not vs-representable, the external potential for which the component of vΩ[ρtot − ρB] due to the constraint vanishes does not exist. The component of vΩ[ρtot − ρB] due to the constraint does not vanish. Since it depends on ρtot, the effective potentials in two Euler–Lagrange equations, for ρtot − ρB and for ρtot, are not independent. The derivatives and used in Eq. (5) are, therefore, also not independent. As a result,
if ρtot − ρB is not vs-representable.
If ρtot − ρB is vs-representable, the external potential for which ρtot − ρB is the solution of the Kohn–Sham equation exists and is given as
If is used as vext in vΩ[ρ], the term due to the constraint disappears. The potential is uniquely (up to a constant) defined, and it is equal to . Equation (16), thus, holds without being affected by the present construction.
Turning back to the case of not vs-representable ρtot − ρB, we note that any change of the external potential (vext) localized only in Vzero does not affect . Such a change of the potential does not affect either. The potential vΩ[ρtot − ρB] might depend on the form of the constraint. The constraint C[ρ], which assures that ρ = ρtot − ρB obtained as a solution of the corresponding Euler–Lagrange equation is a minimum, might have different forms than the example given in Eq. (19). To avoid infinite Lagrange multiplier, one might consider with an integer k and look for the solution of the Euler–Lagrange equation at the ϵ → 0 limit, for instance. The pathway to reach the limit depends obviously on k. The way the constraint is enforced in Vzero might lead, thus, to different potentials vΩ[ρtot − ρB].
III. DISCUSSION
In some multi-level molecular simulations (see Refs. 11–13 and 20–22, for instance), the inversion of the Kohn–Sham equation is made to overcome the difficulties in approximating the non-additive kinetic potential component of the embedding potential by means of an explicit bi-functional. The inversion is made for pairs of densities such as the ones considered in this work (i.e., satisfying Condition A and for vs-representable ρtot). In practice, additional approximations combine with the silent assumption examined in more detail in this work that ρtot − ρB is vs-representable. The present analysis provides rather new interpretation of the potential obtained in such methods. It is not the approximation for the non-additive kinetic potential, but it is rather the potential enforcing desired properties of the target density such as localizing it in the pre-defined domain.
The present work also provides a clear hint of how to avoid obtaining meaningless non-additive kinetic potentials from differences of effective potentials in the case of partitioning. A practically impossible to verify condition of the vs-representability of ρtot − ρB, which is needed for Eq. (16) to hold, can be replaced by a weaker one,
If the total density obtained from some Kohn–Sham calculations is partitioned in such a way that ConditionA′ is satisfied, then the constraint imposing Eq. (17) in the Euler–Lagrange equation is not needed. Equation (16) can be expected to hold. The verification whether the pair of densities ρtot and ρB satisfies ConditionA′ is straightforward if ρtot is given.
Finally, the present work, might seem related to the treatment of the kinetic energy by Hadjisavvas and Theophilou,23 in their derivation of the Kohn–Sham equation, which bypasses the v-representability requirement. In our work, we do not bypass the requirement of the vs-representability of ρtot − ρB. We rather demonstrate that the potential cannot be obtained from the effective potentials in the corresponding Euler–Lagrange equations if ρtot − ρB is not vs-representable. Our approach to deal with densities that are non-vs-representable in variational calculations is similar in spirit to the one by Gould and Pittalis.24
ACKNOWLEDGMENTS
The author would like to thank Professor Tim Gould and Professor Nikitas Gidopoulos for helpful comments concerning the presented derivations and an anonymous reviewer for bringing to the author’s attention the work of Hadjisavvas and Theophilou and for sharing unpublished notes.
AUTHOR DECLARATIONS
Conflict of Interest
The author has no conflicts to disclose.
Author Contributions
Tomasz Adam Wesolowski: Conceptualization (lead); Formal analysis (lead); Methodology (lead); Writing – original draft (lead); Writing – review & editing (lead).
DATA AVAILABILITY
Data sharing is not applicable to this article as no new data were created or analyzed in this study.