quantumlib / Cirq

A Python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
Apache License 2.0
4.24k stars 1.01k forks source link

Update T1 experiment #6487

Closed eliottrosenberg closed 6 months ago

eliottrosenberg commented 6 months ago

Makes two changes to the $T_1$ experiment in Cirq:

  1. Changes the fit function to $f(t) = A e^{-t/T_1} + B$ instead of just $f(t) = e^{-t/T_1}$ to capture the effects of SPAM errors.
  2. Makes the wait times logarithmically spaced instead of linearly spaced, which is more suitable since we expect an exponential decay.
codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 97.76%. Comparing base (bc76660) to head (3c107ec).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6487 +/- ## ========================================== - Coverage 97.76% 97.76% -0.01% ========================================== Files 1105 1105 Lines 94997 94999 +2 ========================================== + Hits 92871 92872 +1 - Misses 2126 2127 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

eliottrosenberg commented 6 months ago

@NoureldinYosri do you know why the Windows pytest is failing?