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

Fix type instability for liouvillian #318

Merged
merged 6 commits into from
Nov 20, 2024

Conversation

ytdHuang
Copy link
Member

@ytdHuang ytdHuang commented Nov 20, 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

This PR fixes type instability and reduce extra memory allocation in liouvillian

Related issues or PRs

fix #315

@ytdHuang ytdHuang changed the title Fix type stability for liouvillian Fix type instability for liouvillian Nov 20, 2024
@albertomercurio albertomercurio merged commit 9810db4 into qutip:main Nov 20, 2024
13 of 14 checks passed
@ytdHuang ytdHuang deleted the fix/superop branch November 20, 2024 08:49
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.

Type instabilities when using liouvillian on QobjEvo
2 participants