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

Hello, I need some help with a few issues. #172

Open
willOcean1 opened this issue Jul 15, 2024 · 2 comments
Open

Hello, I need some help with a few issues. #172

willOcean1 opened this issue Jul 15, 2024 · 2 comments

Comments

@willOcean1
Copy link

  1. I encountered an error while running my code. Is it because the number of iterations is too low (default is 2000)? However, blindly increasing the number of iterations will raise the computational cost. How should I make a trade-off?
    image

  2. I want to calculate fidelity and entanglement entropy. How should I do it?

@ultimatile
Copy link
Contributor

  1. Please provide your input file(s) so that we can reproduce your issue. With the current information, we cannot assist you.
  2. Calculations of fidelity and entanglement entropy are currently not supported. You will need to implement your own code to calculate them using the eigenstate vectors output by HPhi. Please include EigenvecIO = "out" in your input file if you are using standard mode to output the eigenstates. If you are using expert mode, change the value to the right of OutputEigenVec in calcmod.def from 0 to 1. The data format for the output eigenstates is described in the manual.

@yomichi
Copy link
Contributor

yomichi commented Jul 15, 2024

FYI, there is an example for calculating the inner product of eigenstates in HPhi tutorial (https://issp-center-dev.github.io/HPhi/manual/develop/tutorial/en/html/zero_temperature/vector.html).
A python script for loading eigenvectors is available in this tutorial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants