Skip to content
Open
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
70588c9
New files for documentation
rreho Jun 26, 2024
b2abd0c
Add tutorial lifetimes and python dependencies
rreho Jun 26, 2024
dd2d968
update doc
rreho Feb 5, 2025
fe57c6f
add jupyter-book option
rreho Feb 6, 2025
c4a25a7
updated git ignore
stevenbos123 Feb 6, 2025
1caf2e3
wip doc
rreho Feb 6, 2025
5253c2a
update doc
rreho Feb 6, 2025
c601ca3
update doc
rreho Feb 6, 2025
9bedb33
update doc
rreho Feb 6, 2025
7efb8a1
update doc
rreho Feb 7, 2025
0cf67f1
update doc
rreho Feb 7, 2025
6ee12e4
update doc wannier basis
rreho Feb 10, 2025
b0b4a99
updated doc
rreho Feb 9, 2025
909964b
update doc
rreho Feb 10, 2025
eb5241b
updated doc
rreho Mar 4, 2025
d69d3ff
exciton-phonon tutorial in documentation stage 0
stevenbos123 Mar 5, 2025
ae6ceee
BSE equation
stevenbos123 Mar 6, 2025
cda1e57
Merge pull request #26 from muralidhar-nalabothula/excitons
rreho Jul 11, 2025
cb0d71c
Merge branch 'master' into feature-documentation
rreho Jul 11, 2025
9256b2d
update gitignore
rreho Jul 11, 2025
d9cdcf6
update qurex-book
rreho Jul 13, 2025
650386d
update documentation
rreho Jul 14, 2025
aeecc24
update exc-ph tutorial
rreho Jul 16, 2025
c525765
add option to compute dipoles in a range
Jul 17, 2025
8007462
fix dipoles bugs
Jul 18, 2025
c8c9842
updated notebook
rreho Jul 18, 2025
fcb9d1f
adding new classes
Jul 18, 2025
141f622
update phys-exc-ph branch, it runs but outputs mismatch ref
Jul 19, 2025
698971b
update doc for units in LetzElPhCode, fixed some of relative units in…
Jul 20, 2025
5dc1d30
exc-ph hBN same results
Jul 21, 2025
e03e991
fix dtype in luminescence
Jul 21, 2025
dfa6c72
fix dtypes
Jul 21, 2025
00745a8
fix dtype in excitondb
Jul 21, 2025
f3f4d92
read_iq now complies with yambopy
Jul 21, 2025
5c6c79e
add check ph_eigenvectors already present
Jul 21, 2025
d905761
add acoustic mode check in read_iq
Jul 21, 2025
20dd5b8
restructured yambopy classes
Jul 21, 2025
7823042
update exciton_phonon notebook
rreho Jul 21, 2025
5406ee8
Merge branch 'master' into feature-documentation
rreho Jul 21, 2025
484f5e9
Merge branch 'feature-documentation' into phys-excph
rreho Jul 21, 2025
5446131
update authorship
rreho Jul 21, 2025
e206278
Merge pull request #27 from muralidhar-nalabothula/excitons
rreho Jul 21, 2025
58459f1
Merge branch 'phys-excph' of github.com:rreho/yambopy into phys-excph
rreho Jul 21, 2025
2e42026
update notebook and added iamge
rreho Jul 21, 2025
2fb4fa5
add comma in pyproject.toml
rreho Jul 21, 2025
6f08ea6
update pyproject for docs
rreho Jul 21, 2025
eb657ed
update links
rreho Jul 21, 2025
5530b75
update docs
rreho Jul 26, 2025
5e56ae0
replace Dmat
Jul 26, 2025
f56128a
update read wfdb
Jul 26, 2025
0f08780
add comments in exciont_matrix_elements
Jul 26, 2025
2eb7bfe
Cleanup ExcitonPhonon class for readability
Jul 26, 2025
058619d
update docstring in python files
rreho Jul 30, 2025
f83d9e9
update documentation
Aug 5, 2025
97c8937
updated notebook
rreho Aug 5, 2025
4ae16e1
fix small issu in test
Aug 5, 2025
96bb480
Merge branch 'phys-excph-symm' of https://github.com/rreho/yambopy in…
Aug 5, 2025
377ea74
update book
rreho Aug 5, 2025
e31d055
remove expand argument
rreho Aug 5, 2025
f1856ea
Merge branch 'phys-excph-symm' of github.com:rreho/yambopy into phys-…
rreho Aug 5, 2025
bdc4b55
fix bug YamboWFDB
rreho Aug 5, 2025
b21ba9c
update group theory codes and docs
Aug 6, 2025
37a03d4
Update book
rreho Aug 6, 2025
1d0229d
update notebook
Aug 6, 2025
bc770bc
WIP: add tests need to work on analyze_exciton_symmetry
Aug 6, 2025
34d33a6
First implementation of symmetries
Aug 6, 2025
16dc7ad
add tests
Aug 6, 2025
250e811
changed a default flag
Aug 6, 2025
41bb438
update book and scripts
Aug 6, 2025
b847ed5
Finalized implementation of exciton symmetry tools
Aug 6, 2025
540cf4c
update gitignore
Aug 6, 2025
4cd5dd6
update notebook
Aug 6, 2025
2903389
reverted change wfdb
Aug 6, 2025
f518ef4
Restructured the code in a modular fashion, defining a common base class
Aug 7, 2025
8c9ffd8
update book
Aug 7, 2025
a015977
Missing dependency
Aug 7, 2025
d50c139
enable reading ndb.BS_diago_Q legacy Q-point
Aug 7, 2025
425e0e9
Merge branch 'phys-excph-symm' of https://github.com/rreho/yambopy in…
Aug 7, 2025
a720c16
WIP: Found bug in luminescence
Aug 7, 2025
4f08ca0
fixed important bugs in luminescence
Aug 7, 2025
200a376
cleaning code
Aug 7, 2025
c0c0681
Generated interface with spgrep
Aug 8, 2025
db737d5
update docs
Aug 8, 2025
755ba6a
clean commit: spglib integrated and to bested, documentation present,…
Aug 9, 2025
51d0c0c
add warning for irrep not identified
Aug 9, 2025
c04288a
edit comments
Aug 9, 2025
7c242b8
merged spglib
Aug 10, 2025
a667439
update docs
Aug 10, 2025
ba3800b
revert back changes
Aug 11, 2025
7aaed69
enable symmetry classification and update docs
Aug 11, 2025
4afd34b
squash commits
rreho Aug 11, 2025
ae4601b
expand raman activity to all groups
rreho Aug 11, 2025
137afb2
fix prev commit
rreho Aug 11, 2025
e9464f3
introduce abstract geometry class
rreho Aug 29, 2025
78a266c
fix bug exph class related to k space plot
rreho Sep 16, 2025
8e2bad0
Merge branch 'phys-excph' into phys-excph-symm-spgrep-abstractgeom
rreho Sep 24, 2025
79b2d44
introduced abstract geometry on phys-exph
rreho Sep 24, 2025
8656b63
fix IO
rreho Sep 24, 2025
ac7929d
wip: merging
rreho Sep 24, 2025
3b9b7fb
merged
rreho Sep 24, 2025
3ae11bd
fix compatibility io with exciton_X_matelem
rreho Sep 24, 2025
fea4764
Merge branch 'bug-fixes' into phys-excph
rreho Sep 29, 2025
8fb5eed
fixes for merging
rreho Sep 29, 2025
10a36ea
fix bug in compute_luminescence_per_freq: fix numba and add direct PL…
rreho Oct 3, 2025
4061841
remove hard coded dipoles bands range
rreho Oct 3, 2025
2dd944d
convert to python indexing dipolesdb
rreho Oct 3, 2025
b5d5f0c
add direct term
rreho Oct 3, 2025
51a1b2a
added direct term
rreho Oct 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ build
*.egg-info
dist
.DS_store
git.sh
docs/QuREX-book/_build/
5 changes: 3 additions & 2 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Project Authors
* Paleari, Fulvio, Istituto Nanoscienze (Italy)
* Molina-Sánchez, Alejandro, Universitat de València (Spain)
* Nalabothula, Muralidhar, University of Luxembourg (Luxembourg)
* Reho, Riccardo, Utrecht University (Netherlands)
* Reho, Riccardo, University of Luxembourg (Luxembourg)
* Bonacci, Miki, Paul Scherrer Institute (Switzerland)
* Castelo, José, Universitat de València (Spain)
* Cervantes-Villanueva, Jorge, Universitat de València (Spain)
Expand All @@ -23,4 +23,5 @@ Project Authors
* Davide Romanin
* Daniel Murphy
* Yuncheng Mao

