bloqade.analog.ir.location.bravais.Honeycomb
← Module overview
class
property
sourcemethod
method
classHoneycomb¶source
bloqade.analog.ir.location.bravais.Honeycomb
Bases: BoundedBravais
Honeycomb lattice.
Signature
class Honeycomb(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 (2 atom(s))
- loc1 (0, 0)
- loc2 (1/2, 1/(2*sqrt(3))
-
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 = L1 * L1 * 2. |
L2 | Optional[int] | None | number of unit cells in direction a2. n_atoms = L1 * L2 * 2, 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.Honeycomb.shape
shape: Tuple[int, ...]methodcell_vectors¶source
bloqade.analog.ir.location.bravais.Honeycomb.cell_vectors
methodcell_atoms¶source
bloqade.analog.ir.location.bravais.Honeycomb.cell_atoms