tjjarvinen / HKQM.jl

MIT License
7 stars 1 forks source link

Add Tensor Contraction Gradients #51

Open tjjarvinen opened 2 years ago

tjjarvinen commented 2 years ago

Tensor contractions don't have reverse mode gradients. These can be added easily with Tullio.

tjjarvinen commented 2 years ago

Tullio does not seem to do it. Tullio.@tensor does not work on Poisson equation. Says that it is not correct form.

Also TensorRules needs := insted of = in tensor expression, which compicates things.