Logo

Experiment 6: Quantum Interference (The Double Slit)

Experiment 6: Quantum Interference (The Double Slit)

Credits and References

Darwin's Cage Theory:

Experiments, AI Models, Architectures, and Reports:

  • Author: Francisco Angulo de Lafuente
  • Responsibilities: Experimental design, AI model creation, architecture development, results analysis, and report writing

Abstract

This experiment investigates whether an optical AI system can learn quantum interference patterns from the double-slit experiment without explicit knowledge of wave functions, superposition, or probability amplitudes. We test if a chaotic optical system can naturally resonate with interference patterns, potentially discovering quantum behavior without human concepts.

Objective

To determine if a chaos-based optical reservoir can:

  1. Learn to predict detection probabilities in the double-slit experiment
  2. Capture interference patterns (fringes) without explicit wave function concepts
  3. Do so without reconstructing human variables like "phase" or "path difference"

Methodology

1. Physical Simulator

Domain: Double-Slit Quantum Interference

Physics: The probability distribution on the screen follows: P(x)ψ1(x)+ψ2(x)2P(x) \propto |\psi_1(x) + \psi_2(x)|^2

Where ψ1\psi_1 and ψ2\psi_2 are wave functions from each slit, creating an interference pattern.

Simplified Model: P(x)=12(1+cos(2πdxλL))P(x) = \frac{1}{2}\left(1 + \cos\left(\frac{2\pi d x}{\lambda L}\right)\right)

Where:

  • dd: slit separation
  • xx: position on screen
  • λ\lambda: wavelength
  • LL: screen distance

Input Parameters:

  • Wavelength: λ[0.5,2.0]\lambda \in [0.5, 2.0] (normalized)
  • Slit separation: d[1.0,5.0]d \in [1.0, 5.0]
  • Screen distance: L[5.0,20.0]L \in [5.0, 20.0]
  • Position on screen: x[10,10]x \in [-10, 10]

Output: Detection probability at position xx

2. Dataset

  • Size: 3,000 samples (main experiment), 5,000 samples (benchmark)
  • Distribution: Random sampling of all parameters
  • Normalization: Probabilities normalized to sum to number of points

3. Models

Baseline (Darwinian):

  • Polynomial Features (degree 4)
  • Ridge Regression
  • Expected to learn the cosine relationship explicitly

Quantum Chaos Model:

  • Input: [λ,d,L,x][\lambda, d, L, x]
  • Random projection (4096 features)
  • FFT mixing (naturally captures wave-like behavior)
  • Ridge readout
  • No explicit feature engineering

4. Evaluation Metrics

  • R² Score: Prediction accuracy
  • Pattern Recognition: Number of interference peaks, correlation with true pattern
  • Cage Analysis: Correlation of internal features with:
    • Phase: ϕ=2πdxλL\phi = \frac{2\pi d x}{\lambda L}
    • Path difference: Δx=dxL\Delta x = \frac{d x}{L}
    • Wavenumber: k=2πλk = \frac{2\pi}{\lambda}

Results

Standard Performance

Within-Domain:

ModelR² Score
Darwinian Baseline0.0225
Quantum Chaos Model-0.0088

CRITICAL NOTE: Initial results showed R² = 1.0 for both models due to a normalization bug that made all outputs equal to 1.0. After fixing the bug, both models fail completely, indicating the problem is genuinely difficult.

Critical Audit (benchmark_experiment_6.py)

1. Extrapolation (Wavelength Range)

  • Test: Train on λ<1.25\lambda < 1.25, test on λ1.25\lambda \geq 1.25
  • Result: R² = -0.0213 ❌
  • Analysis: Model fails to generalize to unseen wavelengths, indicating overfitting

2. Pattern Recognition

  • Test: Generate full interference pattern and check for fringes
  • Result: 0 peaks detected, correlation = NaN ❌
  • Analysis: Model fails to capture interference fringes in full pattern prediction
  • Note: This discrepancy suggests the model may be learning point-wise predictions rather than the underlying wave structure

3. Noise Robustness

  • Test: 5% measurement noise added to training data
  • Result: R² = -0.0000 ❌
  • Analysis: Model completely fails with noise, indicating it cannot learn a robust representation

4. Cage Analysis

  • Max Correlation with Phase: 0.7339
  • Max Correlation with Path Difference: 0.7679
  • Max Correlation with Wavenumber: 0.9704
  • Mean Correlation with Phase: 0.2632
  • Status: 🟡 CAGE UNCLEAR - Intermediate correlation levels

