How the Harmonic Oscillator Is Solved, Why It Cannot Come to Rest, and Second Quantization

— Following the derivations in the lecture notes “Harmonic Oscillator” (1)(2)(3) and “Second Quantization” (1)–(5) (for second- and third-year undergraduates)

A point mass attached to a spring with spring constant k=mω2. In classical mechanics the energy can take any value continuously from 0, and the lowest state is “at rest.” Solving the Schrödinger equation gives En=(n+12)ℏω, so the energy is discrete, and what is more, the lower limit is lifted by ℏω/2. We derive, step by step, where these two features come from.

The conclusion first “Discrete energies” come from the boundary condition. If we require that the wave function converge to 0 as x→±∞, the series must terminate somewhere, and this becomes the condition ε=2n+1. The lifted lower limit is the uncertainty principle itself; ℏω/2 is ΔxΔp≥ℏ/2 translated into energy.

From §7 on we turn to second quantization. This is a route to the same answer that never solves a differential equation. The creation and annihilation operators that appear there are not tools for the harmonic oscillator alone. They become the common language for treating systems with many particles.

0. Setup

This is the starting point of lecture notes (1). The force exerted by the spring is F=−kx, and its potential is

(1) V(x)= 12kx2 =12mω2x2 , ω=km

The time-independent Schrödinger equation is

(2) − ℏ22m d2ψdx2 +12mω2x2ψ =Eψ
This form appears everywhere For any potential, if we Taylor-expand around a point of stable equilibrium, the first-order term is 0 (because it is an equilibrium point), and the second-order term is 12V″x2. In other words, near its bottom, every potential is a harmonic oscillator. Molecular vibrations, atoms in a crystal, and the individual modes of the electromagnetic field (the ones counted in Planck’s law) all obey this equation.

1. Intuition First (the 30-Second Version)

Why is the energy discrete? The reason is “unless it goes to 0 at infinity, it cannot be a probability.”

Quantization comes not from the equation but from the boundary condition — this is the most worthwhile point to learn from the harmonic oscillator. In the figure of §2.4, you can actually vary ε and watch the solution diverge.

2. Solving the Equation — Lecture Notes (1)

2.1 Making the equation dimensionless

Eq. (2) has ℏ,m,ω scattered all over it, which makes it hard to read, so we re-measure lengths and energies in their “natural units.”

(3) X=mωℏx , ε=2Eℏω ⟹ d2ψdX2 +(ε−X2)ψ=0

All the constants have disappeared. From here on, no physical constants appear at all. ℏ/mω is the “1 meter” of this oscillator, and ℏω/2 is its “1 joule.”

2.2 Looking at the form far away first

For large |X|, we have ε≪X2, so Eq. (3) becomes ψ″≃X2ψ. The function that satisfies this is ψ≃e±X2/2. The + sign diverges, so we discard it (boundary condition limx→±∞ψ=0). Now we look for the solution in the form

(4) ψ(X)= f(X) e−X2/2

We guess this form and substitute it. It looks like a clever trick, but all we are doing is “pulling out first the part of the answer that we already know.” Substituting it into Eq. (3), the factor e−X2/2 multiplies every term, and setting the contents of the bracket to 0 gives

(5) d2fdX2 −2X dfdX +(ε−1)f=0

This is the Hermite differential equation.

2.3 Expanding in a series

Writing f=∑kakXk and substituting into Eq. (5), then matching the coefficients of Xk, we find a relation that links neighboring coefficients.

(6) ak+2= 2k−ε+1 (k+2)(k+1) ak

2.4 Here is where quantization happens

Look at Eq. (6). For large k we have

ak+2ak →2k

But the coefficient ratio of eX2=∑jX2j/j! is likewise, if we put k=2j, exactly 2/k. In other words,

⚠ If the series does not terminate, it always diverges If the series goes on forever, then f∼eX2, and from Eq. (4), ψ∼eX2e−X2/2=e+X2/2. The divergent solution that we had so carefully discarded comes back to life. The only way to avoid this is for some coefficient to become 0 so that the series ends as a polynomial.

The series stops wherever the numerator of Eq. (6) becomes 0. Suppose it terminates at k=n, then

(7) 2n−ε+1=0 ⟹ ε=2n+1 ⟹ E=ℏω2ε =(n+12)ℏω

The energy has become discrete. This is what stands behind “ε=2n+1 (from the series solution)” in the notes. In the figure below, vary ε continuously and see what happens.

Left: ψ obtained by numerically integrating Eq. (3) from X=0. If ε deviates even slightly from the discrete values, the solution immediately diverges (the vertical axis is logarithmic). Right: the far-field value ψ(5) seen as a function of ε. Only the points where the curve crosses 0 are allowed — choosing an even function gives ε=1,5,9,…, choosing an odd function gives ε=3,7,11,…, and together they give ε=2n+1.

3. The Form of the Solution — Lecture Notes (2)

The polynomial obtained when the series is cut off at order n is the Hermite polynomial Hn(X). Fixing the constant with the normalization condition ∫|ψ|2dx=1 gives Cn=(mωπℏ)1/4/2nn!, as in the notes.

(8) ψn(x)= (mωπℏ)1/4 12nn! Hn(X) e−X2/2
nψn(x) EnShape
0 (mωπℏ)1/4e−mωx2/2ℏ 12ℏω A single hump with no nodes (Gaussian function)
1 (mωπℏ)1/42mωℏxe−mωx2/2ℏ 32ℏω One node (zero at the center)
2 (mωπℏ)1/412(2mωℏx2−1)e−mωx2/2ℏ 52ℏω Two nodes

These are the same as (i), (ii), (iii) of lecture notes (2). The number of nodes is exactly n, and the more nodes there are, the finer the wave, that is, the larger the kinetic energy. This is why the energy goes up.

4. What the Zero-Point Energy Really Is — Lecture Notes (3)

Even for n=0, E0=ℏω/2≠0. Why it cannot be made 0 can be understood without solving the Schrödinger equation. This is the argument of lecture notes (3).

In the classical energy E=p2/2m+12mω2x2, replace x and p by their “fluctuations.” For a state centered at the origin (⟨x⟩=⟨p⟩=0), this is just the mean energy ⟨E⟩. Using the inequality between the arithmetic and geometric means,

(9) ⟨E⟩= Δp22m +12mω2Δx2 ≥2 Δp22m ⋅12mω2Δx2 =ωΔxΔp

The thing to notice is that m drops out cleanly, leaving only ωΔxΔp. Inserting the uncertainty principle ΔxΔp≥ℏ/2 here gives

(10) ⟨E⟩≥ℏω2
The zero-point energy is produced by the “fluctuations in position and momentum” This is what lies behind the closing line of the notes, “The zero-point energy was an ‘energy fluctuation’ after all.” (What fluctuates is position and momentum; the energy of the ground state itself has ΔE=0 — every measurement gives ℏω/2). To come to rest, we would have to make Δp→0, and then Δx→∞, so the potential energy of the spring now becomes infinite. Conversely, if we try to pin it down at a single point, the kinetic energy diverges. In this tug of war, the best compromise is ℏω/2, and the E0 obtained in §2 agrees with it exactly.

This agreement is no accident. Equality in Eq. (9) holds when the two terms are equal, that is, when Δx=ℏ/2mω. This is exactly the width of ψ0 in Eq. (8). In fact, since σxσp=(n+12)ℏ, equality in the uncertainty principle holds only when n=0. The ground state is “a state compressed as far as the uncertainty principle allows.”

5. Absolute Zero and the Third Law of Thermodynamics

In thermal equilibrium at temperature T, the probability of being in level n is given by the Boltzmann distribution Pn∝e−En/kBT. Summing the geometric series (exactly the same calculation as on the page on Planck’s law) gives

(11) ⟨E⟩= ℏωeℏω/kBT−1 +ℏω2 = ℏω2 coth⁡ ℏω2kBT
Relation to Planck’s law The first term is exactly the expression ⟨E⟩=hν/(ehν/kT−1) that Planck used for cavity radiation. Planck’s law contains no zero-point-energy term. This is because the zero-point term does not depend on temperature, so it does not appear in the energy exchanged as thermal radiation (that is, in the spectrum). hν/2 differs from mode to mode and diverges when summed over all modes, so it cannot be pulled out as a constant common to all modes. Incidentally, in 1912 Planck himself added hν/2 in his second theory.

