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

Improved Floquet solver #153

Merged
merged 3 commits into from
Jun 3, 2024
Merged

Improved Floquet solver #153

merged 3 commits into from
Jun 3, 2024

Conversation

samu-sys
Copy link
Contributor

@samu-sys samu-sys commented Jun 1, 2024

With this pull request, we fix #82.

With this new method, we can solve the entire linear system at once and we can also get the other Fourier components of the density matrix.

I have also introduced a little explanation in the documentation.

In the next pull requests, we could also return the other Fourier components using the SSFloquetEffectiveLiouvillian solver, since this was not the aim of the original issue.

Copy link

codecov bot commented Jun 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.42%. Comparing base (1fdc207) to head (48a3cb5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #153      +/-   ##
==========================================
+ Coverage   91.97%   92.42%   +0.44%     
==========================================
  Files          26       26              
  Lines        1795     1835      +40     
==========================================
+ Hits         1651     1696      +45     
+ Misses        144      139       -5     

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

@albertomercurio
Copy link
Member

Great. It seems good. Let see what @ytdHuang says.

Remember to comment on #82, so that I can assign you to that issue for UnitaryHACK.

@ytdHuang
Copy link
Member

ytdHuang commented Jun 2, 2024

Does these steady state solving methods have any reference paper? Maybe we should add the reference in the docstrings. It would be easier for the users to follow.

Apart from that, everything is fine~

ω::Real; n_max::Int=4,
tol::Real=1e-15,
ss_solver::SteadyStateSolver=SteadyStateDirectSolver())
function steadystate_floquet(
Copy link
Member

Choose a reason for hiding this comment

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

I think we dont need to put the word "function" here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you very much. I am going to remove it as soon as possible.

@albertomercurio albertomercurio merged commit 6f28a5d into qutip:main Jun 3, 2024
14 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.

Improve the Floquet solver, with the possibility to get also the time-dependent components
3 participants