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

Extend method for ptrace and entanglement #33

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

ytdHuang
Copy link
Member

@ytdHuang ytdHuang commented Mar 19, 2024

This is just an extend method for lazy people like me.
If we are doing partial trace and leaving only one sub-system, we can specify sel::Int only (users don't need to add the square brackets [] to generate a Vector by themselves).

Copy link

codecov bot commented Mar 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.40%. Comparing base (cd0bfa6) to head (5c7911c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
+ Coverage   89.39%   89.40%   +0.01%     
==========================================
  Files          16       16              
  Lines        1565     1567       +2     
==========================================
+ Hits         1399     1401       +2     
  Misses        166      166              

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

Copy link
Member

@albertomercurio albertomercurio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@albertomercurio albertomercurio merged commit ab1dec3 into qutip:main Mar 19, 2024
6 checks passed
@ytdHuang ytdHuang deleted the dev/ptrace branch March 20, 2024 06:28
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