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

Implement dynamical decoupling. #6515

Closed babacry closed 4 months ago

babacry commented 6 months ago

Add dynamical decoupling operations to circuits for idle moments.

Two methods are provided to apply dynamical decoupling.

  1. Schema "XX_PAIR" and "YY_PAIR" are provided.
  2. Users can provide their own base dynamical decoupling sequence via base_dd_sequence.

We repeat given dd sequence in continuous idle moments until the remaining idle moments isn't long enough for another repetition.

babacry commented 6 months ago

Post the draft for general suggestions.

And see how the CI goes compared with local CI.

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 97.79%. Comparing base (bfba965) to head (b9c9557). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6515 +/- ## ========================================== - Coverage 97.79% 97.79% -0.01% ========================================== Files 1124 1126 +2 Lines 95705 95784 +79 ========================================== + Hits 93595 93670 +75 - Misses 2110 2114 +4 ```

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

babacry commented 4 months ago

Thanks for the careful review, everyone!