Note: There is a discrepancy between the main experiment (max correlations ~0.4) and the benchmark (max correlations ~0.7-0.9). This suggests the cage analysis may be sensitive to the specific test set used.

Discussion

Key Findings

  1. Complete Failure: Both models fail completely (R² < 0.03), indicating the problem is genuinely difficult with the current approach.

  2. Bug Discovery: Initial results showed R² = 1.0 due to a normalization bug that made all outputs equal to 1.0. After fixing the bug, the true difficulty of the problem was revealed.

  3. No Extrapolation: The model fails to extrapolate to unseen wavelengths (R² = -0.02), indicating it cannot learn a generalizable relationship.

  4. Pattern Recognition Failure: The model fails to capture interference fringes, with negative correlation to the true pattern.

  5. Extreme Noise Sensitivity: The model completely fails (R² ≈ 0.0) with 5% noise, indicating it cannot learn a robust representation.

  6. Cage Status Unclear: Correlations with wave concepts are intermediate (0.4-0.9), but since the model fails to learn, cage analysis may not be meaningful.

Limitations

  1. Simplified Physics: The simulator uses a simplified cosine model rather than full quantum mechanics, which may not capture all aspects of quantum interference.

  2. Pattern Recognition Issue: The discrepancy between point-wise accuracy and pattern recognition suggests the model may not be learning the true interference structure.

  3. Noise Sensitivity: Extreme fragility to noise raises questions about the robustness of the learned representation.

  4. Cage Analysis Inconsistency: Different test sets yield different correlation values, suggesting the analysis may not be stable.

Comparison with Other Experiments

ExperimentDomainChaos R²ExtrapolationCage Status
1. NewtonianBallistics0.99990.751 (Partial)🔒 Locked
2. RelativityTime Dilation1.00000.944 (Strong)🔓 Broken
3. Absolute FrameHidden Variables0.9998-1.99 (Failed)🔓 Broken*
4. TransferCross-Domain-0.51 to -247N/A❌ Failed
5. ConservationCollisions0.27810.047 (Failed)🔒 Locked
6. QuantumInterference1.00001.0000🟡 Unclear

*Only within training distribution

Implications

  1. Point-Wise vs. Structural Learning: The model excels at point-wise predictions but fails at pattern recognition, suggesting it may be learning a different representation than the underlying quantum structure.

  2. Noise Robustness Trade-off: Perfect accuracy on clean data but complete failure with noise suggests the model may be memorizing exact relationships rather than learning robust physical principles.

  3. Cage Status Ambiguity: Intermediate correlations make it difficult to determine whether the model reconstructed wave concepts or found novel representations. The inconsistency across test sets further complicates interpretation.

  4. Extrapolation Success: The ability to generalize to unseen wavelengths suggests some level of structural understanding, even if the pattern recognition test fails.

Conclusion

This experiment demonstrates that:

  • Both models fail completely: R² < 0.03 indicates the problem is genuinely difficult
  • No extrapolation: Model cannot generalize to unseen wavelengths
  • Pattern recognition fails: Model does not capture interference fringes
  • Extreme noise sensitivity: Model cannot learn robust representations
  • Cage status unclear: Since the model fails to learn, cage analysis may not be meaningful

Critical Lesson: The initial R² = 1.0 results were due to a normalization bug. This highlights the importance of:

  1. Validating data generation - Always check output distributions
  2. Questioning perfect results - If something seems too good to be true, investigate
  3. Distinguishing bugs from model limitations - The bug made it seem like the model learned, but it was just memorizing a constant

The corrected results show that learning quantum interference patterns from raw parameters is a genuinely difficult problem that may require:

  • Different input representations (e.g., explicit phase features)
  • Different architectures
  • More training data
  • Explicit feature engineering

Files

  • experiment_6_quantum_interference.py: Main experiment code
  • benchmark_experiment_6.py: Critical audit and pattern recognition tests
  • experiment_6_quantum_interference.png: Performance visualizations
  • benchmark_6_results.png: Benchmark results

Reproduction

python experiment_6_quantum_interference.py
python benchmark_experiment_6.py

References

This experiment is part of the "Darwin's Cage" series investigating whether AI systems can discover physical laws without human conceptual biases. The results demonstrate both successes (extrapolation) and limitations (pattern recognition, noise sensitivity) of chaos-based approaches for quantum phenomena.

© 2025 All rights reservedBuilt with DataHub Cloud

Built with LogoDataHub Cloud