quantumlib / Cirq

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

Support creating XEB calibration options for arbitary FSim like gates #6657

Closed NoureldinYosri closed 4 months ago

NoureldinYosri commented 4 months ago

This PR supports creating FSim calibration options for arbitary FSim like gates. It also split the XEB function in two in prerpartion for implmenting XEB calibration for arbitary gates.

part of breaking https://github.com/quantumlib/Cirq/pull/6568 into smaller PRs.

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 97.81%. Comparing base (32d4833) to head (be9df3e). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6657 +/- ## ======================================= Coverage 97.81% 97.81% ======================================= Files 1066 1066 Lines 91832 91860 +28 ======================================= + Hits 89826 89854 +28 Misses 2006 2006 ```

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

NoureldinYosri commented 4 months ago

@eliottrosenberg thanks, I forgot a negative sign in function for $\theta$. fixed now + I added a few random tests to make sure the function works