1.1. qlinks.lattice.component#

Classes

Site(pos_x, pos_y)

UnitVector(pos_x, pos_y)

UnitVectors(*args, **kwargs)

class qlinks.lattice.component.Site(pos_x: 'int', pos_y: 'int')[source]#

Bases: object

Parameters:
  • pos_x (int)

  • pos_y (int)

pos_x: int#
pos_y: int#
__init__(pos_x, pos_y)#
Parameters:
  • pos_x (int)

  • pos_y (int)

Return type:

None

class qlinks.lattice.component.UnitVector(pos_x: 'Real', pos_y: 'Real')[source]#

Bases: object

Parameters:
pos_x: int | float | floating#
pos_y: int | float | floating#
property sign: int#
__init__(pos_x, pos_y)#
Parameters:
Return type:

None

class qlinks.lattice.component.UnitVectors(*args, **kwargs)[source]#

Bases: object

upward: UnitVector = UnitVector(0, 1)#
downward: UnitVector = UnitVector(0, -1)#
rightward: UnitVector = UnitVector(1, 0)#
leftward: UnitVector = UnitVector(-1, 0)#
__init__(upward=UnitVector(0, 1), downward=UnitVector(0, -1), rightward=UnitVector(1, 0), leftward=UnitVector(-1, 0), _instance=None)#
Parameters:
Return type:

None