pasqal-io / Pulser

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

Avoid failing to switch device prematurely #721

Closed HGSilveri closed 2 months ago

HGSilveri commented 3 months ago

Currently, Sequence.switch_device(strict=True) is unnecessarily rigid in some cases:

It would be preferable to not fail unnecessarily and instead check that channel samples all match between the old and the new sequence.