qiboteam / qibocal

Quantum calibration, characterization and validation module for Qibo.
https://qibo.science
Apache License 2.0
30 stars 7 forks source link

Merge outputs #912

Open alecandido opened 3 months ago

alecandido commented 3 months ago

It could be nice to merge separate executions into a single one (e.g. to collect different acquisitions, and then fit/report together).

This should be done at the level of the overall folders, and it's pretty trivial for Historys (i.e. add the new operations, extend the lists of existing operations). A bit of work should be done at the level of Metadata, e.g. checking that the platforms are compatible, updating times, and so on.

It's not terribly relevant, but it will allow extending outputs without the need to force. https://github.com/qiboteam/qibocal/blob/3a3444d2b423a90ee55fb2b27dc84caa0e550097/src/qibocal/auto/execute.py#L72-L73 Decoupling one more feature (i.e. if you want to throw away a folder, do it before executing, otherwise execute separately, then merge).