2.1. Background
The Hamiltonian describing an interacting system of
N electrons in an external potential takes the usual form,
with the operators
,
and
corresponding, respectively, to the external field, the kinetic energy and the inter-particle interaction (Coulomb repulsion for electrons). The ground-state energy of the system is given by the expectation value:
where
denotes the many-particle ground state of
. We use the notation,
, and say
leads to the density
, to denote the property:
where
denotes the single-particle density function normalized to the total number of particles,
N. We now write Equation (
2) in the form,
in terms of the constrained search functional [
3,
18],
Given a density, , the constrained search examines all antisymmetric N-particle wave functions that lead to the density and delivers the state (in the absence of degeneracy) that produces the minimum value of .
As in the initial formulation of DFT by Kohn and Sham [
2], we postulate the existence of a fictitious non-interacting
N-particle system described by the Hamiltonian,
under the action of an external potential,
, whose ground-state density is identical to the density of the interacting system described by
. In analogy with Equation (
5), we define the constrained search functional [
3],
implying a search over all Slater determinants leading to a given density and returning that determinant that minimizes the expectation value of the kinetic energy for a system of
N particles.
Now, assume that the density is non-interacting
v-representable for some potential,
, so that from the second theorem of Hohenberg and Kohn [
1], it follows that:
defined within an arbitrary constant. The potential,
, is such that the orbitals entering the construction of
arise through the solutions of a single-particle Schrödinger equation
with eigenenergies
. Clearly, the orbitals minimize the expectation value of the kinetic energy, and, as such, form the Slater determinant identified by the constrained search in establishing
. For the case of Slater determinants, Equation (
7) reduces to the direct sum:
2.2. Functional Differentiation
The process of performing the functional differentiation of expectation values with respect to the density, however, is not immediately evident: The dependence of a given wave function on the density is implicit, rather than explicitly displayed in terms of the density (or analytic functions of it). This difficulty is resolved through the use of the
equidensity orbitals [
19,
20,
21] that are written as explicit functionals of the density and, as shown in [
21], form an orthonormal and complete basis in three-dimensional space. This property has been exploited in previous work [
13,
14,
15] to allow the functional differentiation of the Coulomb energy associated with a Slater determinant with respect to the density in order to determine the Coulomb potential including the contribution of the exchange term. A complete discussion is given in [
14]. Here, we apply that formalism to derivatives of the non-interacting kinetic energy with respect to the density.
We can obtain the functional derivative of
by differentiating the wave functions under the integral signs in Equation (
7), and determine the potential-like quantity,
where the double bars prohibit the operators from acting on the quantity beyond them. The reason for this is that functional derivatives of wave functions with respect to the density are generally not elements of the Hilbert space. Because of this feature, the operators in the last two equations act on the wave functions, either to their left or their right. It is seen that the combination of the constrained search and functional differentiation allows in principle the determination of all Slater determinants associated with given density that may correspond to a potential.
For the case of a Slater determinant, the last expression takes the form,
where the del operator acts on arguments to its right, and the last line gives the functional derivative as a function of the coordinates that may or may not correspond to a potential. In this expression, the quantity,
, denotes the expectation value of the non-interacting kinetic energy operator,
, with respect to any wave function that leads to a density.
In previous work [
13,
14,
15], we derived a closed-form expression of the functional derivative of an orbital
with respect to the density,
, in terms of ordinary (spatial) derivatives. In the one-dimensional case, excluding terms that would lead to a constant shift in the potential (constants and expressions solely depending on
x but not
), the derivative reads
Primes on functions denote spatial derivatives with respect to
x, and Θ is the Heaviside step function. Expressions for the three-dimensional case can be found in references [
14,
15] for both the cases of cartesian and spherical coordinates, respectively.
In
Appendix A, we derive an expression for the differentiation of the expression for the kinetic energy (one-dimensional for simplicity) using Equations (
12) and (
13) (see Equation (A4)). If all orbitals contributing to the kinetic energy originate from the same potential through the Schrödinger or Kohn–Sham equations, we show analytically that the differentiation leads to the negative potential (within an arbitrary constant). The three-dimensional case follows analogously.
2.3. Illustration of the Formalism
The calculations quoted here illustrate the formalism developed above for cases where the potential is given and the wave functions are known analytically. The goal is to reproduce the potential from the functional derivative of the kinetic energy with respect to the density.
For simplicity, we discuss one-dimensional systems in the non-interacting case where the wave function can be represented as a Slater determinant. Analogous procedures will apply in higher dimensions and the interacting framework.
For our first example, we consider
N non-interacting particles in a box of length
L bounded by potential walls of infinite height. The wave functions of the particles confined in the box are determined through the single-particle Schrödinger equation,
and vanish at the edges of the box. The
denote the eigenvalues. When
(or a constant), the normalized single-particle wave functions are given by the expressions,
with quantum numbers
. The energies take the form,
with the ground state density for a system of
N Fermions given by
.
Figure 1 illustrates the six lowest in energy eigenstates (
L = 1) (left panel) and their moduli squared (corresponding to single-particle densities) on the right.
The second example discussed here is the one-dimensional harmonic oscillator. The potential is given by
We make the usual transformation
and
. The normalized solutions of the Schrödinger equation with the potential (17) read as
where the
are Hermite polynomials, which are solutions of the differential equations
, and
n are integer quantum numbers
. The corresponding energies are given by
In the following discussion, we set
, which corresponds to
and
. The six lowest in energy single particle wave functions and their corresponding moduli squared are shown in
Figure 2.
For both examples, we use Equation (A4) to compute the potential. Since the wave functions are given analytically, the potentials can be calculated analytically. We use
Mathematica® [
22] to accomplish that task. We tested cases up to
, and obtained every time the corresponding potential up to a constant. That is not surprising because we have shown in
Appendix A that the formalism to calculate those functional derivatives leads to the potential. Equation (A9) also obtains a constant that does not have a physical meaning. Applying l’Hopital’s rule twice at the right boundary for the particles in a box example we obtain the constant:
Due to the exponential decay of the wave function and the density in the harmonic oscillator example, only the highest in energy of the occupied orbitals contributes to the constant. We find the constant to be equal to the eigenvalue of the highest occupied orbital.
So far, those tests have been performed occupying the lowest N orbitals. We find that any other combination, mimicking a non-ground state, e.g., by occupying orbitals and 7, also leads to the same potential. The constants for the particles in the box example contains then the sum over occupied orbitals instead a sum from 1 to N, for the harmonic oscillator the constant is still determined by the highest occupied orbital.
The finding that the formalism yields the potential from the kinetic energy is not obvious because the condition implies the condition of the ground state. On the other hand, those states correspond to a local extremum so that the expression still holds.
Obtaining the potential by a functional differentiation for these examples may sound trivial, but it demonstrates the power of the procedure and the ability to calculate the functional derivative analytically. On the other hand, the procedure can be applied to cases where the the single particle orbitals are given numerically.
So far, we have shown the formalism determines the potential exact (up to a constant) from wave functions by functional differentiation of the kinetic energy, where it is known that all orbitals originate from the same potential, the condition for
v-representability. The next step is to determine if a given set of orbitals, forming the density, is
v-representable. That can be accomplished by calculating the potential
as shown above, and then checking if each of the orbitals fulfills the Kohn–Sham equation by comparing the right and left-hand sides of the expression:
The determinant is v-representable when the equality holds, (for some ), for all orbitals forming the determinant. It is convinient for the comparison to normalize the left and right-hand side separately in order to be independent of the .
Now, we apply this procedure to the case when the density is given. Generally, the task would be to find the wave function that minimizes the kinetic energy through the procedure of the constrained search [
3]. Cioslowski [
16,
17] has established the formal procedure for generating the complete set of antisymmetric wave functions that lead to a given density. For a Slater determinant, the procedure is outlined in
Appendix B. Based on his procedure, for each density, we construct a number of different Slater determinants that leads to it. For each Slater determinant, we differentiate the expectation value of kinetic energy with respect to the the density, obtaining
. Finally, we apply Equation (
21) for every orbital of the determinant. The results of the test for the case of the particle in the box and harmonic oscillator are shown in
Figure 3 and
Figure 4, respectively, for a three particle system.
In the figures, the top rows exhibit the density, the second shows the set of three mutually orthonormal orbitals, leading to the density. The third row contains
, obtained using Equation (A4), for each set of orbitals and the remaining rows compare each of the orbitals with the normalized output corresponding to Equation (
21), where, in some, the output is multiplied by
.
In both examples, the target density (top row) is obtained using the three lowest in energy orbitals (see Equations (15) and (18);
) for panels A,B and C, the density in panel D is constructed by using orbitals 2, 3 and 4. We applied Cioslowski’s procedure [
16] for a single Slater determinant using auxiliary functions
given in
Table 1 and
Table 2 to obtain new Slater determinants leading to the given density. Those new orbitals are shown in the second row. If the exact orbitals are used, Cioslowski’s procedure returns the same orbitals (column A); otherwise, different orbitals are obtained. We note that the auxiliary functions
do not need to be orthogonal or normalized, as long as they are linearly independent. The new orbitals, although mutually orthonormal, can have quite strange forms, as seen in the second row. They do not even have to obey the symmetry of the problem, nor have a specific number of nodes.
Examining these cases, where different sets of orbitals form the same density (columns B and C), we see that the left- and right-hand side of Equation (
21) are not the same (see bottom three rows), even though we know the density to be
v-representable. This suggests that most of the sets generated by Cioslowski’s procedure [
16] may not correspond to a potential, yet all lead to the same density by construction. This behavior is expected from the first theorem of Hohenberg and Kohn: if
v-representable, the ground state density determines uniquely the potential and hence the corresponding ground state wave function.
We also applied the procedure to a different density to mimic an exited state (panel D). As seen in panels D4, D5 and D6, the set of obtained wave functions fail to satisfy Equation (
21) and hence are not
v-representable. The choice of the exact orbitals passes the test of
v-representability, as already pointed out above.
In order to quantify the deviation of the left- and right-hand side of Equation (
21), the
norm of the difference is shown in
Table 3 and
Table 4.
norms smaller than the machine epsilon are marked as 0.