... | ... | @@ -27,8 +27,8 @@ sys[onsite] += lambda site, Vb, time: Vb * cos(time) |
|
|
sys[hopping] = lambda s1, s2, t: -t
|
|
|
sys[hopping] += lambda s1, s2, t, time: -t * time
|
|
|
```
|
|
|
With the meaning that the result of the function evaluation is added to the
|
|
|
constant term when the system Hamiltonian is evaluated.
|
|
|
With the meaning that the result of the function evaluations is added together
|
|
|
when the system Hamiltonian is evaluated.
|
|
|
|
|
|
## Indexing wavefunctions by `Site`
|
|
|
`wave_function` and `ldos` should return objects which can be used like an array, but which can also
|
... | ... | |