qib.lattice.shifted_lattice_convention.ShiftedLatticeConvention

class qib.lattice.shifted_lattice_convention.ShiftedLatticeConvention(value)[source]

Bases: Enum

Convention for the Hexagonal and Brick lattices. Example with 1 row and 5 columns for COLS_SHIFTED_UP convention:

 _   _   _        _   _   _
/ \_/ \_/ \      | |_| |_| |
\_/ \_/ \_/      |_| |_| |_|
  \_/ \_/          |_| |_|

Attributes

COLS_SHIFTED_UP

ROWS_SHIFTED_LEFT