quantax.optimizer.PlainUpdater#
- class quantax.optimizer.PlainUpdater#
Bases:
UpdaterThe plain update \(\dot\theta = \mathrm{solve}(\bar O, \bar\epsilon)\). The solution is kept in the
x0buffer and passed to the solver as the initial guess of the next iteration, used by iterative solvers likelstsq_shift_cg.- __init__()#
- update(core_solve, Obar, Ebar, buffers)#
Generate the optimization step and the new buffers, given the equation solver
core_solveand the currentbuffers.