auxiliary-field qmc for quantum chemistry: recent progress ... · qmc insensitive to details of the...

30
Auxiliary-field QMC for quantum chemistry: recent progress and open issues recent progress and open issues Henry Krakauer College of William & Mary USA Introduction College of William & Mary , USA Outline Introduction ¾ Orbital-based QMC --- identical H as in quantum chemistry ¾ Random walks in Slater determinant space Any 1-electron basis [planewaves, gaussian type orbitals (GTO), ..] Overall phase constraint on SD: a new way to deal with the sign problem Code naturally builds on top of standard DFT scales as N 3 -N 4 Code naturally builds on top of standard DFT, scales as N N Applications: molecules, bond breaking, solids, .... Recent algorithmic developments: ¾ Resolution of the identity (RI) --> larger basis sets with GTO

Upload: others

Post on 30-Apr-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Auxiliary-field QMC for quantum chemistry: recent progress and open issuesrecent progress and open issues

Henry Krakauer College of William & Mary USA

• Introduction

College of William & Mary, USA

Outline• Introduction

Orbital-based QMC --- identical H as in quantum chemistryRandom walks in Slater determinant spacep

Any 1-electron basis [planewaves, gaussian type orbitals (GTO), ..]

Overall phase constraint on SD: a new way to deal with the sign problem

Code naturally builds on top of standard DFT scales as N3-N4Code naturally builds on top of standard DFT, scales as N N

• Applications: molecules, bond breaking, solids, ....• Recent algorithmic developments:g p

Resolution of the identity (RI) --> larger basis sets with GTO

Page 2: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Collaborators:Collaborators:– Wirawan Purwanto– Shiwei Zhang– Eric Walter

Support:– DOE (ThChem, petascale endstation), NSF, ONR

Some references:Zh & K k PRL ’03– Zhang & Krakauer, PRL ’03

– Al-Saidi et. al., PRB ’06; JCP, ’06; JCP ’07– Kwee et. al., PRL ‘08Kwee et. al., PRL 08– Purwanto et. al., JCP ’08; JCP ’09; PRB ’09– Chang & Zhang, PRL ’10

Page 3: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Quantum chemistry

quantum chemistryΜ ... HF N-electron reference state:

Slater determinant of N occupiedV

2

43

Slater determinant of N occupied orbitals.

O 2

1 0 1 1 2 2( ) ( ) ( )N NA x x xφ φ φ⎡ ⎤Φ = ⎣ ⎦% % %L

The full many-body wave function is spanned by all possible Slater determinants, which can be formed from the Moccupied and virtual HF orbitals, where M is the size of the 1-particle basis.

Page 4: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

QM chem - e.g. single reference, orthogonal det’s

HFexcited determinants

quadruplytriplydoublysinglyexcited determinants

0a a ab abi i ij ijc cΨ = Φ + Φ + Φ +∑ ∑ L0 i i ij ij

ia ijab∑ ∑

orthogonal determinants

Page 5: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Random walks of non-orthogonal Slater determinantsOverview - how does auxiliary-field QMC work?

Random walks of non orthogonal Slater determinantsquantum chemistry

Μ ... ... ...AF QMC

V 43

O 2

1

[ ]21 20 1 (( ()) )N NxA xx φ φφΦ = LA single random walker in AFQMC is a Slater determinant:

MnO

• AFQMC is naturally multi-reference: not the HF orbitals

• any orbital that can be expressed in the basis:M

