Word
Word
Word(sites: tuple[tuple[int, int], ...])
Bases: RustWrapper[Word]
flowchart TD
bloqade.lanes.bytecode.word.Word[Word]
bloqade.lanes.bytecode._wrapper.RustWrapper[RustWrapper]
bloqade.lanes.bytecode._wrapper.RustWrapper --> bloqade.lanes.bytecode.word.Word
click bloqade.lanes.bytecode.word.Word href "" "bloqade.lanes.bytecode.word.Word"
click bloqade.lanes.bytecode._wrapper.RustWrapper href "" "bloqade.lanes.bytecode._wrapper.RustWrapper"
A group of atom sites positioned via grid index pairs.
Source code in .venv/lib/python3.12/site-packages/bloqade/lanes/bytecode/word.py
10 11 12 13 14 | |
n_sites
property
n_sites: int
Number of sites in this word.
site_indices
property
site_indices: tuple[tuple[int, int], ...]
Alias for sites, for backward compatibility.