quantax.optimizer.SpringUpdater#
- class quantax.optimizer.SpringUpdater#
Bases:
UpdaterThe SPRING update, a variant of SR with momentum stored in the
phibuffer.If the proposed step contains non-finite values, the
phibuffer is left unchanged, so a single corrupted iteration canβt poison the accumulated momentum. The non-finite step is still returned and is expected to be rejected byupdate.