ratt-ru / QuartiCal

CubiCal, but with greater power.
MIT License
8 stars 4 forks source link

Introduce slower complex kernel. #101

Closed JSKenyon closed 3 years ago

JSKenyon commented 3 years ago

This PR adds a slower complex kernel (approx. 2x slower, but not always and this will be slightly improved once I remove determinant checks) which correctly uses per-correlation weights. This solver is also much closer to the maths as written and can be used a basis for parameterized solvers.

Other changes include fixes to net gain computation (note that this needs further checks in the distributed case as coerce_literal can confuse the distributed scheduler).

Correlation mode now just uses an integer value.