Sync dmrg tutorials 03-06 with alpsim.github.io reference - #120
Closed
marcusr2ML wants to merge 1 commit into
Closed
Sync dmrg tutorials 03-06 with alpsim.github.io reference#120marcusr2ML wants to merge 1 commit into
marcusr2ML wants to merge 1 commit into
Conversation
Renumber the DMRG tutorial directories to match the layout in
ALPSim/alpsim.github.io content/en/tutorials/dmrg/codes:
dmrg-01-dmrg -> dmrg-03-ground-state-energies
dmrg-02-gaps -> dmrg-04-gaps
dmrg-03-local-observables-> dmrg-05-local-observables
dmrg-04-correlations -> dmrg-06-correlations
dmrg-04-gaps:
- spin_one_half_gap: MAXSTATES 40 -> 100
- add spin_one_half_multiple (used by the exercise in dmrg04)
dmrg-05-local-observables: the tutorial now splits the S=1 chain into a
uniform and a spin-1/2-capped variant.
- add build_lattice.py, spin_one_uniform{,.py}, spin_one_capped{,.py}
- spin_one_half{,.py}: CONSERVED_QUANTUMNUMBERS "Sz" -> "N,Sz",
SWEEPS 4 -> 6, L 32 -> 64, MAXSTATES 40 -> 100
dmrg-06-correlations:
- spin_one{,.py}: fix lattice name ("especial edges 32" ->
"special edges 64"), CONSERVED_QUANTUMNUMBERS -> "N,Sz",
replace the MAXSTATES scan with L=64/MAXSTATES=100, SWEEPS 4 -> 6
- spin_one_half{,.py}: same quantum-number and L/MAXSTATES updates;
loop over Sz_total in {0,1,2} instead of MAXSTATES
- my_lattices.xml: whitespace fix on the <LATTICES> tag
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Renumber the DMRG tutorial directories to match the layout in ALPSim/alpsim.github.io content/en/tutorials/dmrg/codes:
dmrg-01-dmrg -> dmrg-03-ground-state-energies
dmrg-02-gaps -> dmrg-04-gaps
dmrg-03-local-observables-> dmrg-05-local-observables
dmrg-04-correlations -> dmrg-06-correlations
dmrg-04-gaps:
dmrg-05-local-observables: the tutorial now splits the S=1 chain into a uniform and a spin-1/2-capped variant.
dmrg-06-correlations:
"special edges 64"), CONSERVED_QUANTUMNUMBERS -> "N,Sz", replace the MAXSTATES scan with L=64/MAXSTATES=100, SWEEPS 4 -> 6
Summary
Type of change
Testing
ctest --output-on-failure)For simulation code changes
Checklist
-Wall -Wextra)Related issues