Skip to content

Commit

Permalink
Added CC to DC MWE
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkin committed Nov 17, 2017
1 parent 9c6615d commit fc26420
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mwe_dchf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
mf = dchf.DCHF(model)
assign_domains(mf, 4, 2)
mf.kernel()

print "Custom MP2", dchf.energy_2(mf.domains, 1.0, with_t2=False)[0]
print "Pyscf MP2", dchf.energy_2(mf.domains, 1.0, amplitude_calculator=dchf.pyscf_mp2_amplitude_calculator, with_t2=False)[0]
print "Pyscf CCSD", dchf.energy_2(mf.domains, 1.0, amplitude_calculator=dchf.pyscf_ccsd_amplitude_calculator, with_t2=False)[0]

0 comments on commit fc26420

Please sign in to comment.