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

Fix error messages of switch device for reused channels #579

Closed HGSilveri closed 9 months ago

HGSilveri commented 9 months ago

About the if: They are needed, it is actually an issue that was not reported before (and it is independent of the dmm, I can solve it in another PR if your want). The issue is basically that the wrong error message is displayed, see below with a raman channel declared twice, what is actually failing is the matching of raman_1, not raman. image

Originally posted by @a-corni in https://github.com/pasqal-io/Pulser/issues/576#issuecomment-1708285276