openfermion.linalg.get_ground_state

Compute lowest eigenvalue and eigenstate.

Main aliases

openfermion.get_ground_state, openfermion.linalg.sparse_tools.get_ground_state

Used in the notebooks

Used in the tutorials

sparse_operator LinearOperator

Operator to find the ground state of.

initial_guess ndarray

Initial guess for ground state. A good guess dramatically reduces the cost required to converge.

Returns

eigenvalue:
    The lowest eigenvalue, a float.
eigenstate:
    The lowest eigenstate in scipy.sparse csc format.