bloqade.analog.ir.location.bravais.Lieb
← Module overview
class
method
method
property
source
classLieb¶source
bloqade.analog.ir.location.bravais.Lieb
Bases: BoundedBravais
Lieb lattice.
Signature
class Lieb(L1: int, L2: Optional[int] = None, *, lattice_spacing: ScalarType = 1.0)-
2D lattice
-
primitive (cell) vector(s)
- a1 = (1, 0)
- a2 = (0, 1)
-
unit cell (3 atom(s))
- loc1 (0, 0)
- loc2 (0.5, 0)
- loc3 (0 ,0.5)
-
Possible Next: continue with
.to see possible next step in auto-prompt supported setting (IPython, IDE …)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
L1 | int | required | number of unit cells in linear direction. n_atoms = 3* L1 * L1. |
L2 | Optional[int] | None | number of unit cells along a2 direction, n_atoms = 3 * L1 * L2, default is L1. |
lattice_spacing | ScalarType | 1.0 | lattice spacing. Defaults to 1.0. |
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
L1 | int | L1 | |
L2 | int | L2 | |
lattice_spacing | Scalar | cast(lattice_spacing) |
methodcell_vectors¶source
bloqade.analog.ir.location.bravais.Lieb.cell_vectors
methodcell_atoms¶source
bloqade.analog.ir.location.bravais.Lieb.cell_atoms
propertyshape¶source
bloqade.analog.ir.location.bravais.Lieb.shape
shape: Tuple[int, ...]