( )21, , , Nxx xL1

)( ()M

ii

j jiG xxφ α=

=∑ DMC:

Page 6: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

AF QMC: basic formalismT bt i d t t j ti i i i tiTo obtain ground state, use projection in imaginary-time:

Electronic Hamiltonian: (2nd quantization given any 1 particle basis)Electronic Hamiltonian: (2nd quantization, given any 1-particle basis) basis functions

(textbooks: )M

M = ∞QM chemistry: M N∝

next

Page 7: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

AF QMC: basic formalism

To obtain ground state, use projection in imaginary-time:

Electronic Hamiltonian: (2nd quantization given any 1 particle basis)Electronic Hamiltonian: (2nd quantization, given any 1-particle basis)

Hubbard-Strotonivich transf.( )2

† † † †

ˆDFT:

HF:

ˆc i ii

i li k j kj l

H

c

f n n

cc c cc c c

→ +

∑L

next

Page 8: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Auxiliary-field methods: some background• Applied in models in condensed matter, nuclear physics,

(lattice QCD), ….Scalapino Sugar Hirsch White et al ; Koonin; SorellaScalapino, Sugar, Hirsch, White et al.; Koonin; Sorella, ….

basic idea: Monte Carlo to do sum (path integral)

• Potential for real materials well recognized Fahy & Hamann; Silvestreli, Baroni & Car; Wilson & Gyorffy; Baer et. al.;….

• HoweverHowever,sign problem for “simple” interactions (Hubbard)phase problem for realistic interaction

• Our reformulation gives a way to control the problem by an approximation to have a N3 or N4 scaling algorithm

Page 9: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

AF QMC - schematic implementationRandom walks in Slater determinant space:

H-S transformation

Schematically:Schematically:

Slater det.

Page 10: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

AF QMC - schematic implementationRandom walks in Slater determinant space:

H-S transformation

Exact, but phase problem:

Page 11: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

AF QMC - schematic implementationRandom walks in Slater determinant space:

H-S transformation

Exponential noiseExact, but phase problem:

Page 12: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Si / h bl i d

The sign problem [ ]21 20 1 (( ()) )N NxA xx φ φφΦ = L

Sign/phase problem is due to --

“superexchange”: MnO

[ ]21 20 1 (( ()) )N Nφ φφ

MnO

[ ]21 20 1 (( ()) )N NxA xx φ φφΦ = L

Slater det. - antisymmetric

Reasonable to expect that problem is reduced, since tendency for global collapse to bosonic state is removed

To eliminate sign problem:Use to determine if ”superexchange” has occurred

Page 13: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

The sign problem and the constraint

The constraint is exact when similar to fixed node in DMC but the global sign of a– similar to fixed-node in DMC, but the global sign of a (fermionic) is less demanding than that of R (bosonic)

“Mixed estimate” of total energy not an upper boundMixed estimate of total energy not an upper boundThe method is exact if is always non-negative

Page 14: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Controlling the phase problemSketch of approximate solution:

• Modify propagator by “gauge transformation’: phase degeneracy (use trial wf)phase degeneracy (use trial wf)

• Project to one overall phase:break “rotational invariance”break rotational invariance

• subtle, but key, difference from: real(Fahy & Hamann; Zhang Carlson Gubernatis)

T φΨ(Fahy & Hamann; Zhang, Carlson, Gubernatis)

After:Before:

Page 15: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Controlling the phase problemQuantify the approximation?

exact

Error in total E < 0.3mH/atomfree-proj: our ‘FCI’ (8 electrons, Nbasis~570)

Page 16: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Test application: molecular binding energies

- O3, H2O2, C2, F2, Be2, …- Si2, P2, S2, Cl2

As Br Sb

3 types of calc’s:

- As2, Br2, Sb2- TiO, MnO

3 types of calc s:- PW +psp: - Gaussian/AE:

G i / ECP- Gaussian/sc-ECP:

Nval up to ~ 60

• All with single mean-field determinant as trial wf HF: x

• “automated” post-HF or post-DFT

• HF or LDA trial wf: same result

LDA: triangle

GGA: diamond

Page 17: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Constraint independent of trial wf details

Evar E QMC/trial wf

MnO solid in antiferromagnetic II phase:_Q

HF -118.2655 -119.1401(12)

GGA -118.1929 -119.1387(10)

Energy in Hartree/unit cell

4-atom cell,

V=21 96 A3

-119.0614 (E_GGA)

QMC insensitive to details of the trial wave function

V=21.96 A3

QMC insensitive to details of the trial wave function

Spin restriction (R vs U type of trial wfs) does have effect:e g water molecule:e.g., water molecule:

no upper bound!

Page 18: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

F2 bond breakingMimics increasing correlation effects:

• CCSD(T) methods have

F F

( )problems (excellent at equilibrium)

•UHF unboundUHF unbound

•QMC/UHF recovers despite incorrect trial wf ---uniformly accurate

RCCSDTQ: Musial & Bartlett ’05RCCSDTQ: Musial & Bartlett, 05

Dissoc. limitEquilibrium“bonding” “insulating”(removes spin contamination)

Page 19: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

F2 bond breaking --- larger basisPotential energy curve:

• LDA and GGA/PBE- well-depths too deepwell depths too deep

• B3LYP- well-depth excellentp- “shoulder” too steep

• Compare with experimentspectroscopic cnsts:

cc-pVTZ

Purwanto et. al., JCP, ‘08

Page 20: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Excited states

• Excited states are more difficult • For QMC this is manifested as a more severe• For QMC, this is manifested as a more severe

sign/phase problem, especially for excited states with the same symmetry as the GS

• A first attempt, using the same approach as in GS

Page 21: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Excited states

Benchmark (FCI: Abrams & Sherrill, JCP ’04)

21Truncated CASSCF(8,16) trial wf ~30-50 det’s

Page 22: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Excited states

TZ and QZ basis:

22Truncated CASSCF(8,16) trial wf ~30-50 det’s

Page 23: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

• computational scaling of phaseless AF QMCLarger basis size with GTOs

computational scaling of phaseless AF QMC basis start-up propagating planewave/psp ~0 N2 M log(M)GTO M6 (brute force) M3 & M4 (energy calc)

• We’ve implemented a modified Cholesky to remove M6

Table: Comparison of diagonalization vs. modified Cholesky method. Mis the basis size. Times are reported in seconds. Calculations were done on an AMD workstation with 8-core OpenMP parallelism.

M Ti Ti ( d JM Time (diagonalization)

Time (mod-Cholesky)

Jmax

101 3608 11 592155 33649 66 1044155 33649 66 1044180 67194 108 1247216 --- 112 1480344 --- 1066 2255344 1066 2255

Page 24: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

M6 bottleneck? - AFQMC with GTO basis:

† † †1 2

ˆ ˆ ˆM M

H H H T c c V c c c cμν μ ν αβμν α μ β ν= + = +∑ ∑1 2 μν μ ν αβμν α μ β νμν αβμν∑ ∑

Hubbard-Stratonivich transformation requires: q

22

ˆ ˆ ˆ 1-bodyH v vλ λ= =∑2 1 bodyH v vλ λλ∑

Brute force solution - diagonalize M2 x M2 matrix: g

{ } { },V Vαβμν αβ μν=

*

Page 25: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Avoid bottleneck: resolution of identity (RI)

2-body Coulomb:

RI: e.g., PW’s:O(8M)

I) density fitting: pre defined

2P M<<

pre-defined auxiliary basis

II) modified Cholesky*: accuracy controlled by one

