Dice expects an integer spin value in [-1, 4]. The solve_hci argument, spin_sq does not reflect this in its description nor type hint. The input to solve_hci and solve_fermion should be an argument called int: spin, which is passed directly to Dice. We will match Dice's default of -1 and write an appropriate description.
We should also provide the user with the expval of S^2 in both functions using the outputs from Dice.
Diceexpects an integerspinvalue in[-1, 4]. Thesolve_hciargument,spin_sqdoes not reflect this in its description nor type hint. The input tosolve_hciandsolve_fermionshould be an argument calledint: spin, which is passed directly toDice. We will matchDice's default of-1and write an appropriate description.We should also provide the user with the expval of
S^2in both functions using the outputs fromDice.spin_sqargument insolve_hcispinargument in both functions and use it as input toDicespinto match behavior inDice