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

Modifications needed for pulser-diff #711

Closed vytautas-a closed 4 months ago

vytautas-a commented 4 months ago

Support torch tensors in noise configuration.

HGSilveri commented 4 months ago

Hum, this will conflict heavily with the changes in #710 ... I would say it would be better to merge those first because we'll just have to redo these anyway. Wdyt?

vytautas-a commented 4 months ago

Hum, this will conflict heavily with the changes in #710 ... I would say it would be better to merge those first because we'll just have to redo these anyway. Wdyt?

Sounds reasonable. I just restored some changes I made previously. I leave the requirements for noise rates to be floats and if we see that in some situations, when no averaging is required in pulser-diff and these rates must be differentiable params, the SimConfig and NoiseModel can be updated accordingly.