5.1 Absolute zero does not mean “coming to a stop”

Take the limit T→0. In coth, the argument ℏω/2kBT diverges to ∞, and coth approaches 1, so

(12) limT→0 ⟨E⟩ =ℏω2≠0

Even when every particle has dropped into the ground state, the jiggling remains. Saying “absolute zero = a state in which all motion has stopped” is natural in the language of classical mechanics, but it is not correct in quantum mechanics. The correct statement is “a state in which everything is in the ground state,” and there, zero-point motion with energy ℏω/2 always remains.

Why liquid helium does not solidify Helium remains a liquid at ordinary pressure even if it is cooled to absolute zero. Because the atoms are light (m is small) and the interatomic forces are weak (ω is small), the amplitude of the zero-point motion is so large, compared with the interatomic distance, that it cannot be neglected, and the atoms cannot settle into a crystal lattice. This is one of the few examples in which the zero-point energy is directly visible.

5.2 Why it cannot be reached

The third law of thermodynamics can be stated in two ways.

  1. Nernst’s theorem: as T→0, the entropy S→0. This is because the ground state is uniquely determined. In fact, S/kB=u/(eu−1)−ln⁡(1−e−u) (where u=ℏω/kBT) tends to 0 exponentially as T→0.
  2. Unattainability: T=0 cannot be reached by any finite number of operations.

The two are connected. Cooling is the operation of “throwing entropy out of the system,” but as T falls the remaining S becomes smaller, so the amount that can be thrown away in a single operation also decreases. Because the decrease is exponential, no number of stages will ever reach 0. However, how much can be thrown away in one step is determined by the details of the cooling operation (the coupling to the heat bath and the speed of relaxation). This is an explanation that shows the line of reasoning; it is not a theorem that follows from the ground state being unique alone.

⚠ Mind the direction of causality Saying “absolute zero cannot be reached because there is zero-point energy” involves a bit of a leap. More precisely, both start from the same fact: “the ground state is uniquely determined, and there is nothing below it,” but they say different things. “It does not stop even when we cool it” and “it cannot be cooled all the way in the first place” are different claims. The former is a property of the ground state itself, whereas the latter is a property of the cooling operation, and the two are linked through S→0 (Nernst’s formulation).

6. The Road Back to Classical Physics

Then why can’t we see quantum behavior in a spring on a desk? Lining up the numbers makes it obvious at a glance.

Systemℏω ℏω/kB σx (n=0) ⟨n⟩ at 300 K
H₂ molecule stretching mode0.546 eV6332 K 8.72 pm7×10−10
CO molecule stretching mode0.269 eV3122 K 3.37 pm3×10−5
Si optical phonon (Γ point)0.0632 eV734 K 3.43 pm0.095
Si acoustic phonon (softest mode)0.00152 eV17.6 K 22.1 pm16.5
Desk spring6.6×10−15 eV7.6×10−11 K 7.3×10−18 m3.9×1012
Two things to take away (1) At room temperature, the desk spring is at n≈4×1012. The spacing of one step is only 10−12 of the total, so the staircase looks continuous. The width of the zero-point motion, 7×10−18 m, is even smaller than the radius of a proton and cannot be measured.
(2) Conversely, at room temperature 99.997 % of CO molecules are already in the ground state. In other words, for this vibration, room temperature is, for all practical purposes, “absolute zero.” Even so, it is not at rest: it keeps up a zero-point motion of 3.37 pm (3 % of the bond length).
⚠ A crystal is not “a single harmonic oscillator” So far we have discussed a single oscillator, but a crystal containing N atoms has 3N vibrational modes (phonons), and ω depends on the wavenumber q and on the branch. The two Si rows in the table above are taken from the Si phonons calculated from first principles by the Mochizuki Research Group, and they are the two extremes. Within the same crystal, the room-temperature ⟨n⟩ ranges from 0.095 to 16.5, varying by more than two orders of magnitude. Averaged over the Brillouin zone and all branches, we get ⟨n⟩=0.59. The modes are in a range where n = 0, 1, 2, … can be counted, so the quantum nature shows up directly in measurements — the evidence is that the constant-volume molar heat capacity of Si at room temperature is 19.9 J/(mol·K), only 80 % of the Dulong–Petit value 3R=24.9.

Another route is the correspondence principle. As we increase n, |ψn|2 oscillates rapidly, but its overall shape approaches the classical probability density Pcl(x)=1/πA2−x2. In tab ① of the simulator, you can check this by raising n to 20.

7. Another Route — Second Quantization (Lecture Notes “Second Quantization” (1)(2))

In §2 we expanded Eq. (3) in a series and, from the requirement that “the series must terminate,” obtained ε=2n+1. This is the right route, but chasing the coefficients of the Hermite polynomials is laborious. Here we take a route that arrives at the same answer without ever solving a differential equation. Moreover, this tool is not limited to the story of a single harmonic oscillator. It becomes the standard language for treating systems with many particles.

7.1 Why do we need such a tool?

The Introduction of the notes When treating the wave function of a many-particle state, it is often more convenient, without writing down the wave function each time, to describe the number of particles and how it changes. For this purpose, the creation operator and annihilation operator of the particle are often used.

When dealing with fermions (such as electrons), the particle number itself seldom changes, but when we consider excited states of electrons, we have to see them as “one electron disappears and one hole is created.” For bosons (phonons, photons, and so on) the particle number changes all the time, so the creation and annihilation operators play the leading role in the description.
A note on notation In the notes, the creation operator is written aˆ+. Here, following the usual textbook convention, we write aˆ† (dagger). They are exactly the same thing. The dagger is the mark of the “Hermitian conjugate,” a notation chosen so that it will not be mistaken for a +.

7.2 Factoring the Hamiltonian

The starting point is the same Schrödinger equation as Eq. (2). With the position operator qˆ and the momentum operator pˆ=ℏiddx, it reads

(13) Hˆ=pˆ22m+12mω2qˆ2=12mω2[qˆ2+pˆ2m2ω2]

This is the starting point. A sum of two squares such as A2 + B2 can, for ordinary numbers, be rewritten as (A+iB)(A−iB) by factoring. Let us try the same thing here, and we get

12mω2(qˆ+ipˆmω)(qˆ−ipˆmω)=ℏω⋅mω2ℏ(qˆ+ipˆmω)⏟annihilation operator⋅mω2ℏ(qˆ−ipˆmω)⏟creation operator

The two blocks underlined in the notes have names.

(14) aˆ=mω2ℏ(qˆ+ipˆmω)=mω2ℏ(x+ℏmωddx)(annihilation operator) aˆ†=mω2ℏ(qˆ−ipˆmω)=mω2ℏ(x−ℏmωddx)(creation operator)

Inverting these relations, we can rewrite position and momentum in terms of aˆ, aˆ†.

(15) qˆ=ℏ2mω(aˆ+aˆ†)pˆ=−iℏmω2(aˆ−aˆ†)
However, this factorization is not exact qˆ and pˆ are operators that give a different result when the order is swapped (qˆpˆ−pˆqˆ=iℏ). If we imitate the factoring of ordinary numbers, a discrepancy appears by exactly that much. And that discrepancy is none other than the zero-point energy ℏω/2 that we met in §4. We settle the matter in §8 below.

8. Commutation Relations — Where Bosons and Fermions Part Ways (Lecture Notes (3))

8.1 [aˆ,aˆ†]=1

Multiplying out Eq. (14) straightforwardly gives the following two lines from the notes’ Evidence.

aˆaˆ†=mω2ℏ(qˆ2+pˆ2m2ω2)+mω2ℏ⋅i(pˆqˆmω−qˆpˆmω) aˆ†aˆ=mω2ℏ(qˆ2+pˆ2m2ω2)+mω2ℏ⋅i(qˆpˆmω−pˆqˆmω)

The first terms are identical, so they cancel when we subtract. Only the commutator remains, and substituting [pˆ,qˆ]=pˆqˆ−qˆpˆ=ℏi gives

(16) [aˆ,aˆ†]=aˆaˆ†−aˆ†aˆ=12ℏ{i(ℏi)−i(−ℏi)}=2ℏ2ℏ=1

8.2 Writing the Hamiltonian in a form with no ambiguity of ordering

This is the line marked “Attention” in the notes. This time, if we add, the commutator part cancels.

aˆaˆ†+aˆ†aˆ=mωℏ(qˆ2+pˆ2m2ω2)=2ℏω(pˆ22m+12mω2qˆ2)

The bracket on the right is none other than the Hˆ of Eq. (13). Therefore

(17) Hˆ=ℏω2(aˆaˆ†+aˆ†aˆ)

aˆaˆ† and aˆ†aˆ are treated on an equal footing, so there is no ambiguity about which one to write first. This is what the notes mean when they write that “the Schrödinger equation of the harmonic oscillator can be expressed as ℏω2(aˆaˆ†+aˆ†aˆ)ψn=Enψn.”

The discrepancy in the factorization = the zero-point energy The naive factorization in §7.2 was ℏωaˆaˆ†. By Eq. (16) we have aˆaˆ†=aˆ†aˆ+1, so Eq. (17) becomes Hˆ=ℏω(aˆ†aˆ+12). In other words, the naive factorization was too large by 12ℏω.

This 12ℏω is the same quantity as the one obtained from the uncertainty principle in §4. “qˆ and pˆ do not commute,” “the uncertainty principle,” and “the zero-point energy” are three ways of saying one thing — here we can see it in the equations.

8.3 For fermions, it is addition, not subtraction

In the left margin of the notes it says, “This commutation relation holds only for bosons. For fermions it is {aˆ,aˆ†}=1.” This is the passage in question. If we write the fermion operators as cˆ, cˆ†, the rules are

(18) {cˆ,cˆ†}=cˆcˆ†+cˆ†cˆ=1cˆcˆ=cˆ†cˆ†=0

Why does the sign change? When two particles of the same kind are exchanged, the many-body wave function keeps its sign for bosons and changes sign for fermions. Eqs. (16) and (18) are exactly what this “exchange sign” turns into when carried over to the commutation relations of the operators.

Pauli’s exclusion principle comes out in two lines cˆ†cˆ†=0 means, directly, that “a second particle cannot be put into the same state.” Squaring the number operator Nˆ=cˆ†cˆ and using Eq. (18) just once gives
Nˆ2=cˆ†cˆcˆ†cˆ=cˆ†(1−cˆ†cˆ)cˆ=cˆ†cˆ−cˆ†cˆ†cˆcˆ=Nˆ
In other words, Nˆ(Nˆ−1)=0. The occupation number can only be 0 or 1. This contrasts with the boson’s Nˆ, which can grow as 0, 1, 2, … without limit (in tab ⑤ of the simulator, you can play with exactly this difference).
Even for the same N, a different way of packing gives a different shape Let us put N particles into a single harmonic oscillator. If the particles are bosons, all of them can be placed in n=0, so the ground-state energy is Nℏω/2, the density stays in the shape of |ψ0|2 and is sharply peaked at the center. Fermions can occupy a state only one at a time, so they have to be stacked up from n=0 to N−1, and the ground-state energy is (N2/2)ℏω, the density has to mobilize even the many-noded ψn, and so it becomes broad and flat. If we write the number density of particles as n(x), the total number ∫n(x)dx=N is the same for both, yet the shape and the ground-state energy are completely different. Matter has volume and cannot be squeezed together because of this latter property.
However, spin has been omitted here. Tab ⑤ of the simulator also displays “Fermions — at most one per level,” but this is a way of counting that leaves out spin. Real electrons have spin ↑↓, so up to two can enter a single level, and if we recount the states as (level, spin) pairs, the argument above holds as it stands.

9. The Number Operator Nˆ=aˆ†aˆ (Lecture Notes (4))

Let us write aˆ†aˆ out again carefully. We simply substitute [qˆ,pˆ]=iℏ into the second line of §8.1.

(19) Nˆ=aˆ†aˆ=1ℏω(pˆ22m+12mω2qˆ2)−12⟺Hˆ=ℏω(Nˆ+12)

Substituting the result of §2, En=(n+12)ℏω, we obtain, as in the notes,

(20) Nˆψn=1ℏω(n+12)ℏωψn−12ψn=nψn
The meaning of n changes Up to §2, n was the number that labeled “which level it is.” Here it is the eigenvalue of Nˆ, that is, the number that counts “how many quanta are in that oscillator.” En=(n+12)ℏω can be read as “ℏω per quantum, times n quanta, plus the zero-point energy.”

Each kind of system gives these quanta its own name. For the lattice vibrations of a crystal they are phonons, and for the electromagnetic field they are photons. The heart of second quantization is that “moving up a level” and “gaining one particle” are exactly the same mathematics.
In the margin of the notes: “Swap aˆ† and aˆ and you get +½, right?” Exactly. From Eq. (16) we have aˆaˆ†=Nˆ+1, so aˆaˆ†=Hˆℏω+12. aˆ†aˆ is smaller than Hˆℏω by 12, aˆaˆ† is larger than it by 12, so the difference, 1, is exactly Eq. (16). Eq. (17) takes the mean of the two because it passes through the middle of this ±½.

10. Climbing Up and Down the Ladder (Lecture Notes (5))

The names are “creation” and “annihilation,” but what actually happens when we apply them to a wave function? The notes check this using the exact wave function for n=1. In terms of the dimensionless variable ξ=mωℏx, Eq. (14) becomes

aˆ=12(ξ+ddξ)aˆ†=12(ξ−ddξ)

10.1 The calculation in the notes

We apply the creation operator to φ1(x)=(mωπℏ)1/42ξe−ξ2/2.

aˆ†φ1=(mωπℏ)1/4[ξ2e−ξ2/2−(e−ξ2/2−ξ2e−ξ2/2)]=(mωπℏ)1/4(2ξ2−1)e−ξ2/2 =2φ2(x)

This is the notes’ line “and so we obtain =2φ2.” Conversely, applying the annihilation operator changes the sign of the middle term, and ξ2 cancels out cleanly,

aˆφ1(x)=(mωπℏ)1/4e−ξ2/2=φ0(x)

This is the notes’ line “and so we obtain =φ0(x)!” What to notice is that the shape of the wave function itself changes into that of the neighboring level.

10.2 Generalizing to arbitrary n

This is the notes’ Theorem.

(21) aˆ†φn=n+1φn+1aˆφn=nφn−1

In the figure below, you can check this by actually applying the operators numerically, as differential operators. The curve computed for aˆ†φn and the curve for n+1φn+1 coincide exactly.

Applying the ladder operators to a wave function. Gray is the original φn, and the thick blue curve is aˆ†φn or aˆφn (derivatives by numerical differences), and the red dashed curve is the right-hand side of Eq. (21). If the two curves coincide, Eq. (21) holds.

10.3 The question in the margin of the notes: “Isn’t there a smarter way?”

There is. The notes’ Evidence rewrites the expression partway using aˆ†aˆ=aˆaˆ†−1, but if we first collect it into the form of a commutator, it takes just one line.

(22) [Nˆ,aˆ†]=aˆ†aˆaˆ†−aˆ†aˆ†aˆ=aˆ†[aˆ,aˆ†]=aˆ†[Nˆ,aˆ]=−aˆ

Just apply this to Nˆψn=nψn.

Nˆ(aˆ†ψn)=(aˆ†Nˆ+aˆ†)ψn=(n+1)(aˆ†ψn)

In other words, aˆ†ψn is an eigenfunction with eigenvalue n+1. All that remains is to measure its length (normalization), which fixes the coefficient.

(23) |aˆ†ψn|2=⟨ψn|aˆaˆ†|ψn⟩=⟨ψn|Nˆ+1|ψn⟩=n+1