* Marco D'Alessandro
* Daniel Santos Stone
2 changes: 2 additions & 0 deletions docs/Makebook
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#sphinx-build source/ build/
jupyter-book build QuREX-book/
20 changes: 20 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
32 changes: 32 additions & 0 deletions docs/QuREX-book/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
title: "QuREX Documentation"
author: "Riccardo Reho"

sphinx:
config:
bibtex_reference_style: author_year

# Enable equation numbering and styling like LaTeX
mathjax_config:
tex:
tags: "none" # Number all displayed equations
tagSide: "right" # Equation numbers on the right
tagIndent: "0.8em" # Spacing before equation numbers

# Enable MyST extensions for advanced math and referencing
myst_enable_extensions:
- amsmath # Enables environments like align, gather
- dollarmath # Inline and block LaTeX with $...$ or $$...$$
- deflist # (Optional) Definition lists
- linkify # Auto-detect links
- substitutions # Enable |substitution| syntax
- colon_fence # For ::: fenced blocks (like admonitions)
- smartquotes # Typographic quotes

extra_extensions:
- sphinxcontrib.bibtex # For citations and references

bibtex_bibfiles:
- references.bib # Your BibTeX file

parse:
myst_extended_syntax: true
40 changes: 40 additions & 0 deletions docs/QuREX-book/_toc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
format: jb-book
root: intro # The landing page (intro.md)
options:
numbered: true # Enable numbering globally

