Skip to content

Koulb/ElePhAny.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

220 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElePhAny Logo

⚛️ Electron–Phonon interactions with Any functional

Build Status Documentation ArXiv License: MIT

Overview

ElePhAny is a Julia package for calculating electron–phonon coupling matrix elements using a finite-difference approach. It enables first-principles e–ph calculations with any exchange–correlation functional or beyond-DFT method (e.g. hybrid functionals, Koopmans functionals, GW), overcoming the limitations of DFPT which only supports standard LDA/GGA functionals.

ElePhAny constructs the e–ph matrix elements from supercell calculations: it reads eigenvalues and eigenvectors of the pristine and displaced structures and computes the coupling by projecting the change in the Hamiltonian onto the displaced Bloch states.

The code interfaces with ab initio outputs from Quantum Espresso (and other codes using QE formats, such as Koopmans or Yambo) and can export the resulting e–ph matrices to EPW for further analysis of charge transport, band renormalization, and other properties.

Features

  • 🚀 General Finite-Difference Method: Uses finite atomic displacements to evaluate electron–phonon interactions, avoiding linear-response (DFPT). This works with any functional, including orbital-dependent methods beyond DFT.
  • 📐 Eigenvalue Projectability Formula: Employs an eigenvalue-based projection technique to evaluate electron-phonon coupling, using only the eigenvalues and eigenvectors of the unperturbed and displaced systems. This approach yields electron-phonon coupling for any commensurate k-point and q-point in the supercell.
  • ⚖️ Symmetry Reduction: Exploits crystal symmetries to minimize the number of displacements needed. Only inequivalent atoms (and directions) are displaced, and symmetry operations generate the rest, greatly reducing computational cost.
  • 📦 EPW Integration: The computed e–ph matrix elements can be written in EPW format, allowing you to leverage EPW to compute phonon-assisted transport, superconducting tempreature, etc., using the advanced functional data generated by ElePhAny.

Installation

  1. Install Julia: Download Julia (v1.6 or later).
  2. Add ElePhAny:
   julia> ]
   pkg> add https://github.com/Koulb/ElePhAny.jl
  1. (Alternative) Development mode:
git clone https://github.com/Koulb/ElePhAny.jl.git
cd ElePhAny.jl
julia

In Julia:

julia> ]
pkg> dev .
  1. For Python-like dictionaries support:
pkg> add PythonCall

Usage

  1. Run supercell DFT calculations: ground state + displaced structures.
  2. Process with ElePhAny: load outputs, compute electron-phonon matrix elements.
  3. Export or analyze: e.g. save in EPW format for further property calculations.

➡️ See the documentation for a full tutorial and API reference.

➡️ See the preprint for full derivation and details on theory.

References and Resources

License: MIT

About

Electron-phonon coupling with any functional

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors