43
Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas North Carolina State University Sep. 22, 2018 [email protected]

Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

Quantum Monte Carlo: method, applications,impact, relation to quantum computing

Lubos Mitas North Carolina State University Sep. 22, 2018

[email protected]

Page 2: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

H r1, r2, ...=E r

1, r2, ...

- ground states - excited states, optical properties - responses to external fields - T>0, etc ...

H=− 1

2∑

i

∇i2−∑

i , I

ZI

riI

∑i j

1

rij

Eion−ion

Robert Laughlin: Nobel Prize Talk, viewgraph #2

Page 3: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

Properties of matter: molecules, liquids, solids, ...→ stationary Schrodinger equation

Hamiltonian of interacting electrons and nuclei

Stationary Schrodinger equation

Solutions, ie, the spectrum provides:

- stability/cohesion, eqs. of state, phase diagrams, magnetic order - excitations: optical properties, transport, responses, T>0, ... → key inputs for subsequent methods (atomistic, etc)

[email protected]

H = − 1

2∑

i

N

∇ i2 − ∑

i , I

Z I

r iI

+ ∑i< j

1

rij

+ E nucl−nucl

{E k , ψk }k=0k=∞

H ψk (R)=E k ψk (R) R=(r1 , r2 , ... , rN )

..

Page 4: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

[email protected]

The underlying physical laws necessary for the mathematical theory of a large part of physics and the whole of chemistry are thus completely known, and the difficulty is only that the exact application of these laws leads to equations much too complicated to be soluble.

Paul Dirac, ~ 1930

Page 5: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

challenges

● real systems: many interacting particles ↔ multi-D problem since they are indistinguishable:

H2O molecule → 30 dimensions tiny drop of water → effectively infinite dimensionality

● spatial, spin and other fundamental symmetries, eg, spin, spatial, and

fermion antisymmetry

● required accuracy for the solutions is astonishingly high: total energy per relevant degree of freedom ~ 102 - 103 eV while one needs incredibly high resolution to “read off” the energy →

[email protected]

n... , r

i

, ... , rj

, ...=−n... , r

j

, ... , ri

, ...

Page 6: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

challenges II

- required accuracy:

~ 0.01 % ↔ 0.1eV ~ 1000K for cohesion, reactions ~ 0.001% ↔ 0.01eV ~ 100K magnetic states ~ 0.0001% ↔ 0.001eV ~ 10K superconductivity ~ 0.00001% ↔ 0.0001eV ~ 1K heavy fermions etc

→ eight, nine, etc … accurate digits !!!

→ this accuracy is inherent here: the most accurate measured constant is e^2/h: 12 exact digits !!! (quantum Hall effect)

[email protected]

Page 7: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

Forget about the wavefunction, that's too difficult ... and reformulateas a functional of one-particle density

→ effectively a one-particle problem

Troubles: - the exact functional is unknown → approximations - systematic accuracy and improvements are problematic Expand the wave function in one-particle orbitals: Hartree-Fock (HF)

but missing many-body effects → correlation → Ecorr = Eexact - EHF

Post-HF improvements Troubles: - costly, slow convergence - can be accurate but inefficient

[email protected]

Etot

=∫ F [r ]d r

traditional methods: Density Functional Theoryand (post)-Hartree-Fock

F

HF

r1, r2, ...=A

antisymm[∏i

jri]=det [{

jri}]

correlated

r1, r2, ...=∑

n

dndet

n[{

ir

j}]

Page 8: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

one idea: project out the ground state → “imaginary time”Schr. eq. (Schroedinger 1930, Fermi 1933)

[email protected]

projector in parameter t

R , t =exp−tH TR R , t ∞ ∝

0R

Green's function → transition probability

trial wavefunction

ground state ofof given symm.,exponentially fast

Projection equation in a differential form (“imaginary time” Sch. eq.)

or in an integral, evolution-like, form

R , t=∫G R ,R ' , R ' , t d R '

−∂tR , t =H R , t

G R ,R ' ,=⟨R∣exp− H ∣R ' ⟩

Page 9: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

quantum Monte Carlo (QMC) in a nutshell

[email protected]

evolution by iteration:

but high dimensionality makes ordinary numerical methods useless …

Idea: map the evolution of the many-body wave function onto an equivalent stochastic process (can be efficiently simulated)

● value of the wavefunction ↔ density of sampling points in 3ND-space sampling points → “walkers” → eigenstates of position operator

● find the Green's function for small

● iterate in time → propagate the walkers with as trans. prob.

R , t=∫G R ,R ' , R ' , t d R '

R , t dens [∑i

walkersR−Ri t ]

G

G

Page 10: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

toy model: 1D harmonic oscillator

[email protected]

Propagator

G x , x ' ,

t

diffusion

init

x

C e−x− x ' 2/2⋅e−V x−E

T

ground

x

H =Tkin

V x

weight

V x=x2

Page 11: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

[email protected]

movie on sampling of H_2 molecule

Page 12: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

[email protected]

… but a fundamental problem has been swept under the rug

Page 13: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

fermion sign problem

[email protected]

Naïve approach for fermionic wave functions: decompose to + and -

However, + and - components converge independently to the lowest energy solution (which is symmetric/bosonic) because Schr. eq. is linear!

TR=

T

+R−T

- R

−∂t+R , t =H +R , t

Fermionic "signal" decays exponentially quickly into a bosonic "noise"

limt ∞ + R , t − lim

t ∞ - R , t ∝ exp [−EFermionic

−EBosonic

t ]

−∂t - R , t =H -R , t

+ -

Page 14: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

importance sampling and fixed-node diffusion Monte Carlo(FNQMC)

[email protected]

f R , t=∫G* R ,R ' , f R ' , t d R '

f R , t ∞ ∝ TR

groundR

Fermion node: (3N-1)-dimen. hypersurface defined as

Fixed-node (FN) approximation: - antisymmetry (nonlocal) replaced by a boundary (local) - accuracy determined by the nodes of - exact node implies recovering exact energy (in almost polynomial time)

f R , t 0

r1, r2, ... , r

N=0

f R , t =TRR , t Consider a product:

and modify Schr. eq. accordingly

so that

TR

Page 15: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

fermion node toy model: excited state of harmonicoscillator

[email protected]

Propagator

G x , x ' ,

t

init

x

excit

x

H =T V x V x=x2

+ boundary condition(evaluate trial function)

node diffusion

C e−x−x ' 2/2⋅e−V x −E

T

renorm

Page 16: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

fixed-nodes in reality: complex, impossible to “fullysee”, ..., but, when done right, unexpectedly effective and

accurate!

- difficult to parametrize with arbitrary accuracy but systematically improvable

- rather simple wave functions lead to remarkably high accuracy (sometimes beyond expectations)

- easy to enforce, eg, evaluate the sign of a determinant

Green surface: 3D subset of 59-dimensional fermion node hypersurface

[email protected]

Page 17: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

[email protected]

how does it work ?

let us look at some applications

Page 18: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

application example: which is the lowest energy isomer of C20 ???

[email protected]

ring bowl cage

Page 19: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

QMC: the lowest is the bowl isomer! (later confirmed by independent methods & exp.)

[email protected]

J.C. Grossman, L. M., K. Raghavachari, Phys. Rev. Lett. '95

Page 20: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

more recent project: FeO solid at high pressures

[email protected]

- large e-e correlations, difficult: competition of Coulomb, exchange, correlation and crystal-field effects; important high-pressure physics (Earth interior, for example)

- mainstream Density Functional Theories (DFT) predict: wrong equilibrium structure; and for the correct structure predict a metal instead of a large-gap insulator

B1/AFII (equil.) iB8/AFII

Page 21: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

[email protected]

comparisons of the FeO solid equilibrium parameters

DFT/PBE QMC Exp.(FeO1-x

)

iB8-B1/AFMII [eV] -0.2 0.5 (1) >0 Cohesion [eV] ~ 11 9.7 (1) 9.7(2)

a_0 [A] 4.28 4.32 4.33

K_0 [GPa] 180 170(10) 152(10)

Opt. gap [eV] ~ 0 (metal) 2.8(3) ~2.4

J. Kolorenc & LM, Phys. Rev. Lett. '08

Page 22: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

[email protected]

FeO solid at high pressures QMC shows transition at ~ 65 GPa (Exper. 70-100)

JK & LM, Phys. Rev. Lett. '08

Page 23: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

when the fixed-node DMC works amazingly well: non-covalently bonded complexes

FNDMC agrees with CBS extrapolated CCSD(T) within 0.1 kcal/mol (0.005 eV)

that's subchemical accuracy, as needed for these systems

recent calcs included also DNA base pairs → 0.2 kcal/mol agreement

NH3-NH3, H2O-H2O, etc

M. Dubecky, P. Jurecka, M. Otyepka, P. Hobza, LM, JCTC, 9, 4287 (2013);

PCCP 16, 20915 (2014)

Page 24: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

QMC can study quantum effects and properties ofnanosystems, clusters, solids, biomolecules → tons of

other possible applications ...

[email protected]

Page 25: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

QMC calculations: basic steps

Hamiltonian: - often valence e- only, using pseudopots/ECPs - explicit e-e interactions, fully many-many body

trial wave functions: - correct symmetries - sampling efficiency - capture the physics

explicitly correlated Slater-Jastrow type, self-consistent orbitals:

typical code/package: 100,000 lines → from laptop to 1M cores

[email protected]

ψTrial

=∑kc

kdet

k

↑ [{ϕα }]detk

↓ [{ϕβ}]exp[U corr]

Page 26: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

[email protected]

impact of QMC methods

breakthroughs and benchmark calculations:

