kestrelquantum / QuantumCollocation.jl

Quantum Optimal Control with Direct Collocation
MIT License
29 stars 7 forks source link

Override control prob defaults in templates #60

Closed andgoldschmidt closed 4 months ago

andgoldschmidt commented 10 months ago

Introduces the ability to override quantum control problem defaults in problem templates, for min time and robust problems.

Also adds a default (zero) objective. The zero objective could perhaps be tied to the number 0.0 when adding objectives, as a user convenience, but this was not implemented.

Closes #56

codecov[bot] commented 10 months ago

Codecov Report

Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (fdeea38) 52.10% compared to head (d439ccb) 51.90%.

Files Patch % Lines
src/objectives.jl 0.00% 13 Missing :warning:
src/problem_templates.jl 83.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #60 +/- ## ========================================== - Coverage 52.10% 51.90% -0.21% ========================================== Files 17 17 Lines 2422 2443 +21 ========================================== + Hits 1262 1268 +6 - Misses 1160 1175 +15 ```

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