How to do inner products between different k
See original GitHub issueWe have es.state[n, i]
where n
is a band index and i
an orbital in the primitive cell. And H.tocsr()
has indices [i, J]
with i
an orbital index in the primitive cell and J
one in the supercell.
To compute general matrix elements we need <s1| A |s2> = s1.inner(matrix=A.tocsr(), ket=s2.state_sc)
to compute general matrix elements between the Bloch states s1, s2
.
What I have in mind is thus that s2.state_sc
should have indices [m, J]
such that the general inner product <s1(n)| A |s2(m)>
takes the form [n, i] . [i,J] . ([m, J].T)
. (It is a separate discussion if we should transpose the ket internally or not)
_Originally posted by @tfrederiksen in https://github.com/zerothi/sisl/pull/355#discussion_r666131276_
Issue Analytics
- State:
- Created 2 years ago
- Comments:18 (18 by maintainers)
Top Results From Across the Web
9 Inner product
In calculus, the “dot product” of two vectors x = 〈2, −3〉 and y = 〈5, 1〉 is ... We get an inner...
Read more >Bras and Kets II: Non-standard Inner Products - YouTube
When working with a non-standard inner product, ... This changes the form of the bras, but not the kets. ... 3.8 K views...
Read more >Inner Product Introduction - YouTube
http://adampanagos.orgThe inner product, defined on some vector space V, is a function that maps two vectors to a scalar. The inner product ......
Read more >Inner Product and Orthogonal Functions , Quick Example
Thanks to all of you who support me on Patreon. You da real mvps! $1 per month helps!! :) https://www.patreon.com/patrickjmt !! Inner ......
Read more >Advanced Linear Algebra - Lecture 21: All Inner ... - YouTube
We show that every inner product looks like the usual dot product, as long as you represent your vectors in an orthonormal basis....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In siesta it is calculated using the matrix elements $phi_i(r-r_i)dkr*phi_j(r-r_j) + HC$ to get a phase on the orbital. Then subsequently it is the determinant of some overlap matrix times the wavefunction coefficients (not fully correct, but along these lines).
I would say this path is not feasible in sisl due to the matrix elements not being calculate-able in a fast way.
A note, you shouldn’t use
tocsr
. When you start using NC/SOC what you want isHk(format='sc'). I have just fixed so one can use
format=‘sc’` for gamma-point.