**Bug description** The value of NiO's energy calculated in the solver has been undefined (nan) when ansatz was set to 0 and 1. **Expected behavior** The energy should be a numerical value.
Bug description
The value of NiO's energy calculated in the solver has been undefined (nan) when ansatz was set to 0 and 1.
Expected behavior
The energy should be a numerical value.