netket.optimizer.solver.solve

Contents

netket.optimizer.solver.solve#

netket.optimizer.solver.solve(A, b, *, assume_a='pos', x0=None)[source]#

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

Internally uses jax.numpy.solve().

Note

If you pass only keyword arguments, this solver will directly create a partial capturing them.

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