bloqade.analog.ir.location.bravais.Chain
← Module overview
class
property
sourcemethod
method
classChain¶source
bloqade.analog.ir.location.bravais.Chain
Bases: BoundedBravais
Chain lattice.
Signature
class Chain(L: int, *, lattice_spacing: ScalarType = 1.0, vertical_chain: bool = False)-
1D lattice
-
primitive (cell) vector(s)
- a1 = (1,0).
-
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 |
|---|---|---|---|
L | int | required | number of sites in the chain |
lattice_spacing | ScalarType | 1.0 | lattice spacing. Defaults to 1.0. |
vertical_chain | bool | False |
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
L | int | L | |
lattice_spacing | Scalar | cast(lattice_spacing) | |
vertical_chain | bool | vertical_chain |
propertyshape¶source
bloqade.analog.ir.location.bravais.Chain.shape
shape: Tuple[int, ...]methodcell_vectors¶source
bloqade.analog.ir.location.bravais.Chain.cell_vectors
methodcell_atoms¶source
bloqade.analog.ir.location.bravais.Chain.cell_atoms