Skip to content

bloqade.analog.emulate.ir.emulator.Register

← Module overview

classRegistersource

bloqade.analog.emulate.ir.emulator.Register

This class represents the of the atoms in the system.

Signature
class Register(atom_type: AtomType, sites: List[Tuple[Decimal, Decimal]], blockade_radius: Decimal, geometry: Optional[Geometry] = None)

Parameters

NameTypeDefaultDescription
atom_typeAtomTyperequired
sitesList[Tuple[Decimal, Decimal]]required
blockade_radiusDecimalrequired
geometryOptional[Geometry]None

Attributes

NameTypeDefaultDescription
atom_typeAtomTyperequired
sitesList[Tuple[Decimal, Decimal]]required
blockade_radiusDecimalrequired
geometryOptional[Geometry]None
full_index_to_indexDict[int, int]field(init=False, default_factory=dict)

methodsamesource

bloqade.analog.emulate.ir.emulator.Register.same

def same(other: Any) -> bool

Parameters

NameTypeDescription
otherAny

Returns

bool

source