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

Use np.complex128 for simulating xeb circuits #6672

Closed eliottrosenberg closed 2 months ago

eliottrosenberg commented 2 months ago

Fixes a bug where, for deep XEB circuits (depth=300), the simulator complains that the statevector is not normalized.

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 97.82%. Comparing base (df20ade) to head (0948307).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6672 +/- ## ======================================= Coverage 97.82% 97.82% ======================================= Files 1072 1072 Lines 92030 92030 ======================================= Hits 90029 90029 Misses 2001 2001 ```

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