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

Introduce variance #187

Merged
merged 1 commit into from
Jul 11, 2024
Merged

Introduce variance #187

merged 1 commit into from
Jul 11, 2024

Conversation

ytdHuang
Copy link
Member

As title, this PR add new function variance to calculate the variance of an operator with a given quantum state.

Copy link

codecov bot commented Jul 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.37%. Comparing base (4ad239b) to head (c05da9f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #187   +/-   ##
=======================================
  Coverage   93.36%   93.37%           
=======================================
  Files          28       28           
  Lines        2111     2113    +2     
=======================================
+ Hits         1971     1973    +2     
  Misses        140      140           

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

@albertomercurio albertomercurio merged commit 96d776c into qutip:main Jul 11, 2024
14 checks passed
@ytdHuang ytdHuang deleted the dev/variance branch July 11, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants