Fundamentals / Physics / Quantum mechanics

Confinement and spectral geometry

Map a two-dimensional boundary-value problem to quantum energies and determine which information an energy spectrum can reveal about a well.

From first principles

Derive a rectangular billiard spectrum from its boundary conditions

Take a free particle of mass \(m\) confined by infinite potential walls on the rectangle \(0<x<a\), \(0<y<b\). The potential is zero inside and the wave function vanishes at each edge. Use \(\psi=X(x)Y(y)\) in the stationary Schrödinger equation and divide by the product. A function of \(x\) plus a function of \(y\) equals a constant everywhere, so the contributions must separately be constant:

\[-X''/X=k_x^2,\]
\[-Y''/Y=k_y^2,\]
\[E=\hbar^2(k_x^2+k_y^2)/(2m).\]

The boundary at zero in each coordinate selects sine solutions. At the opposite walls those sines must vanish again, allowing only an integer number of half-wavelengths:

\[k_x=n\pi/a,\]
\[k_y=j\pi/b,\]
\[E_{nj}=\frac{\hbar^2\pi^2}{2m}\left(\frac{n^2}{a^2}+\frac{j^2}{b^2}\right),\quad n,j\ge1 .\]

A zero index would give the identically zero function here. Scaling both lengths by the same factor \(s\) reduces every energy by \(s^{-2}\) while preserving degeneracy patterns. For more complicated domains, direct separation is generally unavailable, but the same Dirichlet eigenvalue problem determines the allowed squared wave numbers.

Derivation and applications

How do the walls modify the leading state count?

The area term in a quantum billiard counts allowed wave vectors as though they were continuous. The finite perimeter removes a systematic number of states from this estimate. Take a rectangular two-dimensional domain of sides \(a,b\), an infinitely high wall on each side, and one spin species. The separated standing waves vanish at both ends; consequently their positive integer labels start at one. Let \(K\) be a cutoff in wave number. The exact count is a lattice-point problem:

