Questaal objects with basis sets defined by spherical harmonics, such as LMTOs or smooth Hankel functions, order the harmonics as m=−l, −l+1, … 0, … l.
The Questaal codes use real harmonics Υlm(r^), real versions of the usual (complex) spherical harmonics Ylm(r^). The Υlm are functions of solid angle on a unit sphere, while the “solid real harmonics” Υlmrl are polynomials in x, y, and z. (1) There is a corresponding set of “solid spherical harmonics” or spherical harmonic polynomials Ylm=rlYlm.
Caution: Questaal source codes typically use the symbol Ylm to refer to either Υlm or to the rlΥlm, depending on the context. In places they can be rotated to the true spherical harmonics Ylm.
The Υlm, Ylm and Ylm are shown for l=0…3 in the order used by the Questaal code:
index | l | m | polynomial rlΥlm | spherical harmonics Ylm(θ,ϕ) | spherical harmonic polynomials Ylm(r) | |
---|
1 | 0 | 0 | √4π1 | √4π1 | √4π1 | |
2 | 1 | -1 | √4π3y=[+Y1,−1+Y11]√2i | +√8π3sinθe−iϕ=[−iΥ1,−1+Υ11]/√2 | √8π3(x−iy) | |
3 | 1 | 0 | √4π3z=Y10 | +√4π3cosθ=Υ10 | √4π3z | |
4 | 1 | 1 | √4π3x=[+Y1,−1−Y11]√21 | −√8π3sinθeiϕ=[−iΥ1,−1−Υ11]/√2 | −√8π3(x+iy) | |
5 | 2 | -2 | 21√4π15(2xy)=[+Y2−2−Y22]√2i | 41√2π15sin2θe−2iϕ=[−iΥ2,−2+Υ22]/√2 | 41√2π15(x−iy)2 | |
6 | 2 | -1 | 21√4π15(2yz) | 21√2π15cosθsinθe−iϕ | 21√2π15z(x−iy) | |
7 | 2 | 0 | 21√4π5(3z2−r2) | See Ref 4 | 21√4π5(2z2−(x+iy)(x−iy)) | |
8 | 2 | 1 | 21√4π15(2xz) | −21√2π15cosθsinθeiϕ | −21√2π15z(x+iy) | |
9 | 2 | 2 | 21√4π15(x2−y2)=[+Y2−2+Y22]√21 | 41√2π15sin2θe2iϕ=[iΥ2,−2+Υ22]/√2 | 41√2π15(x+iy)2 | |
10 | 3 | -3 | √4π1√35/8y(3x2−y2) | +41√4π35sin3θe−3iϕ=[−iΥ3,−3−Υ33]/√2 | +41√4π35(x−iy)3 | |
11 | 3 | -2 | √4π1√105xyz | 41√2π105cosθsin2θe−2iϕ | 41√2π105z(x−iy)2 | |
12 | 3 | -1 | √4π1√21/8y(5z2−r2) | See Ref 4 | 41√4π21(4z2−(x+iy)(x−iy))(x−iy) | |
13 | 3 | 0 | √4π1√7/4z(5z2−3r2) | See Ref 4 | 21√4π7(2z2−3x2−3y2)z | |
14 | 3 | 1 | √4π1√21/8x(5z2−r2) | See Ref 4 | −41√4π21(4z2−(x+iy)(x−iy))(x+iy) | |
15 | 3 | 2 | √4π1√105/4z(x2−y2) | 41√2π105cosθsin2θe2iϕ | 41√2π105z(x+iy)2 | |
16 | 3 | 3 | √4π1√35/8x(x2−3y2) | −41√4π35sin3θe3iϕ=[−iΥ3,−3−Υ33]/√2 | −41√4π35(x+iy)3 | |
17 | 4 | -4 | √4π1√315/4xy(x3−y2) | √4π1√315/128sin4θe−4iϕ | √4π1√315/128(x−iy)4 | |
18 | 4 | -3 | √4π1√315/8yz(3x2−y2) | √4π1√315/16sin3θcosθe−3iϕ | √4π1√315/16(x−iy)3z | |
19 | 4 | -2 | √4π1√45/4xy(7z2−r2) | See Ref 4 | √4π1√45/32(x−iy)2(7z2−r2) | |
20 | 4 | -1 | √4π1√45/8yz(7z2−3r2) | See Ref 4 | √4π1√45/16(x−iy)z(7z2−3r2) | |
21 | 4 | 0 | √4π1(3/8)(35z4−30r2z2+3r4) | See Ref 4 | √4π1(3/8)(35z4−30r2z2+3r4) | |
22 | 4 | 1 | √4π1√45/8xz(7z2−3r2) | See Ref 4 | −√4π1√45/8(x+iy)z(7z2−3r2) | |
23 | 4 | 2 | √4π1√45/16(x2−y2)(7z2−r2) | See Ref 4 | √4π1√45/32(x+iy)2(7z2−r2) | |
24 | 4 | 3 | √4π1√315/8xz(x2−3y2) | See Ref 4 | −√4π1√315/16(x+iy)3z | |
25 | 4 | 4 | √4π1√315/64[x2(x2−3y2)−y2(3x2−y2)] | √4π1√315/128sin4θe4iϕ | √4π1√315/128(x+iy)4 | |
The Υlm and Ylm are related as follows, using standard conventions(2), as in e.g. Jackson
Υl0(r^)Υlm(r^)Υl,−m(r^)≡ Yl0(r^)≡√21[(−1)mYlm(r^)+Yl,−m(r^)]≡√2i1[(−1)mYlm(r^)−Yl,−m(r^)].(1)(2)(3) where m>0. The inverse operation is
Yl0(r^)Ylm(r^)Yl,−m(r^)≡Υl0(r^)≡(−1)m√21[Υlm(r^)+iΥl,−m(r^)]≡√21[Υlm(r^)−iΥl,−m(r^)].(4)(5)(6) The mcx calculator can make these rotation matrices for you. For an example, see here.
Standard definition of spherical harmonics in terms of Legendre polynomials
The [standard definition](2) of Ylm(r^) is
Ylm(θ,ϕ)Plm(x)=[4π(l+m)!(2l+1)(l−m)!]21Plm(cosθ)eimϕ,=(−1)m2ll!(1−x2)m/2dxl+mdl+m(x2−1)l(7)(8) The (−m) and m functions are related by [see Jackson (3.51) and (3.53)] The factor (−1)m is known as the Condon–Shortley phase, and some definitions omit it.
These functions satisfy the following relations
Pl−m(x)=(−1)m(l+m)!(l−m)!Plm(x) and Yl,−m(r^)=(−1)mYlm∗(r^)
Matrix relations between linear combinations of real and spherical harmonics
Real and spherical harmonics combine states of +m and −m differently. For a particular (+m,−m) pair, relations (1-6) for m>0 can be expressed as a 2×2 matrix u as
(Yl−mYlm)=(Υl−mΥlm)u−1 where u−1=u†=√21(−i1i(−1)m(−1)m) and u=√21(+i−i(−1)m1(−1)m)(9) Note that u is unitary.
Rotations between linear combinations of spherical harmonics and real harmonics
Rotations mix only −m and m, so it is sufficient to consider only a pair of functions at a time, though the rotation u used below does not make use of that fact.
Express a function f(r) in both real spherical harmonics representations and compare:
f(r)=∑LcLRΥL=∑λcλYYλ=∑λcλY∑LΥLuLλ−1(10a) Then
cLR=∑λuLλ−1cλY ⇒ cλY=∑LuλLcLRorcY=ucRandcR=u−1cY(10) Eigenfunctions have the form Eq. (10a). Thus Eq. (10) gives the transformation of an eigenvector between real and spherical harmonics.
Structure Matrices
For definiteness, consider a matrix S connecting functions at two points, e.g. a structure matrix expanding a function H around another site,
HL(r−R)=H~L(r−R)=∑L′JL′(r)SL′L∑L′J~L′(r)S~L′L (H,J) are in real harmonics; (H~,J~) are in spherical harmonics.
Consider the (−m,+m) segment of a vector of coefficients relating linear combinations of H and J in real harmonics:
(a′b′)=(S−−S+−S−+S++)(ab) For any point r, a and b correspond to a particular term in the first expression, Eq. (10a). Each term can be re-expressed in spherical harmonics through the rotation in the first expression, Eq. (10). The same argument applies to a′ and b′. Thus the preceding relation expressed as coefficients to functions in spherical harmonics is:
u−1(a~′b~′)=(S−−S+−S−+S++)u−1(a~b~) This establishes that
S~=uSu−1=uSu†(11) Gradients of Spherical harmonics
This section addresses the evaluation of the gradient operator acting on a function ∇[f(r)YL].
Spherical components of a vector
It is convenient to define the “spherical components” of a vector r as (See Edmonds Sec 5.1)
r±=∓√21(x±iy)and r0=zso thatx=√21(r−1−r1);y=√2i(r−1+r1)andr2=−2r+r−+z2 The two components r± and (y,x) are related by u¯, i.e. u for odd m:
(yx)=(r−1r+1)√21(ii1−1)=(r−1r+1)u¯(13) The spherical components are convenient because the “solid spherical harmonics” Ylm≡rlYlm are polynomials in the spherical components of r.
This is shown explicitly in the table above. In particular, Y1m=√4π3rm.
Products of the Ylm can be expanded in linear combinations of them, using Clebsch Gordan or Gaunt coefficients or Wigner 3-j symbols, e.g.
Yl1m1(r)Yl2m2(r)=lm∑[4π(2l+1)(2l1+1)(2l2+1)]1/2(l1m1l2m2∣l1l2lm)×(l0l0∣lll0)rl1+l2−lYlm(r) Spherical components of Gradients of Spherical Harmonics
Since Y1m=√4π3rm, the gradient can be written as √34πY1m(∇) and its action on some Y can be evaluated as an “operator product” in terms of these expansion coefficients.
The gradient operator expressed in spherical harmonic components is then
∇−1=∇+1=√21(∂r−∂y∂y∂+∂r−∂x∂x∂)√21(∂r+∂y∂y∂+∂r+∂x∂x∂)so that(∇−1∇+1)=(∂/∂y∂/∂x)√21(i1i−1)=(∂/∂y∂/∂x)u¯T(13) ∇0 can be written in spherical coordinates as
∇0=∂z∂=cosθ∂r∂−rsinθ∂θ∂ Expressing ∇0 in spherical coordinates, and making use of properties of the Legendre polynomials, it is straightforward to show that
cosθYlmsinθ∂θ∂Ylm==[(2l+1)(2l+3)]1/2l+1Yl+1m+[(2l−1)(2l+1)]1/2lYl−1m[(2l+1)(2l+3)]1/2l(l+1)Yl+1m−[(2l−1)(2l+1)]1/2l(l−1)Yl−1m which establishes that
∇0[f(r)Yl0]=[(2l+1)(2l+3)]1/2l+1(drdf−rlf)Yl+10+[(2l−1)(2l+1)]1/2l(drdf+rl+1f)Yl−10 so that there are two nonzero matrix elements, (Yl±10∣∇0∣f(r)Yl0) of Yl0.
The general matrix elements are (Edmonds, Section 5.7)
(Yl2m2∣∇m∣f(r)Yl1m1)=(−1)m2(l2010l10)(l2−m21ml1m1)(Yl20∣∇0∣f(r)Yl10) Looking up Wigner 3-j symbols, explicit forms of the matrix elements can be obtained:
(Yl+1m+m′∣∇m′∣f(r)Ylm)=(2l+3l+1)1/2(lm1m′∣l1l+1m+m′)(∂r∂f−rlf)=(−1)l+m[2(2l+3)(2l+1)]1/2Am′+(∂r∂f−rlf) and
(Yl−1m+m′∣∇m′∣f(r)Ylm)=−(2l−1l)1/2(lm1m′∣l1l−1m+m′)(∂r∂f+rl+1f)=(−1)l+m[2(2l+1)(2l−1)]1/2Am′−(∂r∂f+rl+1f) with
A−1+A0+A1+=[(l−m+1)(l−m+2)]1/2=−[2(l+m+1)(l−m+1)]1/2=[(l+m+1)(l+m+2)]1/2A−1−A0−A1−=[(l+m−1)(l+m)]1/2=[2(l+m)(l−m)]1/2=[(l−m−1)(l−m)]1/2 Gradients in terms of Vector Spherical Harmonics
Gradients are sometimes expressed as in terms of “vector spherical harmonics” Ylml±1, a special case of “tensorial spherical harmonics” which refer to products of two spherical harmonics.
∇[f(r)YL]or∇[f(r)YL]=−√2l+1l+1(∂r∂f−rlf)Ylml+1=−√2l+1l+1(drd(rf)−(l+1)f)Ylml+1++√2l+1l(∂r∂f+rl+1f)Ylml−1(12a)√2l+1l(drd(rf)+lf)Ylml−1(12b) As two special cases, f(r)=rl and f(r)=r−l−1, note that the first or second term vanishes and the gradient becomes
∇[rlYL]=∇YL=∇[r−l−1YL]=√l(2l+1)rl−1Ylml−1√(l+1)(2l+1)r−l−2Ylml+1(14)(15) Note that the gradient ∇YL can be written
∇YL=√(2l+1)l(l+1)r1(Ylml−1+Ylml+1)=2l+1l+1∇[rlYL]+2l+1l∇[r−l−1YL](16) Rotations of functions of the gradient operator
We consider a pair linear combinations of spherical harmonics f±=yn±Yn derived from the ∇± operator acting on a single function. For clarity we switch to Greek indices when referring to Cartesian coordinates and Roman indices when referring to spherical harmonics. Using Eqs. (13) and (10)
fmfμfμfμrμν=n∑ymnYn=m∑UμmfmwithU=uTand modd, using (13). Use (10):≡m∑Uμmν∑[n∑(u−1)νnymn]Υν.Then=ν∑rμνΥνwith=mn∑Uμm(u−1)νnymn fmfμfμfμrνμ=n∑Ynynm=m∑UμmfmwithU=uTand modd, using (13). Use (10):≡m∑Uμmν∑Υν[n∑(u−1)νnynm].Then=ν∑Υνrνμwith=mn∑(u−1)νnynmumμ(1). References
See
(1) Jackson, Electrodynamics.
(2) A.R.Edmonds, Angular Momentum in quantum Mechanics, Princeton University Press, 1960.
(3) M.E.Rose, Elementary Theory of angular Momentum, John Wiley & Sons, 1957.
(4) Wikipedia’s page on spherical harmonics
(1) For example,
√15/(4π)x2/r2√15/(4π)y2/r2√15/(4π)z2/r2===√5/3Υ00√5/3Υ00√5/3Υ00−−+√1/3Υ20+Υ22√1/3Υ20−Υ22√4/3Υ20 (2) Definitions (7) and (8) of spherical harmonics are the same as in Jackson. Jackson’s definition differs from that of Edmonds and Rose, by a phase factor (−1)m. This phase is sometimes referred to as the “Condon–Shortley phase.” Wikipedia follows Jackson’s convention for Plm. Some authors, e.g. Abramowitz and Stegun omit the Condon–Shortley phase.
Wikipedia also refers to Jackson’s definition as the “standard definition,” and refers to the definition which omits the Condon–Shortley phase in both the Plm and the Ylm as a “quantum mechanics” defnition of spherical harmonics, since some texts in quantum mechanics (e.g. Messiah) use that convention. Since the phase is omitted in both places, “standard” and “quantum mechanics” definitions are identical for the Ylm , but differ by the Condon–Shortley phase for the Plm.
This is apparently also the definition K. Haule uses in his CTQMC code. However, his code may scale some m by i.