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

Adding non-collinear functionals #169

Open
sunqm opened this issue Jul 6, 2023 · 1 comment
Open

Adding non-collinear functionals #169

sunqm opened this issue Jul 6, 2023 · 1 comment

Comments

@sunqm
Copy link

sunqm commented Jul 6, 2023

Multi-collinear functional method (https://doi.org/10.1103/PhysRevResearch.5.013036) can produce non-collinear functionals based on regular collinear functionals. I think this is a useful feature for XC functional libraries to support non-collinear DFT calculations.

A python based implementation of this method has been developed in https://github.com/Multi-collinear/MCfun . That Python implementation has an API tightly coupled to the PySCF DFT framework, not convenient for C++ or Fortran programs. We are planning to develop better APIs that are close to the Xcfun APIs.

Roughly, the idea is to extend the XC_VAR mode, to include a four-slot density vector (total density, mx, my, mz). mx, my, mz are the three components of the magnetization density. If the input functional Id turns out to be a non-collinear functional, the multi-collinear wrapper can be executed which calls the XC functional derivatives in Xcfun and transform results to the high-order derivatives of non-collinear functionals. As a result, in the C++ or Fortran programs, non-collinear functionals can be handled in the same way as the regular collinear functionals.

If this feature sounds useful for Xcfun library, we will implement the code based on the Xcfun framework and create a pull request.

@robertodr
Copy link
Contributor

Hello! It does sound like a very useful feature to offer with XCFun. Thanks for offering to work on this!

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

2 participants