SciML / QuantumNLDiffEq.jl

MIT License
17 stars 4 forks source link

Overhaul 2 - New features and complete functionality #11

Closed VarLad closed 2 years ago

VarLad commented 2 years ago

This PR includes support for

  1. Better multifunction encoding
  2. Option to choose from different encoding techniques
  3. Evolution enhanced mapping
  4. Parameterisation of cost function and optimized boundary handling
  5. Regularization and boundary loss for the above

Other than that, better tests which aim to catch a wrong function call, incorrect function definition and other such problems through all the features.

VarLad commented 2 years ago

Pasting a png file here jl_SbFEaMjEmj

codecov[bot] commented 2 years ago

Codecov Report

Merging #11 (2985f63) into main (912fa6c) will increase coverage by 6.77%. The diff coverage is 85.91%.

@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
+ Coverage   81.25%   88.02%   +6.77%     
==========================================
  Files           4        6       +2     
  Lines          48      167     +119     
==========================================
+ Hits           39      147     +108     
- Misses          9       20      +11     
Impacted Files Coverage Δ
src/loss.jl 77.63% <77.63%> (ø)
src/QuantumNLDiffEq.jl 94.91% <94.64%> (-0.54%) :arrow_down:
src/calculate_diff_evalue.jl 100.00% <100.00%> (+16.66%) :arrow_up:
src/calculate_evalue.jl 100.00% <100.00%> (ø)
src/new_circuit.jl 100.00% <100.00%> (+40.00%) :arrow_up:
src/phi.jl 100.00% <0.00%> (+50.00%) :arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

ChrisRackauckas commented 2 years ago

Looks great!

Make an issue about improving that derivative handling, but it's more than fine enough for now.