\[N(K)=\#\{(n,m):n,m\ge1,\;(\pi n/a)^2+(\pi m/b)^2\le K^2\}.\]

For clarity mirror the quarter ellipse into all four quadrants in the integer \((n,m)\) plane. Every interior positive pair then contributes four points. A point on either axis belongs to none of the physical Dirichlet modes, and the origin also has to be removed. Denoting the full-ellipse count by \(N_{\rm full}\) gives the exact identity

\[4N=N_{\rm full}-2\lfloor aK/\pi\rfloor-2\lfloor bK/\pi\rfloor-1 .\]

A smooth local average at large \(K\) replaces the full-ellipse count by area \(\pi(aK/\pi)(bK/\pi)\) to leading order. Retain the leading subtractions from the axes, whose lengths grow linearly with \(K\). With physical area \(A=ab\) and perimeter \(P=2(a+b)\) this yields

\[\overline N(K)\simeq \frac{AK^2}{4\pi}-\frac{PK}{4\pi}.\]

The bar signifies a count smoothed over nearby thresholds. Fluctuations in exact lattice-point counts and constant corner contributions remain. This is a cumulative estimate for many states; it cannot resolve individual degeneracies. For a quadratic dispersion relate wave number to energy by \(E=\hbar^2 K^2/(2m^*)\) at effective mass \(m^*\).

Worked example

Compare the area estimate with exact enumeration

Take a square of side \(L\) with \(KL/\pi=5\). Positive pairs satisfy \(n^2+m^2\le25\). For \(n=1,2,3,4\) the allowed counts are \(4,4,4,3\), giving \(15\) in all. The area estimate alone gives \(25\pi/4=19.63\), while the perimeter subtracts \(5.00\), leaving \(14.63\). Agreement near this cutoff illustrates the systematic correction; it is not an exact equality.

Second application

Distinguish two billiards with the same area

At fixed area \(100\) nm², compare a \(10\times10\) nm square and a \(20\times5\) nm rectangle. Their perimeters are \(40\) and \(50\) nm. At \(K=5.00\) nm⁻¹ both leading area counts are \(198.9\). The wall terms reduce them to about \(183.0\) and \(179.0\) states. Thus the longer perimeter reduces the smooth count by an estimated 3.98 states at the same cutoff. Spin degeneracy would multiply both predictions and their difference by two.

Try it · Weyl

Vary the physical parameters in the derived relation. Use the units and assumptions in the readout to connect the curves to the two worked examples. A parameter study can test the forward prediction; the same relation can then be inverted to infer a parameter from a measurement.

OneSimulation laboratory

Turn spatial eigenvalues into confinement energies

Start from this chapter. Two shapes can have the same Dirichlet spectrum. Compare their numerical ground energies at fixed scale, inspect their different mode shapes, then double the length scale without changing the shape.

Compare recorded OneSimulation runs on this page. To test your own inputs, download the notebook and model files and run the model in an activated OneSimulation environment.

The isospectral drums notebook solves the Dirichlet eigenproblem on two polygons. It reports lam, the dimensionless squared wave number \(\lambda_n=k_n^2\ell^2\). Its length unit is 0.1 m for the drum. To interpret a geometrically similar quantum well, assign that unit a quantum length \(\ell\) in metres. Read the shapes and eigenvalues from the spatial solve; quantum time evolution and measurement probabilities for a chosen state follow analytically. Dirichlet spectra for two different outlines.

Run through the notebook’s results, then add this cell. It converts all ten computed eigenvalues into electron energies. sizes[-1] selects the supplied 0.005 m mesh.

from scipy.constants import hbar, electron_mass, electron_volt

def energies_eV(shape, length_unit_m):
    lam = runs[shape, sizes[-1]]["lam"]
    k_squared = lam / length_unit_m**2             # 1/m²
    return hbar**2 * k_squared / (2 * electron_mass * electron_volt)

print(energies_eV("drum A", 1e-9))
print(energies_eV("drum B", 1e-9))
print(energies_eV("drum A", 2e-9))
  1. Baseline. Assign 1 nm to the length unit in shape A. Check that the lowest dimensionless value agrees with 2.537944 within 0.01%, giving \(E_1\) near 0.09670 eV. The 1 nm unit sets the geometric scale of the polygon.
  2. Change the outline. Select shape B at the same scale. Compare the ground energies within 0.01% and inspect the first-mode maps. Equal eigenvalues can coexist with different spatial distributions.
  3. Change the confinement length. Keep shape A and set its quantum length unit to 2 nm. Check \(E_1(2\,\mathrm{nm})/E_1(1\,\mathrm{nm})=1/4\) and verify the ratio for an excited state. No new mesh is required for this exact uniform scaling.
Numerical Dirichlet eigenvalues mapped to electron ground-state energies
Quantum wellLowest eigenvalue λ₁Mapped energy (eV)
Shape A, 1 nm unit2.5379610.09669586
Shape B, 1 nm unit2.5379660.09669606
Shape A, 2 nm unit2.5379610.02417397
Both polygonal wells give nearly the same ground energy at the 1 nm length scale. Doubling the scale quarters the energy inferred from the spatial eigenvalue.
Both polygonal wells give nearly the same ground energy at the 1 nm length scale. Doubling the scale quarters the energy inferred from the spatial eigenvalue.
Download experiment files (ZIP) Extract the files together and open isospectral_drums.ipynb in a local OneSimulation environment.

Problem sheet 6 · Which energy change really establishes a length change?

Read the model setup and preparatory problems

A domain becomes part of the Hamiltonian

Constrain a nonrelativistic spinless particle of mass \(m\) to a flat region \(\Omega\) with perfectly impenetrable walls. There is no potential inside. The wavefunction vanishes on the boundary, and square-integrability fixes its overall norm. The stationary equation becomes \(-\nabla^2\psi=k^2\psi\) with \(E=\hbar^2k^2/(2m)\). Thus the Laplacian, together with its domain and boundary condition, determines the spectrum. An acoustic pressure mode at a rigid reflecting wall generally has a different boundary condition and cannot be transferred unchanged.

For a rectangle with sides \(a,b\), write \(\psi=X(x)Y(y)\). Separation and the four zero-value conditions give \(X\propto\sin(n_x\pi x/a)\), \(Y\propto\sin(n_y\pi y/b)\) with positive integers. The energies are proportional to \(n_x^2/a^2+n_y^2/b^2\). If \(a=b\), exchanged index pairs give a degeneracy when unequal. Mildly stretching one side splits such a pair because nodes along the stretched direction cost less gradient energy.

Scaling and counting states

Under uniform dilation \(\mathbf r=s\mathbf r'\) the gradient becomes

\[\nabla_{\mathbf r}=s^{-1}\nabla_{\mathbf r'}.\]

All eigenvalues of \(-\nabla^2\) and all energies fall by \(s^2\) in the denominator while nodal patterns simply stretch with the boundary. This result holds for any shape and any level of the empty hard-wall well. A potential with a fixed external length scale would add another term whose scaling requires separate analysis.

For highly excited modes, count the allowed points inside a wavenumber disk. In a large rectangle the spacing is \(\pi/a\) by \(\pi/b\), and only the positive quadrant contributes. Dividing its area by one state’s area gives

\[N(k)\simeq\frac{ab\,k^2}{4\pi}=\frac{A k^2}{4\pi}.\]

The leading counting law extends to smooth or piecewise smooth domains, and the Dirichlet boundary gives a subleading term \(-Pk/(4\pi)\) for perimeter \(P\) under the usual asymptotic conditions. It predicts the general growth of the level count. At small \(k\), discreteness and geometry dominate and an individual ground level cannot be inferred from area alone.

Test an inference about shape

For an electron in a 2.00 nm square, \(\hbar^2/(2m_e)=0.03810\) eV nm² and the ground energy is

\[0.03810\times2\pi^2/(2.00)^2=0.188\,\mathrm{eV}.\]

Doubling just one side gives

\[0.03810\pi^2(1/4+1/16)=0.118\,\mathrm{eV}.\]

Doubling both gives \(0.0470\) eV. These outcomes distinguish directional stretching from uniform dilation.

Now compare the two irregular wells in the Dirichlet eigenmode experiment. With a physical length unit of 1 nm, their first dimensionless eigenvalues are both about 2.538, giving electron ground energies about \(0.0967\) eV. Predict their energies with a 2 nm unit, then verify the lowest stored level drops to \(0.0242\) eV for the rescaled well while its dimensionless eigenvalue stays fixed. Agreement of a few computed levels within numerical error alone cannot establish exact isospectrality. Known noncongruent isospectral domains show why even a full list of spectral lines need not uniquely specify a boundary.

The mass scaling offers a separate diagnostic on the conversion from spatial eigenvalues. Replacing the electron by a hypothetical particle of double its mass halves every mapped energy at fixed shape and physical size. No spatial eigenproblem has to be solved again because the mass occurs only in the conversion factor.

Open one direction and obtain a threshold spectrum

A closed rectangular well has discrete levels in both directions. A long conducting strip with hard side walls and open longitudinal ends has confinement in only one. Assume a nonrelativistic particle of effective mass \(m^*\), width \(W\) in \(y\) and unrestricted position \(x\), with zero interior potential. A separated solution is

\[\psi=e^{ik_xx}\sin(n\pi y/W).\]

The energy follows directly from the Laplacian,

\[E_n(k_x)=\frac{\hbar^2 n^2\pi^2}{2m^*W^2}+\frac{\hbar^2k_x^2}{2m^*}=E_n^\perp+\frac{\hbar^2k_x^2}{2m^*}.\]

Each transverse eigenfunction supplies a propagation channel only when the total energy exceeds its threshold \(E_n^\perp\). Below threshold \(k_x\) is imaginary and a corresponding component excited at an interface decays along the strip. The group velocity in an open channel is \(\hbar k_x/m^*\) and tends to zero at threshold.

For a normalization length \(L_x\), periodic boundary conditions place successive \(k_x\) values \(2\pi/L_x\) apart. Counting both propagation directions gives \(N_n/L_x=k_x/\pi\) below a chosen energy above threshold, per spin state. Differentiating with respect to energy yields a density of states per unit length proportional to \((E-E_n^\perp)^{-1/2}\). Slow longitudinal motion near an opening creates an enhanced number of states per energy interval. The ideal divergence is integrable: the total number added in a small energy window remains finite. Finite temperature, disorder and instrumental resolution round the singular feature.

Count channels in a semiconductor strip

Take \(W=20.0\) nm and \(m^*=0.0670m_e\). Then \(\hbar^2/(2m^*)=0.0381/0.0670=0.569\) eV nm². The first threshold is

\[E_1^\perp=0.569\pi^2/(20.0)^2=14.0\,\mathrm{meV}.\]

The second is \(56.1\) meV and the third \(126\) meV. At 70.0 meV two transverse modes carry travelling waves. The second has kinetic energy in the longitudinal direction of \(13.9\) meV, giving \(k_x=\sqrt{0.0139/0.569}=0.156\) nm⁻¹. Its wavelength along the strip is \(2\pi/k_x=40.3\) nm, considerably longer than the width.

Reduce the width to 16.0 nm while keeping the reservoir energy fixed. Every transverse threshold rises by \((20/16)^2=1.5625\), so the second moves to \(87.7\) meV and closes. A wave launched from the original wide section may then reflect or populate an evanescent component at the narrowing. Resolving those reflection amplitudes requires matching fields at the interface. The threshold count alone predicts how many modes remain available far beyond it, furnishing a useful test before doing a full scattering calculation.

A threshold can be recognized without measuring absolute particle energy if the width is varied systematically. Plot an identified onset energy against inverse squared width. In a strip with a constant, spatially uniform band-edge offset the slopes are in the ratio of squared transverse quantum numbers while the intercept gives that common offset. A finite confining barrier permits wavefunction penetration beyond the nominal geometric boundary and lowers the transverse energy compared with a hard wall of the same width. Checking several mode onsets helps distinguish effective width changes from a shift of the entire interior potential.

Such comparisons should use the same effective mass throughout the fitted energy range.

Try it · Scale the recorded polygon spectrum

Keep the polygon shape and hard-wall boundary condition fixed while changing its uniform length unit or the particle mass. The reference is the actual OneSimulation polygon-A ground energy, 0.09669586 eV at 1 nm for an electron. This calculation converts that stored eigenvalue into a physical energy; it does not recompute the spatial mesh. Doubling the length should give 0.02417397 eV. Doubling the mass instead should give 0.04834793 eV.

Open the OneSimulation polygon eigenproblem, code and output

Lift a square cavity’s degeneracy at fixed area

Stretch a hard-wall two-dimensional box without changing its area \(A=L_xL_y\). In units \(\pi^2\hbar^2/(2mA)\), separation of variables gives \(n_x^2/r+n_y^2r\). The overall length scale is fixed, so all shifts here arise from shape.

Lift a square cavity’s degeneracy at fixed area. Horizontal axis: Rectangle aspect ratio Lₓ/Lᵧ. Vertical axis: Energy / rectangular energy unit. Data follow the figure.
At the square the (1,2) and (2,1) states share energy 5. At aspect ratio 1.25 the levels move to 5.8 and 4.45. These independent separable branches cross exactly at the square; a generic symmetry-breaking coupling can instead cause level repulsion.
Try it · Billiard

Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.

Read values from the plot
Energy / rectangular energy unit at selected values of Rectangle aspect ratio Lₓ/Lᵧ.
Rectangle aspect ratio Lₓ/Lᵧ(nₓ, nᵧ) = (1, 1)(nₓ, nᵧ) = (1, 2)(nₓ, nᵧ) = (2, 1)
0.652.18854.13856.8038
0.8752.01794.64295.4464
1.12.00915.30914.7364
1.3252.07976.05474.3439
1.552.19526.84524.1306

Download all 301 plotted samples (CSV)

Study the full derivation

What a momentum eigenstate means in a finite experiment · Quantum states, dynamics and measurement

A detector never counts a perfectly sharp momentum eigenket. Derive continuum normalisation from a finite box, change the spectral measure from momentum to energy and predict the full evolution of a normalisable Gaussian packet.