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

Check identity first when comparing moments #6388

Closed maffoo closed 9 months ago

maffoo commented 9 months ago

Same optimization as done for circuits in #6375.

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (be7b059) 97.80% compared to head (4f7d3b4) 97.81%. Report is 10 commits behind head on main.

:exclamation: Current head 4f7d3b4 differs from pull request most recent head f57a0fb. Consider uploading reports for the commit f57a0fb to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6388 +/- ## ======================================== Coverage 97.80% 97.81% ======================================== Files 1111 1111 Lines 96877 97037 +160 ======================================== + Hits 94754 94914 +160 Misses 2123 2123 ```

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