netket.optimizer.solver.LU

Contents

netket.optimizer.solver.LU#

netket.optimizer.solver.LU(A, b, trans=0, x0=None)[source]#

Solve the linear system using a LU Factorisation. The diagonal shift on the matrix should be 0.

Internally uses jax.numpy.linalg.lu_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