Skip to content

bloqade.analog.ir.location.bravais.Honeycomb

← Module overview

classHoneycombsource

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

NameTypeDefaultDescription
L1intrequirednumber of unit cells in linear direction. n_atoms = L1 * L1 * 2.
L2Optional[int]Nonenumber of unit cells in direction a2. n_atoms = L1 * L2 * 2, default is L1.
lattice_spacingScalarType1.0lattice spacing. Defaults to 1.0.

Attributes

NameTypeDefaultDescription
L1intL1
L2intL2
lattice_spacingScalarcast(lattice_spacing)

propertyshapesource

bloqade.analog.ir.location.bravais.Honeycomb.shape

shape: Tuple[int, ...]
source

methodcell_vectorssource

bloqade.analog.ir.location.bravais.Honeycomb.cell_vectors

def cell_vectors() -> List[List[float]]

Returns

List[List[float]]

source

methodcell_atomssource

bloqade.analog.ir.location.bravais.Honeycomb.cell_atoms

def cell_atoms() -> List[List[float]]

Returns

List[List[float]]

source