Cirq icon indicating copy to clipboard operation
Cirq copied to clipboard

Nicer string representation for `_InverseCompositeGate`

Open tanujkhattar opened this issue 2 years ago • 2 comments

cirq.inverse(g) would not have a string representation corresponding to g.__str__()† instead of (g.__repr__() ** -1).

tanujkhattar avatar Aug 25 '23 22:08 tanujkhattar

Codecov Report

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

Project coverage is 97.81%. Comparing base (e4b6ab2) to head (a8cce7b). Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6262      +/-   ##
==========================================
- Coverage   97.81%   97.81%   -0.01%     
==========================================
  Files        1063     1061       -2     
  Lines       91796    91489     -307     
==========================================
- Hits        89794    89487     -307     
  Misses       2002     2002              

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

codecov[bot] avatar Aug 25 '23 22:08 codecov[bot]

Automerge cancelled: Can only automerge into master.

CirqBot avatar May 05 '24 01:05 CirqBot