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

Deprecate `Register.rotate()` #628

Closed HGSilveri closed 4 months ago

HGSilveri commented 6 months ago

Register.rotate() is the only method that changes the register instance in-place. which is a potentially problematic behaviour. I propose we deprecate it and create a new method (Register.rotated()) that instead creates a new register object with the rotated coordinates.