-
Notifications
You must be signed in to change notification settings - Fork 706
[doctest] measurements module
#8653
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
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #8653 +/- ##
=======================================
Coverage 99.42% 99.42%
=======================================
Files 587 587
Lines 62002 62002
=======================================
Hits 61645 61645
Misses 357 357 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| array(1.8774) | ||
| >>> qml.grad(circuit)(x, H) | ||
| -0.44999999999999984 | ||
| >>> circuit(x, H) # doctest: +SKIP |
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.
This entire docstring is super stochastic even with 50_000 shots. I think it's best to just skip them.
Fixes the
measurementmodule's docstrings. Cherry picked from #8340.[sc-100108]