kwant.lattice – Bravais lattices

3.3. kwant.lattice – Bravais lattices#

General#

TranslationalSymmetry(*periods)

A translational symmetry defined in real space.

general(prim_vecs[, basis, name, norbs])

Create a Bravais lattice of any dimensionality, with any number of sites.

Monatomic(prim_vecs[, offset, name, norbs])

A Bravais lattice with a single site in the basis.

Polyatomic(prim_vecs, basis[, name, norbs])

A Bravais lattice with an arbitrary number of sites in the basis.

Library of lattices#

chain([a, name, norbs])

Make a one-dimensional lattice.

square([a, name, norbs])

Make a square lattice.

cubic([a, name, norbs])

Make a cubic lattice.

triangular([a, name, norbs])

Make a triangular lattice.

honeycomb([a, name, norbs])

Make a honeycomb lattice.

kagome([a, name, norbs])

Make a kagome lattice.