mirror of
https://github.com/LCPQ/quantum_package
synced 2025-01-03 18:16:12 +01:00
Randomized multiplet guess
This commit is contained in:
parent
e6c8cf2e25
commit
5e4d5a62e4
@ -88,8 +88,9 @@ let run ~multiplicity ezfio_file =
|
|||||||
~alpha:(Elec_alpha_number.of_int alpha_new)
|
~alpha:(Elec_alpha_number.of_int alpha_new)
|
||||||
~beta:(Elec_beta_number.of_int beta_new) pair )
|
~beta:(Elec_beta_number.of_int beta_new) pair )
|
||||||
in
|
in
|
||||||
|
|
||||||
let c =
|
let c =
|
||||||
Array.create ~len:(List.length determinants) (Det_coef.of_float 1.)
|
Array.init (List.length determinants) (fun _ -> Det_coef.of_float ((Random.float 2.)-.1.))
|
||||||
in
|
in
|
||||||
|
|
||||||
determinants
|
determinants
|
||||||
|
Loading…
Reference in New Issue
Block a user