docs(examples): add TFIM ground-state and SU(3) Heisenberg examples - #502
Draft
lkdvos wants to merge 1 commit into
Draft
docs(examples): add TFIM ground-state and SU(3) Heisenberg examples#502lkdvos wants to merge 1 commit into
lkdvos wants to merge 1 commit into
Conversation
The gallery had no beginner entry point: every example already assumed familiarity with the API. `groundstates/0.tfim-groundstate` is a complete ground-state study of the transverse-field Ising model — the same model the tutorials use — from a product state through DMRG, magnetization and correlation functions. `excitations/1.su3-heisenberg` covers the SU(3) Heisenberg chain using `SUNRepresentations`, which is the only example exercising a non-abelian symmetry beyond SU(2). Its dispersion reproduces the soft-mode location of the reference but not the reported gap value; the page says so explicitly rather than quietly presenting the number as agreement. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Contributor
|
After the build completes, the updated documentation will be available here |
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
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.
Split out of #449. Stacked on it — merges last, after #500 and #449.
The gallery had no beginner entry point: every example already assumed familiarity with the API.
groundstates/0.tfim-groundstateis a complete ground-state study of the transverse-field Ising model — the same model the tutorials use — from a product state through DMRG, magnetization and correlation functions.excitations/1.su3-heisenbergcovers the SU(3) Heisenberg chain usingSUNRepresentations, the only example exercising a non-abelian symmetry beyond SU(2).Needs a physics call before merging: its dispersion reproduces the soft-mode location of [devos2022] but not the reported gap — this computes ≈ −0.042 against the paper's +0.0263. The page says so explicitly rather than presenting the number as agreement, but the discrepancy is unresolved. It is isolated in this PR precisely so it does not hold up the prose review in #449.
Both pages are the real output of
examples/make.jlagainst currentmain.🤖 Generated with Claude Code