bloqade.analog.ir.location.bravais.Triangular
← Module overview
class
property
sourcemethod
method
classTriangular¶source
bloqade.analog.ir.location.bravais.Triangular
Bases: BoundedBravais
Triangular lattice.
Signature
class Triangular(L1: int, L2: Optional[int] = None, *, lattice_spacing: ScalarType = 1.0)-
2D lattice
-
primitive (cell) vector(s)
- a1 = (1, 0)
- a2 = (1/2, sqrt(3)/2)
-
unit cell (1 atom(s))
- loc (0, 0)
-
Possible Next: continue with
.to see possible next step in auto-prompt supported setting (IPython, IDE …)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
L1 | int | required | |
L2 | Optional[int] | None | number of sites along a2 direction, n_atoms = 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) |
propertyshape¶source
bloqade.analog.ir.location.bravais.Triangular.shape
shape: Tuple[int, ...]methodcell_vectors¶source
bloqade.analog.ir.location.bravais.Triangular.cell_vectors
methodcell_atoms¶source
bloqade.analog.ir.location.bravais.Triangular.cell_atoms