netket.optimizer.solver.solve#

netket.optimizer.solver.solve(A, b, sym_pos=True, x0=None)#

Solve the linear system. The diagonal shift on the matrix should be 0.

Internally uses {ref}`jax.numpy.solve`.

Parameters
  • A – the matrix A in Ax=b

  • b – the vector b in Ax=b

  • lower – if True uses the lower half of the A matrix

  • x0 – unused