qiboteam / qibolab

Quantum hardware module and drivers for Qibo.
https://qibo.science
Apache License 2.0
41 stars 10 forks source link

Implement instrument dump #781

Open stavros11 opened 6 months ago

stavros11 commented 6 months ago

We should implement a dump() method for all instruments which serializes their settings to a dictionary (to be dumped in the runcard).


          Ok, this makes sense, also because even before it was non-uniform (either `dict` or `.dump()`), so we had to migrate anyhow.

If you're not doing it in this PR (which makes sense), would you open an issue?

_Originally posted by @alecandido in https://github.com/qiboteam/qibolab/pull/733#discussion_r1448527465_