Created
January 21, 2026 14:55
-
-
Save BrianMartell/5a8b1b376c3446efe39bffa7d1aa19f4 to your computer and use it in GitHub Desktop.
PUH-BrianMartell puh_quantum_coherence_photosynthesis_simulation.py-Updated New Py Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| # PUH v25: Quantum Coherence Photosynthesis Sim — Population Transfer Coherent vs Incoherent | |
| t = np.linspace(0, 2000, 500) # Time fs arb. ~ps scale | |
| coherent = np.sin(0.01 * t)**2 # Oscillatory coherent beating toy | |
| incoherent = 1 - np.exp(-t / 500) # Slow exponential incoherent hop toy | |
| plt.figure(figsize=(10,6)) | |
| plt.plot(t, coherent, label='Coherent Braid Ripple Surfing Fast Oscillatory', color='cyan', lw=2) | |
| plt.plot(t, incoherent, '--', label='Incoherent Random Drag Slow Hopping', color='gold', lw=2) | |
| plt.xlabel('Time (fs arb.)'); plt.ylabel('Reaction Center Population (arb.)') | |
| plt.title('PUH v25: Quantum Coherence Photosynthesis Sim') | |
| plt.legend(); plt.grid(alpha=0.3) | |
| plt.tight_layout() | |
| plt.savefig('puh_quantum_coherence_photosynthesis_simulation.png', dpi=300) | |
| plt.show() | |
| print("Coherent fast oscillatory beating, incoherent slow exponential — braid phase-locked efficiency.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment