Quantum Mechanics of a Linear Harmonic Oscillator
Step 1: Understanding the Interface
When you open the simulation, you will see three main panels:
| Panel | Location | Contents |
|---|---|---|
| Control Panel | Left | Quantum parameters, preset states, quick actions, state amplitude sliders |
| Visualization | Center | Main canvas showing wavefunction, phasor clocks at bottom |
| Data & Info | Right | Live quantum data table, instructions, key concepts |
Step 2: Explore Preset Quantum States
Click on the preset buttons to observe different quantum behaviors:
| Preset | Description | What to Observe |
|---|---|---|
| Ground State (n=0) | Lowest energy state | No nodes, Gaussian-shaped probability |
| First Excited (n=1) | First excited state | One node at center |
| Superposition | Equal mix of n=0 and n=1 | Oscillating probability density |
| Coherent State | Classical-like oscillation | Wave packet moves back and forth |
| Equal Mix | All states equally weighted | Complex interference pattern |
| High Energy | Maximum quantum number | Many nodes visible |
Step 3: Control Animation Speed
- Locate the Speed slider in the Quantum Parameters section
- Move the slider to adjust the time evolution rate
- Set to 0 to freeze the animation
- Observe how different energy states rotate at different frequencies
Step 4: Adjust Coherent State Parameter (α)
- Use the Coherent State (α) slider to change the α value
- Click the Coherent State preset button to apply
- Larger α values create more classical-like behavior
- Observe:
- α = 0: Ground state only
- α = 1-2: Small oscillation
- α = 3-4: Large classical-like oscillation
Step 5: Interact with Phasor Clocks
The phasor clocks at the bottom of the canvas represent each eigenstate:
- Click and drag inside any clock circle
- Distance from center sets the amplitude |cn|
- Angle sets the initial phase of that state
- Release to see the wavefunction update immediately
Note: As you drag, real-time feedback shows:
- Current state number (n)
- Magnitude value
- Phase in degrees
Step 6: Use Individual Amplitude Sliders
- Scroll down in the left panel to find State Amplitudes
- Each slider controls one eigenstate's amplitude (n=0 to n=7)
- Adjust multiple sliders to create custom superpositions
- Click Normalize to ensure total probability equals 1
Step 7: Switch Visualization Modes
Toggle between two visualization modes:
| Mode | Button | What It Shows |
|---|---|---|
| Real/Imaginary | 📈 Real/Imaginary | Orange line: Real part of ψ; Cyan line: Imaginary part |
| Density/Phase | 🌈 Density/Phase | Height shows probability density |ψ|²; Color shows local phase |
Step 8: Analyze Live Data
Observe the Live Quantum Data panel on the right:
Table shows:
- State number (n)
- Amplitude value
- Probability |cn|²
Total Probability: Should equal 1.000 when normalized
Expected Energy ⟨E⟩: Shows average energy in units of ℏω
Step 9: Perform Experiments
Experiment A: Verify Energy Quantization
- Set Ground State preset
- Note the Expected Energy (should be 0.500 ℏω)
- Set First Excited preset
- Note the Expected Energy (should be 1.500 ℏω)
- Verify the difference is exactly 1.000 ℏω
Experiment B: Count Nodes
- Set each preset state from n=0 to n=7
- In Real/Imaginary mode, count the nodes (zero crossings)
- Verify: State n has exactly n nodes
Experiment C: Observe Coherent State Oscillation
- Set α = 3 or 4 using the slider
- Click Coherent State preset
- Switch to Density/Phase mode
- Observe the probability oscillating like a classical particle
Step 10: Record Your Observations
Fill in the observation table below:
| S.No | State (n) | Amplitude | Probability |cn|² | Energy En/ℏω |
|---|---|---|---|---|
| 1 | n = 0 | 1 | 1 | 0.500 |
| 2 | n = 1 | 1 | 1 | 1.500 |
| 3 | n = 2 | 1 | 1 | 2.500 |
| 4 | n = 3 | 1 | 1 | 3.500 |
| 5 | n = 4 | 1 | 1 | 4.500 |
| 6 | n = 5 | 1 | 1 | 5.500 |
| 7 | n = 6 | 1 | 1 | 6.500 |
| 8 | n = 7 | 1 | 1 | 7.500 |
Quick Actions Reference
| Button | Function |
|---|---|
| 🗑️ Zero All | Sets all amplitudes to zero |
| 📐 Normalize | Normalizes wavefunction so Σ|cn|² = 1 |
| 🎲 Random | Creates a random superposition |
| 🔄 Reset | Resets simulation to default state |
| ⏸️ Pause/Resume | Stops or continues time evolution |
Tips for Effective Learning
- Start simple: Begin with single eigenstates before exploring superpositions
- Compare modes: Switch between Real/Imaginary and Density/Phase to understand both representations
- Use pause: Freeze the animation to study specific configurations
- Normalize often: Keep the wavefunction normalized for meaningful probabilities
- Try extremes: See what happens with very high α values or all states equal