parts:
- caption: Theory
numbered: false # Ensure numbering applies to this part
chapters:
- file: content/theory/theoretical_background # Acts as the section's intro
sections:
- file: content/theory/model_hamiltonian
- file: content/theory/coulomb_potential
- file: content/theory/h2p
- file: content/theory/wannier_exciton
- file: content/theory/wannier_chern
- file: content/theory/wannier_basis
- file: content/theory/quantum_well
- file: content/theory/exciton_phonon_coupling
- caption: Software
numbered: false
chapters:
- file: content/software/software
sections:
- file: content/software/yambo/yambo
- file: content/software/yambo/yambo_input_flags
- caption: Tutorials
numbered: false
chapters:
- file: content/tutorials/tutorials
sections:
- file: content/tutorials/exciton_phonon

- caption: Notebooks
numbered: false
execute:
execute_notebooks: 'off'
chapters:
- file: notebooks/notebooks
- file: notebooks/exciton_phonon
37 changes: 37 additions & 0 deletions docs/QuREX-book/bse_equation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# BSE Equation

The Bethe-Salper Equations (BSE) allows computing neutral excitations for electron-hole interactions.
Following the Ai-MBPT formalism {cite}`sangalli2019many, marini2009yambo` the exciton energies and wavefunctions, are obtained solving the BSE equation in the Tamm-Dancoff approximation including local field effects {cite}`onida2002electronic`.

The BSE can be recast into an eigenvalue equation

$$
\left(\varepsilon_{c\mathbf{k}}^{\mathrm{GW}}
-\varepsilon_{\mathrm{v}\mathbf{k-Q}}^{\mathrm{GW}}\right)
A_{\mathrm{vc}\mathbf{k}}^\lambda+\sum_{\mathbf{k}^{\prime}
c^{\prime} \mathbf{v}^{\prime}}
K_{\substack{\mathrm{vc\mathbf{k}} \\ v^{\prime} c^{\prime} \mathbf{k}^{\prime}}}^{\mathbf{Q}}
A_{v^{\prime} c^{\prime} \mathbf{k}^{\prime}}^{\lambda,\mathbf{Q}}
=E_{\lambda,\mathbf{Q}} A_{v c \mathbf{k}}^{\lambda,\mathbf{Q}}
$$ (eq-BSE)

where $\varepsilon_{c\mathbf{k}/v\mathbf{k}}$ are quasi-particle band energies,
$A^{\lambda}_{v c\mathbf{k}}$ are the BSE coefficients, $E_{\lambda,\mathbf{Q}}$ %are
the energy of exciton $\lambda$, and $\mathbf{Q}$ the momentum transfer between an electron at $\mathbf{k}$ and a hole at $\mathbf{k-Q}$.
The kernel $K$ contains the electron-hole Coulomb interaction matrix elements, which is the sum of the direct $K^{d}$ and exchange $K^{x}$ terms and can be written as
$$
K_{\substack{\mathrm{vc\mathbf{k}} \\ v^{\prime} c^{\prime} \mathbf{k}^{\prime}}}^{\mathbf{Q}} = K_{\substack{\mathrm{vc\mathbf{k}} \\ v^{\prime} c^{\prime} \mathbf{k}^{\prime}}}^{d,\mathbf{Q}} + K_{\substack{\mathrm{vc\mathbf{k}} \\ v^{\prime} c^{\prime} \mathbf{k}^{\prime}}}^{x,\mathbf{Q}}
$$

