Infinite quantum well#
Last update: 2026/04/21
- Files for the tutorial located in nextnano++\examples\quantum_mechanics
quantum_confinement_1D_infinite_well.nnp
Contents
Eigenstates and wave functions#
Wave functions of electrons \(\psi_\mathrm{n}\left(x'\right)\) confined by infinite energy barriers in a space of length \(L\) centered at the origin of the coordinate system are given by
Here \(x' = x + L/2\) due to considering the confinement symmetric around the \(x=0\). The eigenenergies of these states are
where \(m_0\) is the mass of a stationary electron.
Let us choose \(L\) such that \(E_1 = 1\;\text{eV}\). Then the allowed energies are expressed simply as \(E_n = n^2\) and \(L\approx 0.6132\;\text{nm}\).
n |
computed values (eV) |
analytical solutions (eV) |
relative error |
|---|---|---|---|
1 |
0.999778988 |
1 |
\(2.2\cdot10^{-4}\) |
2 |
3.996464719 |
4 |
\(8.8\cdot10^{-4}\) |
3 |
8.982110520 |
9 |
\(2.0\cdot10^{-3}\) |
4 |
15.94349536 |
16 |
\(3.5\cdot10^{-3}\) |
5 |
24.86215888 |
25 |
\(5.5\cdot10^{-3}\) |
The computed eigenvalues can be found in bias_00000/Quantum/quantum_well/Gamma/energy_spectrum_k00000.dat.
Eigenfunctions and are stored in bias_00000/Quantum/quantum_well/Gamma/amplitudes_k00000.dat.
The results are shown in the figure below.
Figure 86 Electron wave functions in an infinite quantum well (left) and corresponding eigenenergies (right).#
Note
It may happen that wave functions obtained in numerical simulations have different phases than these obtained analytically, which is expected as the wave functions in the stationary Schrödinger equation are defined up to arbitrary phase. Note that this happened to the second state in our simulation. When you will run the input file, other states may be calculated with different phases. It depends on the processor of your computer and memory allocation.
Hint
Even better solutions can be obtained by reducing the grid spacing.
Attention
The grid spacing can be reduced only down to 1e-3 nm, as it is more than sufficient for simulations of electrons in semiconductors.
The next figure shows how the computed eigenenergies change with varying well width and effective mass of the electron.
Figure 87 Eigenenergies in an infinite quantum well as a function of the well width and the electron effective mass. (a) Eigenenergies as the well width varies from \(L\) to \(20L\). The dashed vertical line marks the width \(10L \approx 6.132 \text{ nm}\), which is used in panel (b). (b) Eigenenergies versus effective mass from \(0.01\) to \(1\) for the fixed well width of \(10L\).#
Momentum matrix elements#
To evaluate probabilities of optical due to absorption of a photon flying in the plane of the quantum well with electric field oscillating perpendicular to it (the x direction), one should calculate momentum matrix elements.
Note
Detailed definitions covering for crystals can be found in envelope momentum matrix elements.
The wave functions in this case are either even or odd. As the derivatives change the parity of any function they act upon, the integral (47) is non zero only for wave functions of different parities, e.g., \(\MatMomentum_{13}=\MatMomentum_{15}=\MatMomentum_{25}=0\) but \(\MatMomentum_{12}=\MatMomentum_{23}=\MatMomentum_{14}\neq 0\).
In the case of an infinite quantum well, the momentum matrix elements can be calculated analytically as
\(\psi_i\) |
\(\psi_j\) |
computed \(|\MatMomentum_{ij}|\) (\(\hbar/\text{nm}\)) |
analytical solution (\(\hbar/\text{nm}\)) |
relative error |
|---|---|---|---|---|
1 |
2 |
4.34387 |
4.348679405 |
\(1.1\cdot10^{-3}\) |
1 |
4 |
1.73293 |
1.739471762 |
\(3.8\cdot10^{-3}\) |
2 |
3 |
7.80515 |
7.827622928 |
\(2.9\cdot10^{-3}\) |
2 |
5 |
3.08629 |
3.106199575 |
\(6.4\cdot10^{-3}\) |
3 |
4 |
11.12060 |
11.18231847 |
\(5.5\cdot10^{-3}\) |
4 |
5 |
14.36460 |
14.49559802 |
\(9.0\cdot10^{-3}\) |
The computed momentum matrix elements can be found in bias_00000/Quantumquantum_well/Gamma_Gamma/momentum_matrix_elements_k00000.*.
Oscillator Strengths#
Momentum matrix elements can be further used to evaluate dimensionless oscillator strengths, measuring probability of absorption and emission of a photon.
In the case of an infinite quantum well one can get \(f_{21} = \,256\, m_0 /27\,\mathrm{\pi}^2 \approx 0.063885\) which is independent of the well width.
In the case of an infinite quantum well, the matrix elements can be calculated analytically as
\(\psi_i\) |
\(\psi_j\) |
computed \(f_{ij}\) |
analytical solution |
relative error |
|---|---|---|---|---|
1 |
2 |
0.9596130 |
0.960674926 |
\(1.1\cdot10^{-3}\) |
1 |
4 |
0.0306258 |
0.030741598 |
\(3.8\cdot10^{-3}\) |
2 |
3 |
1.8621900 |
1.867552057 |
\(2.9\cdot10^{-3}\) |
2 |
5 |
0.0695704 |
0.070020038 |
\(6.4\cdot10^{-3}\) |
3 |
4 |
2.7073500 |
2.722379092 |
\(5.5\cdot10^{-3}\) |
4 |
5 |
3.5258800 |
3.558055283 |
\(9.0\cdot10^{-3}\) |
The computed momentum matrix elements can be found in bias_00000/Quantum/quantum_well/Gamma_Gamma/oscillator_strengths_k00000.*.
Dipole moment#
In some cases dipole moment is preferred to be used to analyze optical transitions.
where \(\ElementaryCharge\) is the elementary charge.
In the case of an infinite quantum well, the dipole matrix elements can be calculated analytically as
\(\psi_i\) |
\(\psi_j\) |
computed \(|\MatMomentum_{ij}|\) (\(\hbar/\text{nm}\)) |
analytical solution (\(\hbar/\text{nm}\)) |
relative error |
|---|---|---|---|---|
1 |
2 |
0.11045600 |
0.110455938 |
\(-5.6\cdot10^{-7}\) |
1 |
4 |
0.00883642 |
0.008836475 |
\(+6.2\cdot10^{-6}\) |
2 |
3 |
0.11929200 |
0.119292413 |
\(+3.5\cdot10^{-6}\) |
2 |
5 |
0.01127090 |
0.011271014 |
\(+1.0\cdot10^{-5}\) |
3 |
4 |
0.12172700 |
0.121726952 |
\(-3.9\cdot10^{-7}\) |
4 |
5 |
0.12272900 |
0.122728820 |
\(-1.5\cdot10^{-6}\) |
The computed momentum matrix elements can be found in:output:bias_00000/Quantum/quantum_well/Gamma_Gamma/dipole_moment_matrix_elements_k00000.*.
- Acknowledgment
This site is co-funded by European Union within the project CHIPS of Europe connecting universities and industry to train the next generation of semiconductor experts.