Discrepancy between DMRG energy and <MPS|MPO|MPS> #343
Replies: 2 comments 2 replies
-
|
Hi @shreyasvm3, I think they should match - its a bit hard to tell whats going on without the actual hamiltonian and rest of the parameters though, maybe you could post a minimal reproducer? |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for pointing me to the thread regarding I am constructing the MPO for M=L^{\dagger}L, which is hermitian, and then perform DMRG on it to obatin the steady state (zero eigenvalue eigenvector). I do this by seperately constructing MPOs for L and L^{\dagger}, compressing them to a chosen cutoff = mpo_cutoff, and then using I must note that since the ground state eigenvalue I am targeting is zero, the values for both E and H_expt from my post are very small (order 10^-8 to 10^-12 depending on chosen bond dimension). However, at times, E and H_expt differ by about two orders of magnitude. Is it possible this discrepancy is due to non-hermiticity due to compression? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am running one-site DMRG, and I find the following peculiarity. Here is a simple reproduction of my code:
dmrg = qtn.DMRG(H_qumpo, max_bond, bsz = 1, cutoffs = compress_cutoff, p0 = guess_mps)dmrg.solve(tol=conv_tol, bond_dims=max_bond , max_sweeps = sweeps, sweep_sequence = 'R', verbosity = verbosity, suppress_warnings = False, cutoffs = compress_cutoff)E = dmrg.energypsi = dmrg.stateH_expt = (psi.H & H_qumpo.apply(psi)).contract()/(psi.H & psi).contract())I expect E and H_expt to match. They do match for small max_bond, like 2 and 3. However, they differ significantly for max_bond >= 4. Is this expected behaviour? It is very possible that I am misunderstanding something, I am new to both DMRG and quimb.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions