Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird vibrating E and S #22

Open
JerryChen97 opened this issue May 1, 2020 · 7 comments
Open

Weird vibrating E and S #22

JerryChen97 opened this issue May 1, 2020 · 7 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@JerryChen97
Copy link
Owner

@aaronszasz I just found that when some specific J is given, DMRG falls into a strange vibrating situation with all the time altering E and S which seem to never converge:

  • the energy is relatively fine and usually, it will come back to the ground energy quickly though unstable;
  • the entropy is basically all the time vibrating and never converges

This phenomenon has existed for quite a time and I remember you mentioned this once, but I immediately forgot about it since somehow both the model and DMRG worked properly at that time after we fixed something else.
Yesterday after you pointed out the possibly incorrect result of some points, I realized the fact that I haven't make sure that the result given by DMRG is always converging and correct. Then I noticed that for some points the maximum sweeps will be reached and this means they don't really know whether or not they have converged before that. I found this issue when the max_sweep was set to 10000 in order to avoid such cases and for some specific points, e.g. J = (0.078, 0.006, 0.997) and (0.969, 0.076, 0.233) the seemingly permanent vibrating shows up.
I tried your trick to feed the outcome wave function to the next neighboring point, and this helped some points but not everyone. Some points like (0.969, 0.076, 0.233) gets stuck in the same dilemma.

Now I am also trying lower but still reasonable criteria for entropy to be considered as convergent, e.g. max_S_err=1.e-3, so that DMRG can still finish and return a result that is not that wrong. But anyway I think this is an issue that deserves a lot of attention and we should find out the real cause.

@JerryChen97 JerryChen97 added bug Something isn't working help wanted Extra attention is needed question Further information is requested labels May 1, 2020
@JerryChen97 JerryChen97 self-assigned this May 1, 2020
@JerryChen97
Copy link
Owner Author

I will post the verbose output of these points as soon as the recent run is finished.

@aaronszasz
Copy link
Collaborator

One thing that often helps in this situation is to increase the size of the unit cell. I think you have been using DMRG unit cell = 1 Hamiltonian unit cell, right? If you try using 2 or 3 H unit cells as the DMRG unit cell, that may help.

@JerryChen97
Copy link
Owner Author

One thing that often helps in this situation is to increase the size of the unit cell. I think you have been using DMRG unit cell = 1 Hamiltonian unit cell, right? If you try using 2 or 3 H unit cells as the DMRG unit cell, that may help.

Oh actually I forgot to mention that I have already applied L=2 but this issue persists.

@aaronszasz
Copy link
Collaborator

In the meantime, I recommend that when you plot things like S and xi, you set the value to np.nan for points that ended by max_sweep, at least temporarily so you can see the reliable results separately.

@aaronszasz
Copy link
Collaborator

If L=2 didn't fix this, I would still try L=3. If that doesn't help, I will think more about options.

@JerryChen97
Copy link
Owner Author

I will try L=3 later

@JerryChen97
Copy link
Owner Author

I found that for J = (0.078, 0.006, 0.997), this doesn't happen if an all-up initial state is given.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants