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

remove partial CZs if allow_partial_czs=False #6436

Closed NoureldinYosri closed 7 months ago

NoureldinYosri commented 8 months ago

fixes https://github.com/quantumlib/Cirq/issues/6428

At the point where the function gets called no partial CZs should be there excpet CZ**-1 which gets replaced by CZ

codecov[bot] commented 8 months ago

Codecov Report

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

Comparison is base (ee56c59) 97.81% compared to head (3f15e1e) 97.81%. Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6436 +/- ## ========================================== - Coverage 97.81% 97.81% -0.01% ========================================== Files 1111 1111 Lines 97121 97163 +42 ========================================== + Hits 95000 95040 +40 - Misses 2121 2123 +2 ```

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