intrcmap_1dchain¶
Generate an interaction map for a 1D chain.
Call build_geometry(geo_cfg) to construct a Geometry, then pass it here. The TOML keys below are the fields that belong in the [geometry] section.
intrcmap_1dchain
¶
Generate an interaction map for a 1D chain.
Produces nearest-neighbor (NN) and, optionally, next-nearest-neighbor
(NNN) bonds along the chain. Coupling constants are not set; cpl is
0.0 on all returned objects.
Three boundary conditions are supported:
'OBC'— bonds stay inside[0, L), so the chain has open ends.'PBC'— bonds additionally wrap from the right end back to the left, normalized so thatleading_site < terminal_site.'IBC'— theLsites form one unit cell of an infinite chain. Every site leads a bond, and aterminal_siteat or beyondLdenotes a site in the next unit cell;build_ihamiltonianfolds those back moduloLwhen it lays out the operator-string channels. Unlike PBC these are not wrap-around bonds within a finite ring: siteL-1is bonded to site0of the following cell, not to site0of its own.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
geo
|
Geometry
|
Fully-resolved geometry struct for the 1D chain. Relevant config
keys (read from
|
required |
Returns:
| Type | Description |
|---|---|
List[Interaction2Site]
|
Interaction objects sorted by |
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
TOML Keys¶
| Key | Type | Default | Description |
|---|---|---|---|
lx |
int | required | Number of sites |
bcx |
str | "OBC" |
Boundary condition: "OBC" or "PBC" |
n2x |
bool | true |
Include nearest-neighbor bonds |
See Also¶
- intrcmap_square — 2D square lattice.
- build_geometry — constructs the
Geometrypassed to this function whenlattice = "chain". - build_intrcmap — calls this function based on
geo.lattice.