dmrg: a transverse-field site term (Sx) is silently dropped; the result is the field-free energy of a four-site chain
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
The payload narrows the fault to dmrg, while sparsediag handles the same model term correctly; it does not name source files or tests. Start by tracing how dmrg receives and uses non-diagonal site terms when conserved quantum numbers are unset, then compare that path with sparsediag. Done means the Gamma cases return energies that depend on the field and agree with the reference values, or the input is explicitly rejected.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
With any model containing the site term -Gamma*Sx(i), dmrg returns an
energy that does not depend on Gamma or on L and equals the ground-state
energy of a four-site open chain without the field. A diagonal site term
(-h*Sz(i)) is handled correctly. The program should either treat the term
or refuse the input.
Reproducer
LATTICE="open chain lattice"
MODEL="spin"
local_S=1/2
L=8
SWEEPS=4
MAXSTATES=60
NUMBER_EIGENVALUES=1
{Jz=1; Jxy=0; Gamma=0;}
{Jz=1; Jxy=0; Gamma=0.5;}
{Jz=1; Jxy=1; Gamma=0.5;}
{Jz=0.5; Jxy=1; Gamma=0.5;}
{Jz=1; Jxy=1; h=0.3;}
dmrg parm.in.xml; there is no conserved quantum number for the Gamma cases,
so CONSERVED_QUANTUMNUMBERS is left unset (setting it to an empty string
gives the same result).
Observed and expected
| parameters | dmrg E0 | exact E0 (dense diagonalisation) |
|---|---|---|
| Jz=1, Jxy=0, Gamma=0 | -1.750000 | -1.750000 |
| Jz=1, Jxy=0, Gamma=0.5 | -0.750000 | -2.459488 |
| Jz=1, Jxy=1, Gamma=0.5 | -1.616025 | -3.482240 |
| Jz=0.5, Jxy=1, Gamma=0.5 | -1.356086 | -2.992176 |
| Jz=1, Jxy=1, h=0.3 | -3.374933 | -3.374933 |
The three Gamma values are exactly the energies of the corresponding four-site
open chains without a field (-3/4 for three Ising bonds, -1.616025 for the
four-site Heisenberg chain). At L = 64 the result is the same -0.750000 for
Gamma = 0.3, 0.5 and 1.0. sparsediag on the same inputs agrees with the
exact values to 1e-14, so the model library builds the term correctly; the
loss is inside dmrg.
Observed on master at 0e2f2915d (Release build, GCC, OpenBLAS, HDF5 1.14, single-threaded), compared with independent reference calculations.
- Lingua principale
- C++
- Stelle
- 32
- Fork
- 10
- Merge medio
- 4g 5h
- PR unite (30g)
- 52
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ALPSim/ALPS
-
Parallel Ising example: operator precedence makes the heat-bath energy difference wrongForse già presa @skilledwolf l’ha presa oggi. Apertaarea:tutorials bug scientific-correctness
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ALPSim/ALPS#313 · 1 assegnatario ·
I maintainer di solito rispondono entro 3 giorni
-
area:parapack bug scientific-correctness
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 3 giorni
-
area:lattice bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 3 giorni
-
Read parameter files straight into the solver input structsForse già presa @Ooolab l’ha presa oggi. Aperta
ALPSim/ALPS#317 · 1 assegnatario ·
I maintainer di solito rispondono entro 3 giorni
-
alps/parapack/mpi.h: message sizes are truncated to int without a check; MPI errors are now fatal (CHANGELOG)Forse già presa @skilledwolf l’ha presa oggi. Apertaarea:parapack compatibility-change enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
ALPSim/ALPS#315 · 1 assegnatario ·
I maintainer di solito rispondono entro 3 giorni
Issue simili
-
[Feature]: Fedora 45 repoApertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
metasequoiaime/msime#10989 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
vek-language/vek-lang#1 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
eclipse-score/lifecycle#957 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
mw00/project-maya#877 ·
I maintainer di solito rispondono entro 1 giorno