Quantum Well Back
Quantum Physics

Quantum Well Energy Levels Calculator

Select semiconductor material and well type. Adjust well width and barrier height to compute energy levels, transition energies, and emission wavelengths.

Material & Structure
Material system
Well width L
nm
Barrier height V₀
eV
Results
E₁ (meV)
E₂ (meV)
λ₂₁ (nm)
Potential well & wavefunctions
Bound-state energies
StateE (meV)E (eV)Notes
Energy level chart
Theory & Key Formulas

Infinite well: $E_n = \dfrac{n^2\pi^2\hbar^2}{2m^*L^2}$

Finite well (even states): $k\tan(kL/2)=\kappa$ where $k=\sqrt{2m^ E}/\hbar$, $\kappa=\sqrt{2m^ (V_0-E)}/\hbar$.

Transition: $\Delta E = E_2 - E_1$, emission wavelength $\lambda = hc/\Delta E$.

What is a Quantum Well?

🙋
What exactly is a "quantum well"? It sounds like a tiny trap for particles.
🎓
Basically, that's a great way to think of it! It's a nanoscale layer of a semiconductor, like InGaAs, sandwiched between two layers of a different material with a wider bandgap, like GaAs. The middle layer forms a "well" where electrons and holes can be trapped, but their behavior is governed by quantum mechanics. In this simulator, you can select the material system and well type to see this in action.
🙋
Wait, really? So the electrons are just stuck in there? How does that create specific energy levels?
🎓
They're confined, not completely stuck. Because the well is so thin—often just a few nanometers—the electron acts like a wave trapped in a box. Just like a guitar string can only vibrate at certain frequencies, the electron's wavefunction can only exist at specific, discrete energy levels. Try moving the "Well Width" slider in the tool above. You'll see the energy levels shift dramatically as you change the size of the "box."
🙋
Okay, I see the levels change. But what's the difference between an "infinite" and a "finite" well? The finite one has more levels.
🎓
Great observation! An infinite well is a simplified model where the walls are impossibly high, so the wavefunction is exactly zero at the edges. A finite well is the real-world case. The barriers have a finite height, so there's a chance the electron's wave can "leak" into the barrier—a quantum tunneling effect. This changes the math and allows for more bound states. Switch the "Well Type" in the simulator and adjust the "Barrier Height" to see how the number and spacing of energy levels change.

Physical Model & Key Equations

The core physics is described by the time-independent Schrödinger equation for a particle in a potential $V(z)$. Inside the well, the potential is lower, creating bound states.

$$ -\frac{\hbar^2}{2m^*}\frac{d^2\psi(z)}{dz^2}+ V(z)\psi(z) = E\psi(z) $$

Here, $\hbar$ is the reduced Planck constant, $m^*$ is the effective mass of the electron (or hole) in the semiconductor, $\psi(z)$ is the wavefunction, $E$ is the energy of the state, and $V(z)$ is the potential profile defining the well.

For a finite well of width $L$ and barrier height $V_0$, we solve the Schrödinger equation separately in the well and barrier regions and enforce boundary conditions (continuity of $\psi$ and $(1/m^*)(d\psi/dz)$). This leads to transcendental equations that determine the allowed energy levels $E_n$.

$$ \sqrt{\frac{m^*_w E}{\hbar^2}}\tan\left(\sqrt{\frac{m^*_w E}{\hbar^2}}\frac{L}{2}\right) = \sqrt{\frac{m^*_b (V_0 - E)}{\hbar^2}}\quad \text{(for even states)} $$

Here, $m^*_w$ and $m^*_b$ are the effective masses in the well and barrier, respectively. The solutions to this equation, which you see calculated instantly in the simulator, are the discrete bound-state energies $E_1, E_2,...$.

Real-World Applications

Semiconductor Lasers (VCSELs / Edge-Emitters): Quantum wells are the active region in most modern diode lasers. By designing the well width and composition, engineers precisely control the emission wavelength. For instance, the tool can show you how changing from GaAs to GaN shifts the emission from infrared to blue/UV wavelengths.

High-Electron-Mobility Transistors (HEMTs): These high-speed transistors used in satellite communications and radar systems rely on a 2D electron gas formed at a heterojunction, which is essentially a type of quantum well. The confined electrons have very high mobility, enabling fast switching.

Quantum Cascade Lasers: These advanced mid-infrared lasers are based on a series of coupled quantum wells. Electrons "cascade" down a staircase of precisely engineered energy levels, emitting a photon at each step. Designing such a structure requires meticulous calculation of inter-subband transitions, similar to the transition energies this calculator provides.

Photodetectors and Modulators: Quantum well infrared photodetectors (QWIPs) are designed to absorb specific infrared wavelengths by tailoring the well's energy levels. Similarly, electro-absorption modulators, which encode data onto laser beams in fiber optics, use the quantum-confined Stark effect in wells to change absorption with an electric field.

Common Misconceptions and Points to Note

When you start using this tool, there are a few common pitfalls to watch out for. First, the misconception that "effective mass is a constant that only changes with material." In reality, even within the same material, its value differs depending on which band the electron is in (the conduction band or a hole in the valence band). This tool uses the conduction band electron value by default. For example, the effective mass of a hole in GaAs is much heavier than that of an electron, so even for the same well width, the energy level spacing on the valence band side is completely different. When considering light emission, you need to look at the energy levels for both electrons and holes.

Next, errors in setting the "barrier height V₀" for the finite well. This is determined by the material's "band offset," and it's often handled in units of "meV (millielectronvolts)." For instance, in the GaAs/AlGaAs system, with an Al composition ratio of 0.3, V₀ is about 300 meV. Be careful: entering "1" in the tool is interpreted as 1 eV (=1000 meV), resulting in an unrealistically large barrier. In practice, always verify the correct value from papers or datasheets.

Finally, complacency because "it's just a 1D model, so it's simple." This calculation is for an ideal, flat well. In actual devices, the well interfaces can be rough at the atomic level, and impurities may exist. Consequently, the sharp energy levels calculated here will broaden slightly in reality (lifetime shortens). The trick is to treat simulation results as an "ideal reference," using the discrepancy with measured values to assess material quality.

How to Use

  1. Enter well width in nanometers using lwVal (typical range 5–50 nm for GaAs/AlGaAs heterostructures)
  2. Set potential barrier height V₀ in millielectronvolts via v0Slider (100–500 meV for III-V semiconductors)
  3. Read computed ground state E₁ and first excited state E₂ energies, then wavelength λ₂₁ for the n=1→n=2 transition

Worked Example

For a GaAs quantum well: well width = 10 nm, V₀ = 300 meV, electron effective mass m* = 0.067m₀. The calculator yields E₁ ≈ 47 meV, E₂ ≈ 188 meV, transition energy ΔE = 141 meV, corresponding to λ₂₁ ≈ 8.8 µm in the mid-infrared. This matches experimental quantum well infrared photodetector (QWIP) absorption peaks used in thermal imaging sensors.

Practical Notes

  1. Narrower wells (≤8 nm) increase quantum confinement; E₁ shifts above 100 meV, useful for visible-range intersubband devices
  2. For InGaAs wells (m* = 0.041m₀), reduce barrier heights to 200–250 meV to maintain realistic band alignment with InP substrates
  3. Verify λ₂₁ against experimentally reported absorption spectra; deviations indicate non-ideal interface conditions or alloy composition variations