Following the prescription of \textit{Dias et al.} {cite}`dias2023wantibexos`} we can compute the direct and exchange terms as follows:

$$
K_{\substack{\mathrm{vc\mathbf{k}} \\ v^{\prime} c^{\prime} \mathbf{k}^{\prime}}}^{d,\mathbf{Q}} = V(\mathbf{k}-\mathbf{k}^\prime)\langle
c,\mathbf{k}|
c^\prime,\mathbf{k}^\prime\rangle\langle
v^\prime, \mathbf{k}^\prime-\mathbf{Q}|v\mathbf{k-Q}\rangle \\
K_{\substack{\mathrm{vc\mathbf{k}} \\ v^{\prime} c^{\prime} \mathbf{k}^{\prime}}}^{x,\mathbf{Q}} = -V(\mathbf{k}-\mathbf{k}^\prime)\langle
c,\mathbf{k}|
v,\mathbf{k}-\mathbf{Q}\rangle\langle
v^\prime, \mathbf{k}^\prime-\mathbf{Q}|c^\prime\mathbf{k}^\prime-\mathbf{Q}\rangle \\
$$ (eq:kernels)
51 changes: 51 additions & 0 deletions docs/QuREX-book/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
###############################################################################
# Auto-generated by `jupyter-book config`
# If you wish to continue using _config.yml, make edits to that file and
# re-generate this one.
###############################################################################
author = 'Henrique Miranda, Alejandro Molina Sánchez, Fulvio Paleari, Riccardo Reho'
comments_config = {'hypothesis': False, 'utterances': False}
copyright = '2024, Henrique Miranda, Alejandro Molina Sánchez, Fulvio Paleari, Riccardo Reho'
exclude_patterns = ['build', 'Thumbs.db', '.DS_Store']
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
'sphinx_jupyterbook_latex',
'sphinx_multitoc_numbering',
'sphinxcontrib.bibtex',
'sphinx_proof'
]
external_toc_exclude_missing = False
external_toc_path = '_toc.yml'
html_baseurl = ''
html_favicon = '../logos/yambopy_square.png'
html_logo = ''
html_sidebars = {'**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html']}
html_sourcelink_suffix = ''
html_theme = 'sphinx_book_theme'
html_theme_options = {'search_bar_text': 'Search this book...', 'launch_buttons': {'notebook_interface': 'classic', 'binderhub_url': '', 'jupyterhub_url': '', 'thebe': False, 'colab_url': '', 'deepnote_url': ''}, 'path_to_docs': '', 'repository_url': 'https://github.com/executablebooks/jupyter-book', 'repository_branch': 'master', 'extra_footer': '', 'home_page_in_toc': True, 'announcement': '', 'analytics': {'google_analytics_id': '', 'plausible_analytics_domain': '', 'plausible_analytics_url': 'https://plausible.io/js/script.js'}, 'use_repository_button': False, 'use_edit_page_button': False, 'use_issues_button': False}
html_title = 'QuREX Documentation'
latex_engine = 'pdflatex'
myst_enable_extensions = ['colon_fence', 'dollarmath', 'linkify', 'substitution', 'tasklist']
myst_url_schemes = ['mailto', 'http', 'https']
nb_execution_allow_errors = False
nb_execution_cache_path = ''
nb_execution_excludepatterns = []
nb_execution_in_temp = False
nb_execution_mode = 'auto'
nb_execution_timeout = 30
nb_output_stderr = 'show'
numfig = True
project = 'yambopy'
pygments_style = 'sphinx'
release = '3.0.0'
suppress_warnings = ['myst.domains']
sys_path = ['../../yambopy']
templates_path = ['_templates']
use_jupyterbook_latex = True
use_multitoc_numbering = True
1 change: 1 addition & 0 deletions docs/QuREX-book/content/software/software.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Software
1 change: 1 addition & 0 deletions docs/QuREX-book/content/software/yambo/yambo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Yambo
Loading