-
Notifications
You must be signed in to change notification settings - Fork 18
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
Define returns_state
in capabilities
#107
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #107 +/- ##
==========================================
+ Coverage 99.23% 99.24% +0.01%
==========================================
Files 8 8
Lines 391 397 +6
==========================================
+ Hits 388 394 +6
Misses 3 3 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @antalszava, it looks good to me 💯
The Cirq devices that define the
state
method are capable of returning the state, yet they don't have thereturns_state=True
entry in thecapabilities
dictionary of the device (see the explanation ofcapabilities
here).