Repository navigation
Add double well notebook (D6) - #20
Merged
Merged
Conversation
Tunneling splitting from lowest_eigenstates, from the tunneling oscillation of <x> and from the autocorrelation spectrum; resonant and detuned Rabi oscillations compared with the rotating wave approximation; coherent destruction of tunneling, with a scan of the stroboscopic left-well probability against the two-state J0 prediction. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MjBTTx7zRUNSFYGDpyPsTp
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Alex · project thread
Item D6 of the plan:
notebooks/09_double_well.ipynb, quartic double well V₀(x²/a² − 1)² (V₀ = 5, a = 1.5) with an optional drive F·x·cos(ωt), defined as a smallPotential1dsubclass in the notebook.lowest_eigenstatesgives Δ = 0.0430; ⟨x⟩(t) of ψ_L = (φ₀ − φ₁)/√2 follows −x₀cos(Δt); theAutoCorrelationspectrum of a Gaussian in the left well resolves the doublet (0.0430, resolution 0.0036). Plus a shortanimate1dof the tunneling.Runs in about 20 s.
ruff check/ruff format --checkpass.Side note, not changed here:
grid.psi = arrdoes not copy whenarralready has the grid's dtype, and the in-place propagation then changesarrtoo. That silently corrupted reused start states in my first draft; the notebook now passes.copy(). Copying in the setter might be worth a separate small PR.Generated by Claude Code