qiboteam / qibocal

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

Add protocols to documentation #851

Closed rodolfocarobene closed 1 month ago

rodolfocarobene commented 1 month ago

Checklist:

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.23%. Comparing base (f869f28) to head (09e013b). Report is 3 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/qiboteam/qibocal/pull/851/graphs/tree.svg?width=650&height=150&src=pr&token=3EA9ZUNKUY&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam)](https://app.codecov.io/gh/qiboteam/qibocal/pull/851?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) ```diff @@ Coverage Diff @@ ## main #851 +/- ## ======================================= Coverage 97.23% 97.23% ======================================= Files 106 106 Lines 7875 7875 ======================================= Hits 7657 7657 Misses 218 218 ``` | [Flag](https://app.codecov.io/gh/qiboteam/qibocal/pull/851/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/qiboteam/qibocal/pull/851/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | `97.23% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/qiboteam/qibocal/pull/851?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | Coverage Δ | | |---|---|---| | [...rotocols/characterization/fast\_reset/fast\_reset.py](https://app.codecov.io/gh/qiboteam/qibocal/pull/851?src=pr&el=tree&filepath=src%2Fqibocal%2Fprotocols%2Fcharacterization%2Ffast_reset%2Ffast_reset.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam#diff-c3JjL3FpYm9jYWwvcHJvdG9jb2xzL2NoYXJhY3Rlcml6YXRpb24vZmFzdF9yZXNldC9mYXN0X3Jlc2V0LnB5) | `100.00% <ø> (ø)` | | | [...zation/readout\_optimization/resonator\_amplitude.py](https://app.codecov.io/gh/qiboteam/qibocal/pull/851?src=pr&el=tree&filepath=src%2Fqibocal%2Fprotocols%2Fcharacterization%2Freadout_optimization%2Fresonator_amplitude.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam#diff-c3JjL3FpYm9jYWwvcHJvdG9jb2xzL2NoYXJhY3Rlcml6YXRpb24vcmVhZG91dF9vcHRpbWl6YXRpb24vcmVzb25hdG9yX2FtcGxpdHVkZS5weQ==) | `100.00% <100.00%> (ø)` | |
rodolfocarobene commented 1 month ago

Hi @andrea-pasquale , what is the difference between Spin-Echo, Ramsey and T2?

I know the difference between ramsey and spin-echo, but I don't see where T2 fits :-)

andrea-pasquale commented 1 month ago

Hi @andrea-pasquale , what is the difference between Spin-Echo, Ramsey and T2?

T2 is basically a Ramsey experiment with two differences:

We decided to split them given that to correct the qubit frequency through a Ramsey experiment if you apply enough detuning you should be able to do it using short scans, but the T2 estimate will probably be poor. While with the T2 experiment we aim at extracting T2 with longer scans assuming that possible detunings on the drive frequency have already been corrected, hence why the fit consists just of an exponential. This is just a possible approach... that should be documented properly :)

rodolfocarobene commented 1 month ago

I just recompiled #854 and I see that there is everything in the produced page (even the parameters).

Personally, I think it's lacking a bit of usability but I'll not insist. If you disagree with me, I'll close this PR :-)