Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nicer string representation for _InverseCompositeGate #6262

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tanujkhattar
Copy link
Collaborator

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

@tanujkhattar tanujkhattar requested review from vtomole, cduck and a team as code owners August 25, 2023 22:23
@CirqBot CirqBot added the Size: XS <10 lines changed label Aug 25, 2023
@codecov
Copy link

codecov bot commented Aug 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.79%. Comparing base (9ab6601) to head (05da598).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6262   +/-   ##
=======================================
  Coverage   97.79%   97.79%           
=======================================
  Files        1124     1124           
  Lines       95468    95471    +3     
=======================================
+ Hits        93359    93362    +3     
  Misses       2109     2109           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dstrain115 dstrain115 added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Mar 20, 2024
@tanujkhattar tanujkhattar enabled auto-merge (squash) April 9, 2024 20:47
@CirqBot
Copy link
Collaborator

CirqBot commented May 5, 2024

Automerge cancelled: Can only automerge into master.

@CirqBot CirqBot removed the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: XS <10 lines changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants