... | ... | @@ -15,7 +15,7 @@ implementation these *may* correspond to high-level `SiteFamily` objects, |
|
|
but this is not a requirement. There may be more than one low-level site
|
|
|
family with the same number of orbitals. Note that this means that the
|
|
|
number of orbitals per site must be defined *a priori*, and cannot
|
|
|
be defined "on the fly" as it can now in Kwant-1.
|
|
|
be defined "on the fly" as it can now in Kwant 1.x.
|
|
|
|
|
|
### Sites and Site Ordering
|
|
|
The low-level format just considers sites as integers. A concrete
|
... | ... | @@ -118,7 +118,7 @@ Returns an array of shape `(N, norbs_fam_to, norbs_fam_from)` where |
|
|
`N` is the number of hoppings in the block and the other numbers
|
|
|
are the number of orbitals in `fam_to` and `fam_from` for the block.
|
|
|
This method is implemented by subclasses, it is the equivalent of
|
|
|
the `hamiltonian` method of Kwant-1. This way, however, implementations
|
|
|
the `hamiltonian` method of Kwant 1.x. This way, however, implementations
|
|
|
may vectorize the evaluation of the Hamiltonian over a block.
|
|
|
|
|
|
+ `hamiltonian`: evaluate the Hamiltonian associated with a particular
|
... | ... | |