-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate updates #910
Comments
Here I'm a bit confused. In the past Qibocal was already generating updates in the form of dictionaries, which were passed to the platform that was updating itself based on those dictionaries. I believe that since the update in qibolab was a bit messy we decided to let qibocal handle the update of the platform qiboteam/qibolab#596. |
What would make sense is to generate a serialization for the updates, but I still think that the update should be performed by qibocal. |
The idea, yet missing in Qibolab, is to be able to apply an update with a shape like: {
"single_qubit[1].RX.frequency": 5e7,
"single_qubit[5].MZ.duration": 1.5e3,
...
} These are the kind of updates I have in mind. Then there will be a function, reading the keys into an The overall feature will be simple: parse the path splitting on The |
This is something I said many times, but it seems I never wrote it.
The idea is to create updates in routines as objects (most likely, as dictionaries), instead of modifying dynamically an instance (the
Platform
).This will have several benefits:
update
flag within the routine: you can always run the update, and always save itPlatform
, with different routines (without re-executing the previous ones)qq update
(cf. Add command to perform platform update #833 Addingqq update
command #905)The idea is that applying updates will be supported directly by Qibolab. But, in case Qibocal moves faster in this direction, this can also be implemented in here, and migrated later on.
The text was updated successfully, but these errors were encountered: