Skip to content

Implement Boundary-Schur method and optimize related algorithms - #56

Merged
AsymmetryChou merged 9 commits into
deepmodeling:mainfrom
AsymmetryChou:se_schur
Nov 21, 2026
Merged

AsymmetryChou merged 9 commits into
deepmodeling:mainfrom
AsymmetryChou:se_schur

Conversation

@AsymmetryChou

Copy link
Copy Markdown
Collaborator

This pull request introduces support for the Boundary-Schur method for lead self-energies, adds the ability to select the self-energy computation method throughout the codebase, and updates the documentation and interfaces accordingly. The main changes are grouped below by theme.

Boundary-Schur Method Implementation:

  • Added a new module dpnegf/negf/boundary_self_energy.py implementing the Boundary-Schur reduction for lead self-energies, including the main algorithm, diagnostics, and fallback to Sancho-Rubio when not applicable.

Interface and API Updates:

  • Updated the integrate and density_integrate_Fiori methods in dpnegf/negf/density.py to accept a self_energy_method parameter, allowing users to specify which self-energy solver to use (e.g., "Lopez-Sancho", "Boundary-Schur"). All calls to lead self-energy computations now pass this parameter. [1] [2] [3] [4]
  • Modified the self_energy and self_energy_cal methods in dpnegf/negf/lead_property.py to support method selection and to ensure correct handling of k-point and energy arguments. [1] [2]
  • Imported prepare_boundary_schur_plan in dpnegf/negf/lead_property.py to enable Boundary-Schur plan preparation.

Documentation Updates:

  • Updated the documentation in docs/input_params/run_options.rst to describe the new self-energy solver options, including the "Boundary-Schur" method, and clarified the behavior of each solver. [1] [2]

@AsymmetryChou
AsymmetryChou merged commit 3e03b5b into deepmodeling:main Nov 21, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant