netket.optimizer.solver.cholesky

Contents

netket.optimizer.solver.cholesky#

netket.optimizer.solver.cholesky(A, b, lower=False, x0=None)[source]#

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

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