ffsim.multireference_state

ffsim.multireference_state(hamiltonian, ansatz_operator, reference_occupations, norb, nelec, root=0)[source]

Compute multireference energy and state.

Parameters:
Return type:

tuple[float, ndarray]

Returns:

The energy of the multireference state, and the state itself.