Skip to content

Conversation

@andrijapau
Copy link
Contributor

@andrijapau andrijapau commented Nov 14, 2025

Fixes the measurement module's docstrings. Cherry picked from #8340.

[sc-100108]

@github-actions

This comment was marked as resolved.

@codecov
Copy link

codecov bot commented Nov 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.42%. Comparing base (1fb4f77) to head (e2565c4).
⚠️ Report is 1 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

array(1.8774)
>>> qml.grad(circuit)(x, H)
-0.44999999999999984
>>> circuit(x, H) # doctest: +SKIP
Copy link
Contributor Author

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.

@andrijapau andrijapau added the documentation 📘 Documentation changes and updates label Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation 📘 Documentation changes and updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants