qiboteam / qibolab

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

Enhance `dump_platform` #783

Open stavros11 opened 8 months ago

stavros11 commented 8 months ago

Currently https://github.com/qiboteam/qibolab/blob/b86100986b04275f1bdab063c817ea87b467d65b/src/qibolab/serialize.py#L232 dumps the platform runcard (named by default as parameters.yml) and the kernels (named as kernels.yml - if available) to the given path. It may be preferrable to instead create a folder with the platform.name or a given name and put the two files inside it, following the layout of the platform definition. We could consider also dumping the platform.py containing the create there, but that is debatable and not trivial to do.

@andrea-pasquale I am assigning this to you because at the moment this is driven by qibocal but feel free to reassign.