qib.lattice.shifted_lattice_convention.ShiftedLatticeConvention¶
- class qib.lattice.shifted_lattice_convention.ShiftedLatticeConvention(value)[source]¶
Bases:
EnumConvention for the Hexagonal and Brick lattices. Example with 1 row and 5 columns for COLS_SHIFTED_UP convention:
_ _ _ _ _ _ / \_/ \_/ \ | |_| |_| | \_/ \_/ \_/ |_| |_| |_| \_/ \_/ |_| |_|
Attributes
COLS_SHIFTED_UPROWS_SHIFTED_LEFT