View source on GitHub |
Perform Hartree-Fock energy minimization
openfermion.hamiltonians.rhf_minimization(
rhf_object: openfermion.hamiltonians.HartreeFockFunctional
,
method: Optional[str] = 'CG',
initial_guess: Optional[Union[None, np.ndarray]] = None,
verbose: Optional[bool] = True,
sp_options: Optional[Union[None, Dict]] = None
) -> OptimizeResult
Returns: scipy.optimize result object