Skip to content

Conversation

@albertomercurio
Copy link
Member

@albertomercurio albertomercurio commented Feb 20, 2025

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 Quantum Toolbox in Julia.
  • 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

The SteadyStateODESolver method for steadystate was different in terms of arguments given. Here I align it to the other solvers, making it easier to use. I also made it more efficient avoiding allocations when computing the terminate function.

Moreover, I slightly improve the support for GPU, supporting now also CSR sparse matrices.

@albertomercurio albertomercurio marked this pull request as ready for review February 20, 2025 21:59
@codecov
Copy link

codecov bot commented Feb 20, 2025

Codecov Report

Attention: Patch coverage is 96.42857% with 1 line in your changes missing coverage. Please review.

Project coverage is 94.34%. Comparing base (6e14238) to head (eeb4adf).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/utilities.jl 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #421      +/-   ##
==========================================
+ Coverage   94.33%   94.34%   +0.01%     
==========================================
  Files          47       47              
  Lines        2963     2972       +9     
==========================================
+ Hits         2795     2804       +9     
  Misses        168      168              

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

@ytdHuang ytdHuang merged commit 2d352f9 into qutip:main Feb 22, 2025
16 checks passed
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