pasqal-io / Pulser

Library for pulse-level/analog control of neutral atom devices. Emulator with QuTiP.
Apache License 2.0
159 stars 57 forks source link

Add parameter to specify the numerical precision for matching coords to layout traps #654

Open lvignoli opened 3 months ago

lvignoli commented 3 months ago

Adds the new keyword parameter decimals to get_traps_from_coordinates. Also, renames the associated constant to make it clear it specifies a number of decimals.

lvignoli commented 3 months ago

Actually, this is not implementing the wanted behavior. Standby for a fix!