t bi d( ) ( ) ( ) 2

1|

Jj j

jL L J Mμν λαμν λα

=

≈ <<∑parameter - unbiased 1j=

*

Page 26: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

• Model system of Ca1+ / 4H2Test: model H-storage problem

Model system of Ca / 4H2 Possible high-density H storage by dispersed alkaline-earth metals? 6-311+G**

Cha et al, PRL, 2009

PreliminaryFinite Basis set error?

Preliminary

next Can now do with modified Cholesky

Page 27: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Discussion and open issues

Approximate (global phase condition) --- how accurate?method relatively new but quite extensive tests in GS– method relatively new, but quite extensive tests in GS (~100 systems: atomization, IP, EA, Re, ....)

– can recover from wrong constraining trial wf (eg F2) g g ( g 2)– Further improvement:

better constraining wf; back propagation; release; ....Favorable computational scaling ~ O(M3-M4)– reduce prefactor: (remove M4?)

GTO tricks; better basis; resolution of the identity (modified Cholesky example); .....

t l hi h i ili fi ld l li ti– natural hierarchy in auxiliary-fields, localization, ....

Page 28: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

SummaryAF QMC d lk i fi ld❖ AF QMC : random walks in mean-field space• Orbital-based, non-perturbative, many-body method• Approximate: (exact without constraint -- FCI-like)• Approximate: (exact without constraint -- FCI-like)

• QMC’s only source of error reduced --> making QMC more a “blackbox”, for more problems

• encouraging accuracy and robustness

❖ Applications & benchmarksbl t CCSD(T) d ilib i t• comparable to CCSD(T) around equilibrium geometry

• better for stronger correlations, e.g. bond-breaking in molecules

❖ Modified Cholesky for GTOs❖ Modified Cholesky for GTOs❖ Various opportunities to import techniques from QC❖ A new wf-based method which can directly use much of the❖ A new wf-based method which can directly use much of the

existing machinery from DFT/HF:--- superposition of independent-particle calculations

Page 29: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Thank you!Thank you!

29

Page 30: Auxiliary-field QMC for quantum chemistry: recent progress ... · QMC insensitive to details of the trial wave function V=21.96 A QMC insensitive to details of the trial wave function

Periodic SolidsSilicon structural phase transition (diamond --> -tin):

• transition pressure is sensitive: small dE

• AFQMC

✓54-atom supercells+finite-size method P (GPa)

~15mHa correction

✓PW + psp

( )LDA 6.7GGA (BP) 13.3

✓uses LDA trial wf• Good agreement w/

GGA (PW91) 10.9GGA (PBE) ~8.9DMC (Alfe et al ’04) 16 5(5)

experiment --- consistent w/ exact free-proj checks

DMC (Alfe et al 04) 16.5(5)AFQMC 12.6(3)experiment 10.3-12.5