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

Obtain the data to calculate the irreducible representations of electronic states from the result of VASP. #38

Closed
hongyi-zhao opened this issue Feb 24, 2022 · 8 comments
Labels

Comments

@hongyi-zhao
Copy link

hongyi-zhao commented Feb 24, 2022

I have recently (found | came across) this great Py4vasp tool. I want to know if I can obtain the data to calculate the irreducible representations of electronic states from the result of VASP, say, used by irvsp, irrep, or SpaceGroupIrep?

Regards,
HZ

@martin-schlipf
Copy link
Collaborator

I have not used any of these tools, so I don't know what exactly you would need to do this. I suppose if you want the irrep of a band you would need to read the orbitals though. This is currently not supported by py4vasp. But you can use py4vasp to read the band structure data into a dictionary. If you have the irrep information from another tool, you could combine the results afterwards.

@hongyi-zhao
Copy link
Author

hongyi-zhao commented Feb 24, 2022

The core/key step what I want is to obtain the trace.txt file as generated by vasp2trace which includes mainly the following three things, as commented here:

(1) Read the Bloch wavefunctions from DFT results.
(2) Transform the Bloch wavefunctions (rotation and translation given by a SG symmetry {R|v}). That is, obtain the Bloch wave function by doing the calculation: {R|v} | psi_i >.
(3) For degenerate energy bands, calculate the trace of {R|v}: \sum_i=1^d < psi_i | {R|v} | psi_i >. Here, d is the degeneracy, and the wave function has already been normalized.

@martin-schlipf
Copy link
Collaborator

I looked a bit more into the packages. It seems that two of them are not interfaced with Python, so it would be more work to link them to py4vasp. irrep is a Python package so it would probably be easier to do that. But it would probably require changes to both py4vasp as well as the other packages, so I'm not sure if any of the authors of the other packages would be willing to invest the work.

@hongyi-zhao
Copy link
Author

hongyi-zhao commented Feb 24, 2022

They all target to generate the trace.txt file with exactly the same specification. But even only regarding the trace.txt file generation, there are still some cautions/requirements/conditions, as commented here:

  1. The format of trace.txt file is only a necessary condition to be used by getBandRep.
  2. Another issue is that the rotation matrices used, especially the SU(2) spin rotation matrix, have to be the same with vasp and vasp2trace.
  3. Even if both the above two points are fulfilled, there is another requirement that the code should not do additional process other than calculate the trace.

EDIT: On the above question 2, some related discussions can be seen here.

@martin-schlipf
Copy link
Collaborator

Did you get some feedback from the developers of these packages if they want to collaborate on coming up with an interface?

@hongyi-zhao
Copy link
Author

Nothing at the moment. If there is any news, I will post it here.

@github-actions
Copy link

We consider issues as stale if there has been no activity in them for 10 months.

@github-actions github-actions bot added the stale label May 18, 2023
@github-actions
Copy link

This issue was closed after 1 year of inactivity.

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

No branches or pull requests

2 participants