Skip to content

xXBricksquadXx/qft-fock-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab 06: Fock Space & Bosonic Field Bridge 🎻

"The Field is a collection of Harmonic Oscillators." This repository implements the transition from discrete energy levels to continuous spatial fields as presented in Leonard Susskind's Advanced QM: Lecture 6.


🔬 Scientific Objectives

This lab explores the mathematical "bookkeeping" required to describe systems where particle numbers are not fixed:

  • The Ladder Algebra: Proving the (\sqrt{n}) scaling factors that ensure state normalization when creating/annihilating particles.
  • Multiple Harmonic Oscillators: Treating a quantum field as a collection of oscillators, each representing a specific vibration mode (harmonic).
  • Bosonic Occupation: Demonstrating how multiple particles can occupy the same quantum state—the defining characteristic of Bosons.

🛠 Running the Demos

1) Ladder Scaling Verification

Validates the creation operator (a^\dagger) logic:

[ a^\dagger |n\rangle = \sqrt{n+1},|n+1\rangle ]

python demos/01_ladder_logic.py

Terminal Output:

--- Ladder Operator Scaling Test ---
State |0> --(a+)--> 1.000 * |1>
State |1> --(a+)--> 1.414 * |2>
State |2> --(a+)--> 1.732 * |3>
State |3> --(a+)--> 2.000 * |4>
State |4> --(a+)--> 2.236 * |5>

2) The Energy Interlude

Visualizes the energy contribution of different modes within the system.

python demos/03_oscillator_interlude.py

Observation: Each "mode" (oscillator) contributes energy proportional to its frequency (\omega_i) and its occupation number (n_i).


3) Bosonic Field Density

The final bridge. This maps the occupation of various oscillators into a single spatial observable: the Particle Number Density (\langle \Psi^\dagger(x),\Psi(x) \rangle).

python demos/04_boson_density.py

📂 Repository Architecture

qft-fock-lab/
├── src/fock/             # Core Logic
│   ├── ladder.py         # a+ and a- scaling logic ([a, a†] = 1)
│   ├── oscillators.py    # Energy management for multiple modes
│   └── field_op.py       # The Bridge: Pulling system modes into space
├── demos/                # Lab Experiments
│   ├── 01_ladder_logic.py
│   ├── 03_oscillator_interlude.py
│   └── 04_boson_density.py
└── assets/               # Visual documentation (drop screenshots here)

📊 Visual Results

Demo 03 — Oscillator Interlude Demo 04 — Boson Density
Oscillator Interlude Boson Density
Multi-mode oscillator energy intuition (frequency × occupation). Spatial particle-number density ⟨Ψ†(x)Ψ(x)⟩ from summed bosonic modes.

🎓 Summary of the "Boson" Wrap-up

In this lab, we proved that the Field Operator (\Psi(x)) is not just a mathematical convenience. By summing up the contributions of individual oscillators (Bosonic modes), we create a field that can account for:

  • Vacuum Energy: The 7.5 units of energy present even when all (n_i = 0).
  • Particle Locality: Where the "humps" in the magenta density plot reveal the most likely positions of the particle collection.

🎓 Credits & Material

Inspiration: Leonard Susskind's Theoretical Minimum
Lecture Source: Advanced QM: Lecture 6 - QFT (YouTube playlist)

"The goal is to make the invisible, visible." — Leonard Susskind

Note: Outputs prioritize clarity and conceptual correctness over high-precision numerics.

About

A computational laboratory translating Leonard Susskind’s Advanced Quantum Mechanics (Lecture 6) into Python. Implements Fock Space algebra, Bosonic creation/annihilation operators, and the transition from discrete harmonic oscillators to continuous field observables.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages