BSE solvers overview: Difference between revisions

From The Yambo Project
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
__TOC__
__TOC__
===Full diagonalization solver===
===Full diagonalization solver===
diagonalization of the full Hamiltonian using the standard LAPACK library (diagonalization solver)  
Diagonalization of the full Hamiltonian using the standard LAPACK library. (ScaLAPACK?!)
you should've already carry out the  '''[[Bethe-Salpeter solver: diagonalization]]'''   
 
This solver outputs the macroscopic dielectric function over a range of energies chosen by the user. It also calculates all exciton energies and composition in terms of electron-hole pairs. Upon user's choice, the latter is stored on disk for use in postprocessing for exciton analysis and plotting as seen in the tutorial '''[[How to analyse excitons]]'''
Unfortunately, the computational cost of full diagonalization is cubic in the number of matrix elements (CHECK!) and this solver can be used for small system only (few light atoms per unit cell)
You should've already carry out the  '''[[Bethe-Salpeter solver: diagonalization]]'''. If you wish, you can run again this part and then '''return to this tutorial'''   


===Lanczos-Haydock solver===
===Lanczos-Haydock solver===
subspace iterative [https://en.wikipedia.org/wiki/Lanczos_algorithm/| Lanczos algorithm] which by-pass diagonalization with the Haydock approach<ref>R. Haydock, in
Subspace iterative [https://en.wikipedia.org/wiki/Lanczos_algorithm/| Lanczos algorithm] which by-pass diagonalization with the Haydock approach<ref>R. Haydock, in
  ''Solid State Phys.'', '''35''' 215 (1980) edited by H. Ehrenfest, F. Seitz, and D. Turnbull, Academic Press</ref> (Lanczos-Haydock solver)
  ''Solid State Phys.'', '''35''' 215 (1980) edited by H. Ehrenfest, F. Seitz, and D. Turnbull, Academic Press</ref>.
follow the link to '''[[Bethe-Salpeter solver: Lanczos-Haydock]]''' then  '''return to this tutorial'''  
 
This solver outputs the macroscopic dielectric function over a range of energies chosen by the user. It can be applied to medium-large systems as it is substantially cheaper than the full diagonalization (quadratic with the number of elements). However, this approach ''does not provide'' the individual exciton energies and composition in terms of electron-hole pairs.
 
Follow the link to '''[[Bethe-Salpeter solver: Lanczos-Haydock]]''' then  '''return to this tutorial'''  




===SLEPc solver===
===SLEPc solver===
(3) subspace iterative which provide the eigensolutions about a user-input-energy using the external [https://slepc.upv.es/| SLEPc library]<ref>V. Hernandez, J.E. Roman and V. Vidal in '' ACM Transactions on Mathematical Software'', '''31''' 315 (2005)</ref> (SLEPC solver)
Subspace iterative algorithm using the external [https://slepc.upv.es/| SLEPc library]<ref>V. Hernandez, J.E. Roman and V. Vidal in '' ACM Transactions on Mathematical Software'', '''31''' 315 (2005)</ref> (SLEPC solver).
follow the link to '''[[Bethe-Salpeter solver: SLEPC]]''' then  '''return to this tutorial'''
 
This solver outputs the individual exciton energies and composition about an energy value chosen by the user. It can be applied to medium-large systems but does not provide the overall spectrum. It is usually used after obtaining the spectra from the Lanczos-Haydock solver to analyze a specific peak. 
Follow the link to '''[[Bethe-Salpeter solver: SLEPC]]''' then  '''return to this tutorial'''





Revision as of 17:20, 23 March 2021

Work in progress (please come back after 04/04/2021)

This tutorial explores the options available in Yambo for the numerical solution of the Bethe-Salpeter equation. Before running this tutorial, you should have carried out the tutorial Calculating optical spectra including excitonic effects: a step-by-step guide. We will use the same example system (bulk hBN). The various options correspond to different numerical methods for solving (large) eigenvalue problems. The numerical methods are not covered in this tutorial and the interested user is directed to the references.

After completion of this tutorial, you are expected to recognize which solver to use depending on the system, computational load and desired output. Also, for each of the solver, you should be able to choose the values for the key input parameters.

Three main solvers are available in Yambo:

Full diagonalization solver

Diagonalization of the full Hamiltonian using the standard LAPACK library. (ScaLAPACK?!)

This solver outputs the macroscopic dielectric function over a range of energies chosen by the user. It also calculates all exciton energies and composition in terms of electron-hole pairs. Upon user's choice, the latter is stored on disk for use in postprocessing for exciton analysis and plotting as seen in the tutorial How to analyse excitons Unfortunately, the computational cost of full diagonalization is cubic in the number of matrix elements (CHECK!) and this solver can be used for small system only (few light atoms per unit cell).

You should've already carry out the Bethe-Salpeter solver: diagonalization. If you wish, you can run again this part and then return to this tutorial

Lanczos-Haydock solver

Subspace iterative Lanczos algorithm which by-pass diagonalization with the Haydock approach[1].

This solver outputs the macroscopic dielectric function over a range of energies chosen by the user. It can be applied to medium-large systems as it is substantially cheaper than the full diagonalization (quadratic with the number of elements). However, this approach does not provide the individual exciton energies and composition in terms of electron-hole pairs.

Follow the link to Bethe-Salpeter solver: Lanczos-Haydock then return to this tutorial


SLEPc solver

Subspace iterative algorithm using the external SLEPc library[2] (SLEPC solver).

This solver outputs the individual exciton energies and composition about an energy value chosen by the user. It can be applied to medium-large systems but does not provide the overall spectrum. It is usually used after obtaining the spectra from the Lanczos-Haydock solver to analyze a specific peak.

Follow the link to Bethe-Salpeter solver: SLEPC then return to this tutorial




References

  1. R. Haydock, in Solid State Phys., 35 215 (1980) edited by H. Ehrenfest, F. Seitz, and D. Turnbull, Academic Press
  2. V. Hernandez, J.E. Roman and V. Vidal in ACM Transactions on Mathematical Software, 31 315 (2005)