Exemplo n.º 1
0
 def state_average_mix_(self, fcisolvers=None, weights=(0.5,0.5)):
     # This is clumsy and hacky and should be fixed in pyscf.mcscf.addons eventually rather than here
     sapdft_grad_monkeypatch_(state_average_mix_(self, fcisolvers, weights))
     return self
Exemplo n.º 2
0
 def state_average_(self, weights=(0.5,0.5)):
     # This is clumsy and hacky and should be fixed in pyscf.mcscf.addons eventually rather than here
     sapdft_grad_monkeypatch_(super ().state_average_(weights=weights))
     return self