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

Add argument for repeating transformations to optimize_for_target_gateset #6426

Closed NoureldinYosri closed 7 months ago

NoureldinYosri commented 8 months ago

related to https://github.com/quantumlib/Cirq/issues/6422

codecov[bot] commented 8 months ago

Codecov Report

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

Comparison is base (2ef1909) 97.81% compared to head (1e744bf) 97.81%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6426 +/- ## ======================================= Coverage 97.81% 97.81% ======================================= Files 1111 1111 Lines 97143 97161 +18 ======================================= + Hits 95022 95040 +18 Misses 2121 2121 ```

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

NoureldinYosri commented 8 months ago

@tanujkhattar now this PR just introduces the max_num_passes parameter and updates the docstring

tanujkhattar commented 7 months ago

I've reviewed the other one, maybe we can directly merge that once my comments are addressed ?

NoureldinYosri commented 7 months ago

superseded by https://github.com/quantumlib/Cirq/pull/6433