Its length is n+1 and its direction is ψn+1, so the first of the two relations in Eq. (21) follows. In the same way, |aˆψn|2=⟨Nˆ⟩=n gives the second one. We have never used the explicit form of the wave function. All we used were Eqs. (16) and (19).

10.4 Quantization appears once more

The equation below Eq. (23), |aˆψn|2=n, has the square of a length on its left-hand side, so it cannot be negative. That is, n≥0. But each time we apply aˆ, n decreases by 1. If it does not stop somewhere, we eventually reach n<0. The only way for it to stop is

aˆψ0=0

Counting from there gives n=0,1,2,…. The very same conclusion that we derived in §2 from “the series must terminate” has now come out without ever solving a differential equation.

Bonus: the ground state follows from a first-order differential equation Writing aˆψ0=0 out using Eq. (14) gives (ξ+ddξ)ψ0=0, that is, dψ0ψ0=−ξdξ. Integrating gives ψ0∝e−ξ2/2. This is the same as the ψ0 in Eq. (8), which we obtained in §2 by solving the second-order differential equation with a series. From here, applying Eq. (21) repeatedly gives every ψn: ψn=1n!(aˆ†)nψ0.

11. How This Helps in the Many-Body Problem

So far this has been about a single oscillator. Second quantization shows its worth when there are many particles.

If we try to write out in full the wave function of N particles, Ψ(x1,…,xN), the Slater determinant for fermions contains N! terms. For N=10 there are 3.6 million terms; for N=20 there are 2×1018 terms. That is far too many to write down on paper. (The value of the determinant itself can be found using LU decomposition in O(N3) operations. What really gets out of hand is the combinatorial explosion that arises when we superpose this determinant in many different ways to build a many-body state.)

But if we write down only “how many particles are in which level,”

|n0,n1,n2,…⟩cˆk†changesnk→nk+1

That is all it takes. The notation does not change however many particles there are. Moreover, the fermion rule that “the sign changes when two particles are exchanged” is absorbed wholesale into the anticommutation relation of Eq. (18). There is no longer any need to write a Slater determinant.

The Hamiltonian, interactions included, can be written in this form for any system.

(24) Hˆ=∑kεkcˆk†cˆk+12∑klmnVklmncˆk†cˆl†cˆmcˆn

The first term is the one-body energy and the second term is the two-body interaction (the Coulomb repulsion, for electrons). The Hartree–Fock method, perturbation theory, and Feynman diagrams all start from this equation.

Processes that change the particle number translate directly into equations Specific heat, thermal conductivity, and the electron–lattice interaction (superconductivity belongs here too) all turn out to be calculations that count the creation and annihilation of these phonons. In tab ② of the simulator we used the quantity ⟨n⟩, which is exactly “the average number of phonons in that mode.”

12. Numerical Checks

What was checkedAgreement
Recurrence-relation version of Eq. (8) vs. the explicit forms in lecture notes (2) for n = 0, 1, 2Relative difference < 4×10−16
Normalization ∫|ψn|2dX=1 (n ≤ 30) Relative difference < 2×10−13
Orthogonality ⟨m|n⟩=0 < 4×10−15
Whether Eq. (3) is satisfied (numerical second derivative)Residual < 9×10−8
⟨X2⟩=n+1/2, σxσp=(n+1/2)ℏ Relative difference < 2×10−13
Eqs. (9)(10): minimum from the arithmetic–geometric mean inequality = ℏω/2 Relative difference < 2×10−16
Coefficient ratio of Eq. (6) → 2/k (for k = 6, 10, 18: 0.57, 0.71, 0.82, approaching 1) Same behavior as eX²
Numerical integration of Eq. (3): decays only for ε=1,3,5,7,9 At eigenvalues, 10−5; elsewhere, 10+3
Eqs. (11)(12): ⟨E⟩ at T→0 is ℏω/2, and at T→∞ is kBT Relative difference < 1×10−12
Second quantization (lecture notes (2)–(5))Agreement
(21) aˆ†φn=n+1φn+1, aˆφn=nφn−1 (n ≤ 12, operators applied by numerical differences)Max. difference < 3×10−11
Coefficient n+1 measured by an overlap integralRelative difference < 8×10−12
aˆφ0=0 (bottom of the ladder, §10.4)< 2×10−13
(16) [aˆ,aˆ†]=1, (19)(20) eigenvalues of Nˆ are n (12×12 matrix representation)Max. difference < 2×10−10
(17) diagonal of Hˆ=ℏω2(aˆaˆ†+aˆ†aˆ) is n+1/2Max. difference < 1×10−10
Discrepancy of the naive factorization ℏωaˆaˆ†−Hˆ=ℏω/2 (§8.2)Max. difference < 2×10−10
(22)(23) [Nˆ,aˆ†]=aˆ†, |aˆ†ψn|2=n+1Max. difference < 2×10−10
ψn=1n!(aˆ†)nψ0 (n ≤ 10)Max. difference < 2×10−11
(18) {cˆ,cˆ†}=1, cˆ†cˆ†=0, Nˆ2=NˆExactly 0
Ground-state energy for the same N: bosons Nℏω/2 / fermions (N2/2)ℏω, ∫n(x)dx=N (tab ⑤)Relative difference < 4×10−14