- homogeneous electron gas in '80 (Ceperley & Alder) → 4th most cited paper over 110 years of APS journals - quantum liquids and solids (4He, 3He, Ceperley, others) - barrier of H+H2 → H2+H with 0.001 eV accuracy (J. B. Anderson) - calculations of solids, clusters, etc (last 25 years), up to 1000 e-, predictions relative accuracy for variety of systems (molecules, solids, etc) → captures 95 % of the quantum many-body effects - energy differences typically within 1-3% of experiment, for large systems better than anything else sizes of systems and resources/timing - 100-200 valence electron systems becoming routine; (1000 or more doable at the current level of development) - typical run: 1000 processors for a day (exaflop after 2020, ~ $1.3B)

Page 27: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

[email protected]

Ceperley and Alder

Google Scholar:

The key quantum Monte Carlo paper (used Cray machine at LLNL)

2018 ~ 14,000 cits

Page 28: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

[email protected]

Ceperley and Alder work:

- calculation of correlation energies of homogeneous electron gas (the simplest quantum condensed many-body interacting system)

- these accurate exact energies of paradigmatic model used as an input into the Density Functional Theory: → used in physics, chemistry, materials research, etc - huge impact: 4th most cited physics paper over 100 years of APS journals

Google Scholar:

The first quantum Monte Carlo paper using Cray XMP at LLNL

Page 29: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

quantum Monte Carlo and quantum many-body systems in general

- “hot” area (and will stay that way for a long time :-))

- quantum engineering – one of the key areas for future (both fundamental science and applications)

- QMC: perhaps the most promising approach to tackle the problem computationally

- combination of analytical insights + stochastic techniques + algorithms + ever faster machines - permeates now all scales, from macro to meso to micro to QCD

- perhaps, it also naturally couples with quantum computers ...

[email protected]

Page 30: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

QMC vs quantum computing (= real time quantumdynamics)

QMC: - works in imaginary time (just a rigorous math transform) → parabolic diff. eq. that gives one state, eg, - we need more → spectrum → repeat the same process for another state, we are doing that but it is an exascale (and beyond) problem

Quantum computing = real-time quantum dynamics

solution ? well-known, fundamentally difficult problem → hyperbolic diff. eq. that keeps all engaged states present at all times → can produce the spectrum!

[email protected]

−∂t ψ(R , t )=H ψ(R , t )

i∂t ψ(R , t)=H ψ(R , t) →

{E k ,ψk }k=0k=kmax

ψ0, ground state

ψ1 , ...

ψ(R , t)=∑kck exp(−iE k t)ψk (R)

Page 31: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

existing quantum computers: basis states are qubits

- basis states of one qubit = 0,1 (essentially, 2 discrete points)

any state

- N qubits → (0,1)^N corners of hypercube in N dimensions → 2^N exponentially big, discrete basis

- H_{your code} is whatever you make it (ie, map your problem on H)

[email protected]

ψ(t)=α(t )∣0 ⟩+β(t)∣1 ⟩ ; α(t )=⟨0∣ψ(t)⟩ , etc

i∂t ψ(t)=H your code (t)ψinitial (t=0)

ψ(t)=∑k

2N

ck (t)∣k ⟩ ; ∣k ⟩={(0∨1 ; 0∨1 ; ... , 0∨1)}

Page 32: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

building an analogy: Ising model of ferromagnetclassical physics problem (can be made quantum, too)

Ising model :

[email protected]

H =−J ∑i , j

nearest neigh.si s j , si=±1

credit: L. Koscielski

Page 33: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

configuration space of the Ising model: 2^N, where N is # of spins,

- configuration space: vertices of hypercube in N-dim space

[email protected]

(±1,±1, ... ,±1)

credit: Wikipedia

Page 34: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

sampling of such space classically

- classical random walk: random move to any of N-neighbors, prob=1/N

[email protected]

Page 35: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

sampling of such space classically

- classical random walk: random move to any of N-neighbors, prob=1/N

[email protected]

Page 36: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

sampling of such space classically

- classical random walk: random move to any of N-neighbors, prob=1/N 2nd step

[email protected]

Page 37: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

sampling of such space classically

- classical random walk: random move to any of N-neighbors, prob=1/N

2nd step

→ can go even back, ie, evolves very slowly ! needs ~ exp(aN) steps to visit the antipodal point (body diagonal)

[email protected]

Page 38: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

quantum sampling of such space

- quantum random walk: one step → amplitude= ~1/N to all nearest points

[email protected]

Page 39: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

quantum sampling of such space

- quantum random walk: one step → ~ 1/N amplitude to all nearest points

[email protected]

Page 40: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

quantum sampling of such space

- quantum random walk: one step → ~ 1/N amplitude to all nearest points

→ needs ~ N steps to visit the antipodal point !!! (J. Kempe, 2003)

[email protected]

Page 41: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

hypercube and quantum processes

[email protected]

Page 42: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

hypercube and quantum processes

[email protected]

Page 43: Quantum Monte Carlo: method, applications, impact ...mueller/qc/qc18/readings/mitas.pdf · Quantum Monte Carlo: method, applications, impact, relation to quantum computing Lubos Mitas

classical algorithms that almost knock down theexponential scalings

[email protected]

- TSP (self-organizing neuron maps)

- Ising-like models (cluster algorithms)

- electronic structure by QMC

- calculation of (some) permanents in O(N^a) within a given error

- ...