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

introduce a generic value type for DeviceParametersDiff proto #6712

Closed kmlau closed 2 months ago

kmlau commented 2 months ago

the current DeviceParametersDiff protobuf message allows parameters of limited types to be override. This PR introduces a GenericValue protobuf message which removes the type restriction.

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 97.83%. Comparing base (f0ead96) to head (79a7c83). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6712 +/- ## ======================================= Coverage 97.83% 97.83% ======================================= Files 1077 1077 Lines 92484 92487 +3 ======================================= + Hits 90482 90485 +3 Misses 2002 2002 ```

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