JuliaQuantumControl / QuantumPropagators.jl

Propagators for Quantum Dynamics and Optimal Control
https://juliaquantumcontrol.github.io/QuantumPropagators.jl/
MIT License
16 stars 4 forks source link

Extend `get_parameters` #73

Closed goerz closed 3 months ago

goerz commented 3 months ago

Extend get_parameters to arbitrary objects, where parameters are collected into a RecursiveArrayTools.ArrayPartition.

Extend the interface definitions to account for parameters.

ComponentArrays are now the recommended way to define arrays of parameters.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 70.28986% with 41 lines in your changes are missing coverage. Please review.

Project coverage is 88.6%. Comparing base (570ed0a) to head (68025fa).

Files Patch % Lines
src/interfaces/parameterization.jl 64.2% 19 Missing :warning:
src/interfaces/control.jl 68.6% 17 Missing :warning:
src/controls.jl 84.0% 4 Missing :warning:
src/interfaces/amplitude.jl 50.0% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #73 +/- ## ======================================== - Coverage 89.6% 88.6% -1.0% ======================================== Files 29 31 +2 Lines 1998 2108 +110 ======================================== + Hits 1790 1867 +77 - Misses 208 241 +33 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.