One idea, 4 fields

Quantization Discreteness

The unifying principle

Quantization is what happens when a continuous variable is confined or discretized, forcing solutions to satisfy a countable condition.

The archetype is a boundary/periodicity constraint. Confine a wave to a region of size LL and demand it fit (nodes at the walls):

knL=nπkn=nπL,nZ+k_n L = n\pi \quad\Rightarrow\quad k_n = \frac{n\pi}{L}, \qquad n \in \mathbb{Z}^+

The continuous wavenumber kk becomes an indexed set {kn}\{k_n\}. The equivalent statement in the digital world is a quantizer map QQ that sends the real line to a lattice with step Δ\Delta:

Q(x)=ΔxΔ+12,Δ=range2nQ(x) = \Delta \left\lfloor \frac{x}{\Delta} + \tfrac{1}{2} \right\rfloor, \qquad \Delta = \frac{\text{range}}{2^n}

Both are the same move: an infinite-precision continuum → an integer-indexed grid, with a characteristic quantum (ω\hbar\omega, Δ\Delta, one bit) below which distinctions vanish.

How it shows up in each field

Physics — energy levels

Solving 22mψ=Eψ-\frac{\hbar^2}{2m}\psi'' = E\psi in a box of width LL with ψ(0)=ψ(L)=0\psi(0)=\psi(L)=0 gives exactly the standing-wave condition above:

En=n2π222mL2E_n = \frac{n^2 \pi^2 \hbar^2}{2mL^2}

Chemistry — orbitals and spectra

Same boundary logic on the atom (spherical, periodic in angle). For hydrogen:

En=13.6 eVn2E_n = -\frac{13.6\ \text{eV}}{n^2}

Transitions between rungs emit fixed-frequency light: hν=EiEfh\nu = E_i - E_f.

Hardware — ADC sampling

Rounding to the nearest code injects quantization noise. Modeled as uniform error over [Δ/2,Δ/2][-\Delta/2, \Delta/2]:

σq2=Δ212SNRmax=6.02n+1.76 dB\sigma_q^2 = \frac{\Delta^2}{12} \quad\Rightarrow\quad \text{SNR}_{\max} = 6.02\,n + 1.76\ \text{dB}

Coding/CS — bits and finite precision

A float32 doesn't cover R\mathbb{R} — it covers a finite, unevenly-spaced set. The gap between adjacent representable numbers is the machine epsilon rung:

ε223 (for float32 mantissa)\varepsilon \approx 2^{-23} \ (\text{for float32 mantissa})

Why this bridge matters

  • The "noise floor" intuition transfers both ways. ADC quantization noise Δ2/12\Delta^2/12 is the engineer's version of the physicist's zero-point energy: you cannot resolve below one quantum, and pretending you can just adds error. Understanding one demystifies the other.
  • Spacing = information. Line spectra let chemists identify atoms; code spacing lets CS bound representable numbers. Both say: the finer the rungs, the more you can distinguish — and finer rungs always cost more (energy, bits, or VrefV_{ref} headroom).
  • Boundary conditions create discreteness everywhere. Confinement quantizes (quantum dots have tunable EnE_n because you tune LL); this is exactly why smaller transistors and smaller nanocrystals both show size-dependent discrete behavior.
  • Sampling theorem ↔ uncertainty. Nyquist (fs>2fmaxf_s > 2f_{max}) and Heisenberg (ΔxΔp/2\Delta x\,\Delta p \geq \hbar/2) are cousins: discretizing one domain limits resolution in its conjugate. Time-sampling ↔ frequency aliasing mirrors position ↔ momentum.

Connections

  • 01-Physics-Particle-in-a-Box
  • 02-Physics-Photon-Energy-hv
  • 03-Chemistry-Atomic-Orbitals
  • 04-Chemistry-Line-Spectra
  • 05-Hardware-ADC-and-Sampling
  • 06-Hardware-Quantization-Noise-SNR
  • 07-CS-Floating-Point-Representation
  • 08-CS-Neural-Network-Quantization
  • 09-Math-Nyquist-Sampling-Theorem

#bridge

h·ν photons

Δ²/12 noise ↔ zero-point

n bits sets Δ

line = distinguishable state

Quantization:
continuum → discrete lattice
with quantum Δ / ℏω

Physics
Eₙ energy levels

Chemistry
orbitals & spectra

Hardware
ADC codes, Δ=V_ref/2ⁿ

Coding/CS
bits & float precision

Connected notes