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

Change SingleSiteOperator with MultiSiteOperator #324

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

albertomercurio
Copy link
Member

@albertomercurio albertomercurio commented Nov 29, 2024

Checklist

Thank you for contributing to QuantumToolbox.jl! Please make sure you have finished the following tasks before opening the PR.

  • Please read Contributing to QuantumToolbox.jl.
  • Any code changes were done in a way that does not break public API.
  • Appropriate tests were added and tested locally by running: make test.
  • Any code changes should be julia formatted by running: make format.
  • All documents (in docs/ folder) related to code changes were updated and able to build locally by running: make docs.
  • (If necessary) the CHANGELOG.md should be updated (regarding to the code changes) and built by running: make changelog.

Request for a review after you have completed all the tasks. If you have not finished them all, you can also open a Draft Pull Request to let the others know this on-going work.

Description

Here I change the SingleSiteOperator with a more general one MultiSiteOperator, allowing to generate an arbitrary product operator of a multipartite system.

Related issues or PRs

This PR fixes #322.

Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.67%. Comparing base (ab66af5) to head (e2520ae).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #324      +/-   ##
==========================================
- Coverage   93.07%   92.67%   -0.40%     
==========================================
  Files          36       36              
  Lines        2585     2595      +10     
==========================================
- Hits         2406     2405       -1     
- Misses        179      190      +11     

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

@albertomercurio albertomercurio merged commit b314479 into qutip:main Nov 29, 2024
14 of 16 checks passed
LorenzoFioroni pushed a commit to LorenzoFioroni/QuantumToolbox.jl that referenced this pull request Dec 9, 2024
* Change SingleSiteOperator with MultiSiteOperator

* Update changelog
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.

MultiSiteOperator for easily creating composite operators on large systems
2 participants