10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-07-08 04:15:49 +02:00
QCaml/HartreeFock/HartreeFock.ml

10 lines
199 B
OCaml
Raw Normal View History

2018-02-23 18:44:31 +01:00
open Util
open Simulation
let make ?guess simulation =
if simulation.electrons.Electrons.multiplicity = 1 then
RHF.make ?guess simulation
else
invalid_arg "UHF or ROHF not implemented"