braket.ir.ahs.atom_arrangement module¶
-
class
braket.ir.ahs.atom_arrangement.
AtomArrangement
[source]¶ Bases:
pydantic.main.BaseModel
Specifies the atom array
-
sites
¶ List of 2-d coordinates where the tweezers trap atoms
-
filling
¶ Marks atoms that occupy the trap sites with 1, and empty sites with 0
Examples
>>> AtomArrangement(sites=[ ... [0.0, 0.0], ... [0.0, 3.0e-6], ... [0.0, 6.0e-6], ... [3.0e-6, 0.0], ... [3.0e-6, 3.0e-6], ... [3.0e-6, 6.0e-6] ... ], ... filling=[1,1,1,1,0,0])
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
-