ffsim.multireference_state_prod

ffsim.multireference_state_prod(hamiltonian, ansatz_operator, reference_occupations, norb, nelec, root=0, tol=1e-08)[source]

Compute multireference state for a product ansatz operator.

Parameters:
Return type:

tuple[float, ProductStateSum]

Returns:

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