13. Summary

  1. Near its bottom, every potential is 12mω2x2. That is why the harmonic oscillator appears everywhere (1)(2).
  2. Making the equation dimensionless removes all the constants, leaving the single equation ψ″+(ε−X2)ψ=0 (3).
  3. To discard the divergent solution far away, we put ψ=fe−X2/2 (4)(5).
  4. If the series does not terminate, the divergence returns. The condition for termination is ε=2n+1, that is, the quantization of the energy (6)(7). Quantization comes not from the equation but from the boundary condition.
  5. Even at the lowest level, ℏω/2 remains. This quantity follows from the arithmetic–geometric mean inequality plus the uncertainty principle alone, and n=0 realizes the equality of the uncertainty principle (9)(10).
  6. Absolute zero is not a “state at rest” but “a state in which everything is in the ground state.” It cannot be reached in a finite number of operations — because the entropy that can be discarded in one operation keeps decreasing, and how fast it decreases also depends on the details of the cooling operation (11)(12).
  7. Rewriting the Hamiltonian in terms of aˆ,aˆ† by factorization gives the same answer without solving the differential equation. The remainder due to the inexactness of the factorization, ℏω/2, is exactly the zero-point energy (13)–(17).
  8. Nˆ=aˆ†aˆ has eigenvalue n, which is “how many quanta are present.” aˆ† creates one, and aˆ removes one. The fact that the ladder stops at aˆψ0=0 is itself quantization (19)–(23).
  9. Bosons obey the commutation relation [aˆ,aˆ†]=1; fermions obey the anticommutation relations {cˆ,cˆ†}=1 and {cˆ†,cˆ†}=0. From the latter we get cˆ†cˆ†=0, that is, Pauli’s exclusion principle comes out in two lines (16)(18).
  10. When there are many particles, we write not the wave function but “how many particles are in which level.” This is second quantization, and it becomes the common language of many-body quantum theory (24).

Mochizuki Research Group, Tokyo University of Science / Based on lecture notes (in Japanese) 5. Wave Mechanics 3. Harmonic Oscillator (1) “The One-Dimensional Harmonic Oscillator,” (2) “Solutions of the One-Dimensional Harmonic Oscillator and Their Graphs,” (3) “Zero-Point Vibrational Energy and the Uncertainty Principle,” and the lecture notes “Second Quantization”: (1) “What Is Second Quantization?”, (2) “Creation and Annihilation Operators,” (3) “Commutation Relations of the Creation and Annihilation Operators,” (4) “The Number Operator,” (5) “Wave Functions of the Harmonic Oscillator and the Creation and Annihilation Operators.” The thermodynamic part of §5 and the introduction to many-body quantum theory in §11 go beyond the notes and have been added here. Numerical verification uses the recurrence relation for Hermite functions, Simpson’s rule, fourth-order Runge–Kutta, and matrix representations in which the ladder operators are applied with fourth-order central differences. The equations are typeset with the browser’s built-in MathML (there are no external libraries or network communication at all).