qojulia / QuantumOptics.jl

Library for the numerical simulation of closed as well as open quantum systems.
http://qojulia.org
Other
518 stars 101 forks source link

Add function correlation_dynamic #325

Closed zejian-li closed 2 years ago

zejian-li commented 2 years ago

Add function for computing two-time correlations for time-dependent master equation.

ChristophHotter commented 2 years ago

Seems okay for me. @zejian-li Could you please also add a test to the file test_timecorrelations.jl?

zejian-li commented 2 years ago

Seems okay for me. @zejian-li Could you please also add a test to the file test_timecorrelations.jl?

Ok I haved added some tests based on the the existing ones for timecorrelations.correlation and verified locally that they would pass.

codecov[bot] commented 2 years ago

Codecov Report

Merging #325 (0993ebb) into master (3d0499c) will increase coverage by 0.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #325      +/-   ##
==========================================
+ Coverage   98.24%   98.27%   +0.02%     
==========================================
  Files          16       16              
  Lines        1310     1331      +21     
==========================================
+ Hits         1287     1308      +21     
  Misses         23       23              
Impacted Files Coverage Δ
src/timecorrelations.jl 100.00% <100.00%> (ø)
src/mcwf.jl 100.00% <0.00%> (ø)
src/master.jl 100.00% <0.00%> (ø)
src/timeevolution_base.jl 100.00% <0.00%> (ø)
src/stochastic_schroedinger.jl 100.00% <0.00%> (ø)
src/stochastic_master.jl 97.26% <0.00%> (+0.07%) :arrow_up:
src/bloch_redfield_master.jl 93.50% <0.00%> (+0.08%) :arrow_up:
src/semiclassical.jl 96.84% <0.00%> (+0.10%) :arrow_up:
src/schroedinger.jl 89.65% <0.00%> (+0.76%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3d0499c...0993ebb. Read the comment docs.

ChristophHotter commented 2 years ago

correlation_dynamic() is now in the master branch. It is available in version 1.0.2