quemb.molbe.solver.solve_error¶
- quemb.molbe.solver.solve_error(Fobjs, Nocc, only_chem=False)¶
Compute the error for self-consistent fragment density matrix matching.
This function calculates the error in the one-particle density matrix for a given fragment, matching the density matrix elements of the edges and centers. It returns the norm of the error vector and the error vector itself.