Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
kwant
kwant
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 138
    • Issues 138
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 20
    • Merge Requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • kwant
  • kwantkwant
  • Issues
  • #398

Closed
Open
Created Dec 09, 2020 by Joseph Weston@jbwestonOwner

kwant.greens_function and kwant.smatrix give different results when computing reflection at energies with no open modes

AFAICT this is because GreensFunction._transmission computes the number of open modes by counting the nonzero eigenvalues of the broadening matrix Γ = i(Σ^R - Σ^A).

Eigenvalues of Γ are compared against 1000ε\Vert Γ \Vert where ε is floating point epsilon (\sim 10^{-15}), however when there are no open modes \Vert Γ \Vert \sim 10^{-15}. Eigenvalues are then compared against \sim 10^{-28}, and it looks like all the modes are open, even though there are 0 open.

Edited Dec 10, 2020 by Joseph Weston
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None