12
Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia, Teng Bian, and Sabre Kais* ,,,§ Department of Physics, Purdue University, West Lafayette, Indiana 47907, United States Department of Chemistry and Birck Nanotechnology Center, Purdue University, West Lafayette, Indiana 47907, United States § Santa Fe Institute, 1399 Hyde Park Road, Santa Fe, New Mexico 87501, United States ABSTRACT: Obtaining exact solutions to the Schrö dinger equation for atoms, molecules, and extended systems continues to be a Holy Grailproblem which the elds of theoretical chemistry and physics have been striving to solve since inception. Recent breakthroughs have been made in the development of hardware-ecient quantum optimizers and coherent Ising machines capable of simulating hundreds of interacting spins with an Ising-type Hamiltonian. One of the most vital questions pertaining to these new devices is, Can these machines be used to perform electronic structure calculations?Within this work, we review the general procedure used by these devices and prove that there is an exact mapping between the electronic structure Hamiltonian and the Ising Hamiltonian. Additionally, we provide simulation results of the transformed Ising Hamiltonian for H 2 , He 2 , HeH + , and LiH molecules, which match the exact numerical calculations. This demonstrates that one can map the molecular Hamiltonian to an Ising-type Hamiltonian which could easily be implemented on currently available quantum hardware. This is an early step in developing generalized methods on such devices for chemical physics. D etermining solutions to the Schrö dinger equation is a fundamentally challenging problem due to the exponential increase in the dimensionality of the corresponding Hilbert space with the number of particles in the system; this increase in computation system size requires a commensurate increase in computational resources. Modern quantum chemistryham- pered by the diculty associated with solving the Schrö dinger equation to chemical accuracy (1 kcal/mol)has largely become an endeavor to nd approximate methods and corrections. A few products of this eort include ab initio, density functional, density matrix, algebraic, quantum Monte Carlo, and dimensional scaling methods. 18 All methods devised to date, however, face the insurmountable challenge of computational resource requirements as the calculation is extended either to higher accuracy or to larger systems. Computational complexity in electronic structure calculations suggests that these restrictions are a result of an inherent diculty associated with simulating quantum systems. 911 Electronic structure algorithms developed for quantum computers provide a promising new route to advance electronic structure calculations for large systems. 1214 Recently, there has been an attempt at using an adiabatic quantum computing modelas implemented on the D-Wave machineto perform electronic structure calculations. 15 Fundamentally, the approach behind the adiabatic quantum computing (AQC) method begins by dening a problem Hamiltonian, H P , engineered to have its ground state encode the solution of a corresponding computa- tional problem. The system is initialized in the ground state of a beginningHamiltonian, H B , which is easily solved by classical methods. The system is then allowed to evolve adiabatically as H(s) = (1 s)H B + sH P (where s is a time evolution parameter, s [0, 1]). Adiabatic evolution is governed by the Schrö dinger equation for the time-dependent Hamiltonian H(s(t)). Thus, permitting the system to evolve from H B to H P is a slow and smooth manner, such that the system remains in its ground eigenstate during the perturbative evolution. Hitherto, the largest scale implementation of AQC is by D- Wave Systems. 16,17 In the case of the D-Wave device, the physical process acting as adiabatic evolution is more broadly called quantum annealing (QA). The quantum processors manufac- tured by D-Wave are essentially a transverse Ising model with tunable local elds and coupling coecients: H = i Δ i σ x i + i h i σ z i + i,j J ij σ z i σ z j , where the parameters Δ i , h i , and J ij are physically tunable. The qubits (quantum bits) are connected in a specied graph geometry; this design permits the embedding of arbitrary graphs. Zoller and co-workers presented a scalable architecture with full connectivity, yet it can only be implemented with local interactions. 18 The adiabatic evolution is initialized at H B = hi σ x i and evolves into the problem Hamiltonian: H P = i h i σ z i + i,j J ij σ z i σ z j . This equation describes a classical Ising model whose ground state isin the worst case NP-complete. Therefore, any combinatorial optimization NP- hard problem may be encoded into the parameter assignments ({h i , J ij }) of H P and may exploit adiabatic evolution as a method Special Issue: Benjamin Widom Festschrift Received: October 19, 2017 Revised: November 2, 2017 Published: November 3, 2017 Article pubs.acs.org/JPCB © XXXX American Chemical Society A DOI: 10.1021/acs.jpcb.7b10371 J. Phys. Chem. B XXXX, XXX, XXXXXX Cite This: J. Phys. Chem. B XXXX, XXX, XXX-XXX

Electronic Structure Calculations and the Ising Hamiltonian · 2019-10-29 · Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Electronic Structure Calculations and the Ising Hamiltonian · 2019-10-29 · Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

Electronic Structure Calculations and the Ising HamiltonianRongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

†Department of Physics, Purdue University, West Lafayette, Indiana 47907, United States‡Department of Chemistry and Birck Nanotechnology Center, Purdue University, West Lafayette, Indiana 47907, United States§Santa Fe Institute, 1399 Hyde Park Road, Santa Fe, New Mexico 87501, United States

ABSTRACT: Obtaining exact solutions to the Schrodingerequation for atoms, molecules, and extended systemscontinues to be a “Holy Grail” problem which the fields oftheoretical chemistry and physics have been striving to solvesince inception. Recent breakthroughs have been made in thedevelopment of hardware-efficient quantum optimizers andcoherent Ising machines capable of simulating hundreds ofinteracting spins with an Ising-type Hamiltonian. One of themost vital questions pertaining to these new devices is, “Canthese machines be used to perform electronic structurecalculations?” Within this work, we review the generalprocedure used by these devices and prove that there is an exact mapping between the electronic structure Hamiltonian andthe Ising Hamiltonian. Additionally, we provide simulation results of the transformed Ising Hamiltonian for H2 , He2 , HeH

+, andLiH molecules, which match the exact numerical calculations. This demonstrates that one can map the molecular Hamiltonian toan Ising-type Hamiltonian which could easily be implemented on currently available quantum hardware. This is an early step indeveloping generalized methods on such devices for chemical physics.

Determining solutions to the Schrodinger equation is afundamentally challenging problem due to the exponential

increase in the dimensionality of the corresponding Hilbert spacewith the number of particles in the system; this increase incomputation system size requires a commensurate increase incomputational resources. Modern quantum chemistryham-pered by the difficulty associated with solving the Schrodingerequation to chemical accuracy (∼1 kcal/mol)has largelybecome an endeavor to find approximate methods andcorrections. A few products of this effort include ab initio,density functional, density matrix, algebraic, quantum MonteCarlo, and dimensional scaling methods.1−8 All methods devisedto date, however, face the insurmountable challenge ofcomputational resource requirements as the calculation isextended either to higher accuracy or to larger systems.Computational complexity in electronic structure calculationssuggests that these restrictions are a result of an inherentdifficulty associated with simulating quantum systems.9−11

Electronic structure algorithms developed for quantumcomputers provide a promising new route to advance electronicstructure calculations for large systems.12−14 Recently, there hasbeen an attempt at using an adiabatic quantum computingmodelas implemented on the D-Wave machineto performelectronic structure calculations.15 Fundamentally, the approachbehind the adiabatic quantum computing (AQC)method beginsby defining a problem Hamiltonian, HP, engineered to have itsground state encode the solution of a corresponding computa-tional problem. The system is initialized in the ground state of a“beginning” Hamiltonian, HB , which is easily solved by classicalmethods. The system is then allowed to evolve adiabatically as

H(s) = (1 − s)HB + sHP (where s is a time evolution parameter, s∈ [0, 1]). Adiabatic evolution is governed by the Schrodingerequation for the time-dependent Hamiltonian H(s(t)). Thus,permitting the system to evolve from HB to HP is a slow andsmooth manner, such that the system remains in its groundeigenstate during the perturbative evolution.Hitherto, the largest scale implementation of AQC is by D-

Wave Systems.16,17 In the case of the D-Wave device, the physicalprocess acting as adiabatic evolution is more broadly calledquantum annealing (QA). The quantum processors manufac-tured by D-Wave are essentially a transverse Ising model withtunable local fields and coupling coefficients: H = ∑iΔiσx

i +∑i hiσz

i + ∑i,j Jijσziσz

j , where the parameters Δi , hi , and Jij arephysically tunable. The qubits (quantum bits) are connected in aspecified graph geometry; this design permits the embedding ofarbitrary graphs. Zoller and co-workers presented a scalablearchitecture with full connectivity, yet it can only beimplemented with local interactions.18 The adiabatic evolutionis initialized at HB = −h∑i σx

i and evolves into the problemHamiltonian:HP =∑i hiσz

i +∑i,j Jijσziσz

j . This equation describes aclassical Ising model whose ground state isin the worst caseNP-complete. Therefore, any combinatorial optimization NP-hard problem may be encoded into the parameter assignments({hi, Jij}) of HP and may exploit adiabatic evolution as a method

Special Issue: Benjamin Widom Festschrift

Received: October 19, 2017Revised: November 2, 2017Published: November 3, 2017

Article

pubs.acs.org/JPCB

© XXXX American Chemical Society A DOI: 10.1021/acs.jpcb.7b10371J. Phys. Chem. B XXXX, XXX, XXX−XXX

Cite This: J. Phys. Chem. B XXXX, XXX, XXX-XXX

Page 2: Electronic Structure Calculations and the Ising Hamiltonian · 2019-10-29 · Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

for reaching the ground state of HP. More recently, an opticallybased coherent Ising machine was developed and is capable offinding the ground state of an Ising Hamiltonian describing a setof several hundred coupled spin 1/2 particles.19−21 Thesechallenging NP-hard problems are characterized by difficulty indevising a polynomial-time algorithm; therefore, solutionscannot be easily found using classical numerical algorithms in areasonable time for large system sizes (N).19−21 Such specialpurpose machines may help in finding the solutions to some ofthe most difficult computational problems faced today.

■ RESULTS AND DISCUSSIONThe technical scheme for performing electronic structurecalculations on such an Ising-type machine can be summarizedin the following four steps: First, write down the electronicstructure Hamiltonian in terms of creation and annihilationFermionic operators, delivering the second quantization form.Second, use either the Jordan−Wigner or the Bravyi−Kitaevtransformation to move from Fermionic operators to spinoperators.13,22 Third, reduce the spin Hamiltonian (which isgenerally a k-local Hamiltonian) to a 2-local Hamiltonian.23

Finally, map this 2-local Hamiltonian to an Ising-typeHamiltonian.This general procedure begins with a second quantization

description of a Fermionic system in which N single-particlestates can be either empty or occupied by a spineless Fermionicparticle.4,24 One may then use the tensor product of eachindividual spin orbital, written as |f 0, ..., f n⟩ to represent states inFermionic systems where f j∈ {0, 1} is the occupation number oforbital j. Any interaction within the Fermionic system can beexpressed in terms of products of the creation and annihilationoperators aj

† and aj, for j ∈ {0, ..., N}. Thus, the molecularelectronic Hamiltonian can be written as

∑ ∑ = +† † †H h a a h a a a a12i j

ij i ji j k l

ijkl i j k l, , , , (1)

The above coefficients hij and hijkl are the one- and two-electronintegrals which can be precomputed in a classical way used asinputs to the quantum simulation. The next step is to developand employ a Pauli matrix representation of the creation andannihilation operators. This can be done by employing theBravyi−Kitaev transformationor the Jordan−Wigner trans-formationto map between the second quantization operatorsand the Pauli matrices {σx, σy, σz}.

22,25 The molecularHamiltonian now takes the general form13

∑ ∑ ∑σ σ σ σ σ σ= + + +α

α ααβ

αβ α βαβγ

αβγ α β γH h h h ...i

i i

ij

ij i j

ijk

ijk i j k

, (2)

where the index α = x, y, z notes the Pauli matrix and the index idesignates the spin orbital. Now, after having developed a k-localspin Hamiltonian (many-body interactions), one should use ageneral procedure to reduce the Hamiltonian to a 2-local (two-body interactions) spin Hamiltonian form;26,27 this is arequirement, since the proposed computational devices aretypically limited to restricted forms of two-body interactions.Therefore, universal adiabatic quantum computation requires amethod for approximating a quantum many-body Hamiltonianup to an arbitrary spectral error using at most two-bodyinteractions. Hamiltonian gadgets, for example, offer a systematicprocedure to address this requirement. Recently, we haveemployed analytical techniques resulting in a reduction of theresource scaling as a function of spectral error for the most

commonly used subdivisions, three- to two-body and k-bodygadgets.28

Here we present a universal method of mapping an n-qubitHamiltonian, H, which depends on σx, σy, σz to an rn-qubitHamiltonian, H′, consisting of only products of σz. In thisprocess, we increase the number of qubits from n to rn, where theinteger r plays the role of a “variational parameter” to achieve thedesired accuracy in the final step of energy calculations. Withincreasing r, which means the use of more qubits to calculate, wecan achieve more accurate results; please see the Appendix formore details.We use two steps to complete this mapping. The first step is to

generate a mapping between the eigenstates. In an original n-qubit Hilbert, H, space, a general eigenstate is given by ψ =∑i aiϕi; we can map this to the space of the rn-qubitHamiltonian, H′, which increases the space from n qubits to rnqubits. The mapping method is to repeat the basis (ϕi) bi times,where bi is determined by ai defined through the relationship

≈∑

aib S b

b

( )i i

m m2, where ∑i bi = r. S(bi) is a sign function associated

with bi, as ai can be positive and negative and repeat time can onlybe positive. If ai is positive, we have S(bi) = 1, and if ai is negative,we have S(bi) =−1. After this procedure, we get a new eigenstate|Φ⟩⊗i⊗j=1

bi |ϕi⟩. This procedure is represented in Figure 1.

The second step is the mapping between the Hamiltonians, H→ H′. By mapping the eigenstate, we have a corresponding wayto map the spin operator (Ii , σx

i , σyi , σz

i ) on the ith qubit in n-qubit space to rn-qubit space by

σσ σ

σσ σ

σσ σ σ σ

→−

′ ′ →−

′ ′

→+

′ ′ →+

′ ′

S j S k S j S k

S j S k I S j S k

i1

2( ) ( )

2( ) ( )

2( ) ( )

12

( ) ( )

xi z

izi

yi z

izi

zi z

izi

i zi

zi

j k k j

j k j k

(3)

σij means acting on the ith qubit in jth n qubits in |Ψ⟩ (or the spinoperator σ acting on the [(j − 1)n + i] qubit). In addition, S′(j),S′(k) represents the sign of the jth, kth of the n qubits in the newstate of the rn-qubit space. The introduction of S′(j) is the sameas the introduction of S(bi). Now, the newly transformedHamiltonian, H′, includes only products of σz and I, and istherefore diagonal (details of the transformation are presentedwith examples in the Appendix).So far, we are able to transform our Hamiltonian to a k-local

Hamiltonian including only products of σz terms. It is then

Figure 1. Example of mapping σx2 between different bases from a state

|Φ⟩ = | ⟩ + | ⟩000 01012

12

to state |000010⟩, where 0 represents spin

up and 1 represents spin down. The spin operators act on the secondqubit in the original Hamiltonian basis and on the second and fifthqubits in the mapped Hamiltonian basis.

The Journal of Physical Chemistry B Article

DOI: 10.1021/acs.jpcb.7b10371J. Phys. Chem. B XXXX, XXX, XXX−XXX

B

Page 3: Electronic Structure Calculations and the Ising Hamiltonian · 2019-10-29 · Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

straightforward to transform the Hamiltonian to 2-local by usingancilla qubits, as the following example illustrating the trans-formation from 3-local to 2-local Ising Hamiltonian.

± = ± + − − +

x x x x x x x x x x x x

x x x x

min( ) min( 2 2 3 )

, , , {0, 1}

1 2 3 4 3 1 2 1 4 2 4 4

1 2 3 4

(4)

Here, we see how, by including x4, one can show that minimizing3-local is equivalent to minimizing the sum of 2-local terms. Wecan apply this technique in our reduction from k-local to 2-localterms, as shown in the Appendix.29

Finally, we succeed in transforming our initial complexelectronic structure Hamiltonian from the second-quantizationform to an Ising-type Hamiltonian which can be solved usingexisting quantum computing hardware.14,19,30,31

To illustrate the proposed method (details are in theAppendix), we present in Figure 2 the calculations for thehydrogen molecule (H2), the helium dimer (He2), thehydrogen−helium molecular cation (HeH+), and lithiumhydride (LiH). First, we used the Bravyi−Kitaev transformationand the Jordan−Wigner transformation to convert the diatomicmolecular Hamiltonian in the minimal basis set (STO-6G) to thespin Hamiltonian of (σx, σy, σz). We then used our transformedHamiltonian in rn-qubit space to obtain a diagonal k-localHamiltonian constructed of σz terms. Finally, we reduced thelocality to obtain a 2-local Ising Hamiltonian of the general form

∑ ∑σ σ σ′ = ′ + ′H h Ji

i zi

ijij z

izj

(5)

To estimate the efficiency of this proposed method, we herederive the number of qubits required by constructing the final 2-local Hamiltonian in eq 5. Suppose we start with an originalHamiltonian in the second quantization representation contain-ing n orbitals. The first step of the transformation into the Paulioperator representation requires O(n) qubits and O(n4) terms.The second step of mapping the form containing all of the Paulioperators to the form containing only σz requires O(rn) qubitsand O(2nr2n4) terms. The final step of reduction to 2-localrequires O(2nr2n7) qubits. Due to the computational costs of thecurrent method, it is feasibly useful for small and medium sizemolecular systems. To push this method to a large size molecularsystem, we propose to combine our method with a recentapproach by Chan and co-workers.32 Instead of encoding thewave function using nGaussian orbitals, leading to Hamiltonianswith O(n4) second-quantized terms, Chan et al. utilize a dualform of the plane wave basis which diagonalizes the potentialoperator, leading to a Hamiltonian representation with O(n2)second-quantized terms. Moreover, one can repeat our initialcalculations using the new procedure with O(n2) second-quantized terms. This will clearly save computational resources.There is of course much space for improvement, and one shouldcontinue to explore new ideas to further optimize the proposedmethod.

Figure 2.Comparing the numerical results of ground state energy of the Ising Hamiltonian with the exact STO-6G calculations of the ground state of H2,He2, HeH

+, and LiH molecules as one varies the internuclear distance R.

The Journal of Physical Chemistry B Article

DOI: 10.1021/acs.jpcb.7b10371J. Phys. Chem. B XXXX, XXX, XXX−XXX

C

Page 4: Electronic Structure Calculations and the Ising Hamiltonian · 2019-10-29 · Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

■ CONCLUSION

We have developed a general procedure of mapping the originalcomplex electronic structure Hamiltonian to a diagonalHamiltonian in terms of a σz basis, which is experimentallyimplementable via today’s Ising-type machines. Presently,implementation of σz, σx, and σy is not possible on currentIsing machines nor while using quantum annealing as on the D-Wave machine. Our generalized procedure provides anopportunity to begin to utilize the current generation ofquantum computing devicesof about 2000 connectedspinsfor important computational tasks in chemical physics.Incidentally, recent experimental results presented by the IBMgroup on few-electron diatomic molecules have shown that ahardware-efficient optimizer implemented on a 6-qubit super-conducting quantum processor is capable of reproducing thepotential energy surface for such systems.30 The development ofefficient quantum hardware and the possibility of mapping theelectronic structure problem into an Ising-type Hamiltonian maygrant efficient ways to obtain exact solutions to the Schrodingerequation, thus providing a solution path to one of the mostdaunting computational problems in both chemistry and physics.Moreover, this study might open the possibility to connect withthe rich field of statistical mechanics of he Ising model describingphase transitions.33−37

■ APPENDIX

Here, we present a procedure to construct a diagonalHamiltonian with a minimum eigenvalue corresponding to theground state of a given initial Hermitian Hamiltonian.For a given initial Hermitian Hamiltonian, an eigenstate |ψ⟩

can be expanded in a basis set |ϕi⟩ as |ψ⟩ =∑i ai|ϕi⟩. This basis setconsists of different combinations of spin-up and -down qubits.First, we will assume that all expansion coefficients, ai, arenonnegative and will map the state to a new state |Ψ⟩ accordingto the following rules:

• |Ψ⟩ can be written as |Ψ⟩ = ⊗i⊗j=1bi |ϕi⟩ and r = ∑i bi.

• If the original state |ψ⟩ exists within an n-qubit subspace,the new state |Ψ⟩ should be in an rn-qubit space, where r isthe number of times we must replicate the n qubits toachieve an arbitrary designated accuracy.

• The number of times, bi, we repeat the basis |ψ⟩ in an rn-

qubit state, |Ψ⟩, approximates ai by∑

b

bi

m m2. If r is large

enough, bi is proportional to ai or we can just view

≈∑

aib

bi

m m2, where ∑ bm m

2 is the normalization factor.

Here we introduce notation to be used throughout the remainingtext:

Notation 1:We designate the ith qubit within the kth n-qubitsubspace of the rn state space of |Ψ⟩ as ik.Notation 2: We use b(j) to represent the jth n-qubit in the

space of |Ψ⟩, which is in the basis |ϕb(j)⟩.bimay only be non-negative, yet aimay be positive or negative.

For a negative ai, we will introduce a function S(bi) containingthe sign information to account for bi being non-negative. Themapping is described by the following rules:

• S(bi) is the sign associated with the bi coefficient which isnegative if ai is negative and is positive if ai is positive.

• For the rn-qubit state |Ψ⟩, we can use a function S′(i) torecord the sign associated with each n qubits in the rn-qubit space. S′(i) represents the sign of the ith n qubits inthe rn-qubit space. Thus, bi = |∑|ϕb(j)⟩=|ϕi⟩ S′(j)| and S(bi) isthe sign of ∑|ϕb(j)⟩=|ϕi⟩ S′(j).

• As before, bi is the integer which approximates ai by

b S b

b

( )i i

m m2. If r is large enough, we can just view ≈

∑ai

b S b

b

( )i i

m m2.

• |Ψ⟩ can be written as |Ψ⟩ =⊗i⊗j=1bi |ϕi⟩ and r =∑i=1

r |S′(i)|.Figure 3 shows the details about the mapping.Theorem 1: With the mapping between |ψ⟩ and |Ψ⟩ as

described above, we can find a mapping between theHamiltonian in the space of |ψ⟩ to the space of |Ψ⟩.

Theorem 2: ⟨ϕb(j)|⊗i Ii|ϕb(k)⟩ is equal to ⟨Ψ| ∏ |Ψ⟩σ σ+i

12

zij

zik

,

whichmeans Ii in the space of |ψ⟩ can bemapped toσ σ+12

zij

zikin the

space of |Ψ⟩.Proof:Clearly, Ii in the space of |ψ⟩ is to observe if ith digits of |

ϕb(j)⟩ and |ϕb(k)⟩ are the same or not. If they are the same, it yields

1; otherwise, 0. On the other hand, σ σ+12

zij

zikin the space of |Ψ⟩ is

to check if the ith digits of the jth n-qubit subspace (|ϕb(j)⟩) andthe kth n-qubit subspace (|ϕb(k)⟩) are the same or not. If they are

the same, it yields 1; otherwise, 0. (For σ σ−12

zij

zik, we omit the

operators for other digits which are the identity I.)Thus, we get

∏ϕ ϕσ σ

⟨ | ⊗ | ⟩ = ⟨Ψ|+

|Ψ⟩I1

2b j i b ki

zi

zi

( ) ( )

j k

(6)

If and only if all digits of |ϕb(j)⟩ and |ϕb(k)⟩ are the same, the leftand right results are equal to 1; otherwise, they are equal to 0.Theorem 3: ⟨ϕb(j)|⊗i<m Ii⊗ σx

m⊗i>m Ii|ϕb(k)⟩ is equal to

⟨Ψ| ∏ × × ∏ |Ψ⟩σ σ σ σ σ σ<

+ +>

−i m i m

12

12

12

zij

zik z

mjzmk z

ijzik

, w h i c h

means σxi in the space of |ψ⟩ can be mapped as σ σ−1

2zij

zikin the

space of |Ψ⟩.

Figure 3. Left: If the 2-qubit state is ψ| ⟩ = | ⟩ + | ⟩00 1112

12

, then the 4-qubit state is |Ψ⟩ = |0011⟩with S′(1) = S′(2) = 1, r = 2, b1 = b2 = 1, and S(b1) =

S(b2) = 1. Middle: If the 2-qubit state is ψ| ⟩ = | ⟩ − | ⟩00 1112

12

, then the 4-qubit state is |Ψ⟩ = |0011⟩ with S′(1) = −S′(2) = 1, r = 2, b1 = b2 = 1, and

S(b1) =−S(b2) = 1. Right: If the 2-qubit state is ψ| ⟩ = | ⟩ − | ⟩00 1112

12

, then the 8-qubit state is |Ψ⟩ = |00111111⟩with S′(1) = S′(2) = S′(3) =−S′(4)= 1, r = 4, b1 = b2 = 1, and S(b1) = S(b2) = 1. (S′(3) and S′(4) cancel out, and thus, S(b2) = 1).

The Journal of Physical Chemistry B Article

DOI: 10.1021/acs.jpcb.7b10371J. Phys. Chem. B XXXX, XXX, XXX−XXX

D

Page 5: Electronic Structure Calculations and the Ising Hamiltonian · 2019-10-29 · Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

Proof: Clearly, σxi in the space of |ψ⟩ is to check if the ith digits

of |ϕb(j)⟩ and |ϕb(k)⟩ are the same or not. If they are the same, it

yields 0; otherwise, 1. Similarly, σ σ−12

zij

zikin the space |Ψ⟩ is to

verify if the ith digits of the jth n-qubit subspace (|ϕb(j)⟩) and thekth n-qubit subspace (|ϕb(k)⟩) are identical. If they are the same, it

gives 0; otherwise, 1. (For σ σ−12

zij

zik, we omit operators for other

digits which are the identity I.)Thus, we get

ϕ σ ϕ

σ σ σ σ

σ σ

⟨ | ⊗ ⊗ ⊗ | ⟩

= ⟨Ψ|+

×+

×

−|Ψ⟩

< >

<

>

I I

12

12

12

b j i m i xm

i m i b k

i m

zi

zi

zm

zm

i m

zi

zi

( ) ( )

j k j k

j k

(7)

σxi and σ σ−1

2zij

zikhave the same function in different space to check

the digits of |ϕb(j)⟩ and |ϕb(j)⟩.

Also, σyi and

σ σ−i2

zik z

ij

have the same function in different spaces.

These operators are used to check the ith digits of |ϕb(j)⟩ and |

ϕb(j)⟩. Also, σzi and σ σ+

2zij

zikhave the same function in different

spaces to check the ith digits of |ϕb(j)⟩ and |ϕb(j)⟩. This can beeasily verified by the above discussion.Theorem 4: Any Hermitian Hamiltonian in the space of |ψ⟩

can be written in the form of Pauli and identity matrices, whichcan be mapped to the space of |Ψ⟩ as described above.Notation 3: We denote the mapping between the jth n-qubit

subspace and the kth n-qubit subspace in |Ψ⟩, σ σ−12

zij

zikas Xi

(j,k),

σ σ+2

zij

zikas Zi

(j,k),σ σ−i

2zik z

ij

as Yi(j,k), and σ σ+1

2zij

zikas Ii

(j,k).

Proof: If H can be written as

σ σ σ= ⊗ ⊗ ⊗ ⊗H Ia xa

b yb

c zc

d d (8)

We can write the mapped H(j,k)′ as

∏ ∏ ∏ ∏′ =H X Y Z Ij ka

aj k

bb

j k

cc

j k

dd

j k( , )

( , ) ( , ) ( , ) ( , )

(9)

It can be verified following the rules above that

ϕ ϕ⟨Ψ| ′ |Ψ⟩ = ⟨ | | ⟩H Hj k b j b k( , ) ( ) ( ) (10)

Thus, if we add the sign functions S′(j) and S′(k), we achieve

∑ ∑

ϕ ϕ

ϕ ϕ

ϕ ϕ

⟨Ψ| ′ ′ |Ψ⟩

= ⟨ | | ⟩ ′ ′

= ⟨ | | ⟩

= ⟨ | | ⟩

≠ ≤

≠ ≤

≠ ≤

≠ ≤

H S j S k

H S j S k

b S b b S b H

b a a H

( ) ( )

( ) ( )

( ) ( )

j k

j k j k r

j k

j k

j k j k r

b j b k

j k

j k j k

j j k k j k

mm

j k

j k j k

j k j k

,

, ,

( , )

,

, ,

( ) ( )

,

, , 2

2

,

, , 2

n

n

(11)

Also, in the same basis, we have

σ

= = = =

= = = =

σ σ σ σ

σ σ σ σ

− −

+ +

X Y

Z I I

i0 0ij j

ij j

ij j

zi

ij j

( , ) 12

( , )2

( , )2

( , ) 12

zij

zij

zij

zij

zij

zij

j zij

zij

(12)

Thus, as before, we can also get

∑ ∑

ϕ ϕ

ϕ ϕ

ϕ ϕ

⟨Ψ| ′ ′ |Ψ⟩

= ⟨ | | ⟩ ′ ′

= ⟨ | | ⟩

= ⟨ | | ⟩

H S j S j

H S j S j

b H

b a H

( ) ( )

( ) ( )

j

j r

j j

j

j r

b j b j

j

j

j j j

mm

j

j

j j j

( , )

( ) ( )

22

22

2

n

n

(13)

Combining the two together, we can get

∑ ∑ ∑ ϕ ϕ⟨Ψ| ′ ′ |Ψ⟩ = ⟨ | | ⟩≤ ≤

H S j S k b a a H( ) ( )j k

j k r

j km

mj k

j k

j k j k,

,

( , )2

,

, 2n

(14)

We construct a matrix, C, in the space of |Ψ⟩, which has elements∑m bm

2 as

• = ∑ ∑ ∏ ′σ± =

±⎜ ⎟⎛⎝

⎞⎠( )C S i( )i k

n1

12

2

i

i zk

• ∑± over all combinations of positive and negative signs ofeach digit in each ith of the n-qubit in space |Ψ⟩.

Chart 1

The Journal of Physical Chemistry B Article

DOI: 10.1021/acs.jpcb.7b10371J. Phys. Chem. B XXXX, XXX, XXX−XXX

E

Page 6: Electronic Structure Calculations and the Ising Hamiltonian · 2019-10-29 · Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

• ∑i over all n-qubit collection in |Ψ⟩ to check whether eachn qubits is in a certain state.

• ∏k=1ini over each qubits of ith n qubits in |Ψ⟩.

• σ±12

zk

is to check whether kth qubits of ith n-qubit subspace

is in a certain state. σ+12

zk

is 1 when the kth qubits are

present in the basis |0⟩ or 0 otherwise. ± is to go overcombination by ∑±.

So far, we have established a mapping between |ψ⟩ and |Ψ⟩. TheHamiltonianH in the space of |ψ⟩ and∑(j,k)

j,k≤r H(j,k)′ in the space of|Ψ⟩. Also, we have constructed a matrix C to compute ∑m bm

2

corresponding to |Ψ⟩. Thus, we have the final results:

∑ ∑ ∑ ϕ ϕ⟨Ψ| ′ ′ |Ψ⟩ = ⟨ | | ⟩≤ ≤

H S j S k b a a H( ) ( )j k

j k r

j km

mj k

j k

j k j k,

,

( , )2

,

, 2n

(15)

Here, we present an algorithm combining ∑(j,k)j,k≤r H(j,k)′ and C to

calculate the ground state of the initial Hamiltonian H.Notation 4: We mark the eigenvalue of |ψ⟩ for H as λ′.

According to the relationship above, the eigenvalue of |Ψ⟩ forH′is∑m bm

2λ′. Thus, if we choose a λ and construct a Hamiltonian,H′ − λC. The eigenvalue of |Ψ⟩ for H′ − λC is∑m bm

2(λ′ − λ).Theorem 5: The algorithm shown in Chart 1 converges to the

minimum eigenvalue of H by finite iterations.Proof:Monotonic Decreasing If we can find an eigenstate |Ψ⟩ of H′

− λC with eigenvalue∑m bm2(λ′ − λ) < 0. Because∑m bm

2 ≥ 0,we get λ′ − λ < 0. This means we can find an eigenstate |ψ⟩ of Hwith an eigenvalue λ′ and λ′ − λ < 0. Thus, each time λ decreasesmonotonically.The minimum eigenvalue: Here we prove that the minimum

eigenvalue ofH is achievable and the loop will converge when weobtain the minimum eigenvalue. According to MonotonicDecreasing, each time the eigenvalue we get will decrease.Because we have a finite number of eigenvalues, this means wewill finally come to the minimum eigenvalue. Also, if we set λ tobe the minimum eigenvalue ofH,H′− λC =∑m bm

2(λ′− λ)≥ 0because∑m bm

2≥ 0 and λ′− λ≥ 0. Also, if λ′ is just theminimumeigenvalue, we get λ′ − λ = 0 and the loop stops.Thus, we prove that the eigenvalue decreases and finally

converges to the minimum eigenvalue of H.Theorem 6: To account for the sign, we just need to set i from

0 to⎢⎣ ⎥⎦r2

and set signs of the first ith n-qubit to be negative and the

others to be positive in |Ψ⟩.Proof: If we have n qubits in the |Ψ⟩ space with negative sign,

where |Ψ⟩ has total i n qubits with negative sign. If these n qubitsare not in the first i n qubits, we can rearrange them to the first i nqubits by exchanging them with n qubits in the first i n qubitswhich have positive sign. Thus, all combinations can be reducedto the combination stated in Theorem 6.Thus, we have established a transformation from an initial

Hermitian Hamiltonian to a diagonal Hamiltonian and presentedan algorithm to calculate the minimum eigenvalue of the initialHamiltonian using the diagonal Hamiltonian.ExampleTo illustrate the above procedure, we give details of thetransformation for the simple model of two spin-1

2electrons with

an exchange coupling constant J in an effective transversemagnetic field of strength B. This simple model has been used to

discuss the entanglement for H2 molecule.38 The generalHamiltonian for such a system is given by

γ σ σ γ σ σ σ σ= − + − − − −HJ J

B B2

(1 )2

(1 )x x y y z z1 2 1 2 1 2

(16)

where γ is the degree of anisotropy.In the {|00⟩, |10⟩, |01⟩, |11⟩} basis, the eigenvectors can be

written as (here we just use the eigenvectors to show how wemap the Hamiltonian, but in an actual calculation, we do notknow the eigenvectors)

ξ

ξ

ξ αα

αα

ξ αα

αα

| ⟩ = | ⟩ + | ⟩

| ⟩ = | ⟩ − | ⟩

| ⟩ = − | ⟩ + + | ⟩

| ⟩ = + | ⟩ − − | ⟩

B B

B B

12

( 10 01 )

12

( 10 01 )

22

112

200

22

112

200

1

2

3

4(17)

where α γ= +B J4 2 2 .If we set r = 2, for example, if |ψ⟩ = |ξ1⟩, |Ψ⟩ = |10⟩⊗ |01⟩ with

S′(1) = 1 and S′(2) = 1. If |ψ⟩ = |ξ2⟩, |Ψ⟩ = |10⟩⊗ |01⟩with S′(1)= −1 and S′(2) = 1.Abiding by the previous mapping, themappedHamiltonianH′

and matrix C can be written as (this is illustrated in Figure 4)

σ σ

σ σ

γσ σ σ σ

γσ σ σ σ

σ σ σ σ

σ σ σ σ

′ = − −

′ = − −

′ = − +− −

− −− −

−+ +

−+ +

′ = ′

H B B

H B B

HJ

J

B

B

H H

2(1 )

12

12

2(1 )

2 2

21

2

21

2

z z

z z

z z z z

z z z z

z z z z

z z z z

(1,1)1 2

(2,2)3 4

(1,2)

1 3 2 4

1 3 4 2

1 3 2 4

2 4 1 3

(2,1) (1,2) (18)

σ σ σ σ

σ σ σ σ

σ σ σ σ

σ σ σ σ

=+ +

′ ++ +

++ −

′ ++ −

+− +

′ +− +

+− −

′ +− −

⎛⎝⎜

⎞⎠⎟

⎛⎝⎜

⎞⎠⎟

⎛⎝⎜

⎞⎠⎟

⎛⎝⎜

⎞⎠⎟

C S S

S S

S S

S S

12

12

(1)1

21

2(2)

12

12

(1)1

21

2(2)

12

12

(1)1

21

2(2)

12

12

(1)1

21

2(2)

z z z z

z z z z

z z z z

z z z z

1 2 1 2 2

1 2 1 2 2

1 2 1 2 2

1 2 1 2 2

(19)

If S′(1) = S′(2) = 1, we have

The Journal of Physical Chemistry B Article

DOI: 10.1021/acs.jpcb.7b10371J. Phys. Chem. B XXXX, XXX, XXX−XXX

F

Page 7: Electronic Structure Calculations and the Ising Hamiltonian · 2019-10-29 · Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

∑′ = ′ ′ ′

= ′ + ′ + ′ + ′

H H S j S k

H H H H

( ) ( )j k

j k

j k,

, 2

( , )

(1,1) (2,2) (1,2) (2,1) (20)

We can write matrix C as

=

⎢⎢⎢⎢

⎥⎥⎥⎥C

4 0 0 00 2 0 00 0 2 00 0 0 4

If −S′(1) = S′(2) = 1, we have

∑′ = ′ ′ ′

= ′ + ′ − ′ − ′

H H S j S k

H H H H

( ) ( )j k

j k

j k,

, 2

( , )

(1,1) (2,2) (1,2) (2,1) (21)

We can write C in the matrix format:

=

⎢⎢⎢⎢

⎥⎥⎥⎥C

0 0 0 00 2 0 00 0 2 00 0 0 0

For −S′(1) = S′(2) = 1, we here display a proceduralrepresentation of our algorithm (we set B = 0.001, J = −0.1,and γ = 0):

1. First, when we choose λ = 100, we get that the minimumeigenvalue ofH′− 100C is −400 with |Ψ⟩ = |0000⟩. Thus,we get ∑m bm

2 = 4 and λ′ = 0.2. When we set λ = 0, we get that the minimum eigenvalue of

H′ + 0C is −0.2 with |Ψ⟩ = |0110⟩. Thus, we get∑m bm2 =

2 and λ′ = −0.1.3. When we set λ = −0.1, we get that the minimum

eigenvalue of H′ + 0.1C is 0 with |Ψ⟩ = |0110⟩. We stophere and get that the minimum eigenvalue of H is −0.1.

Here we present the result of mapping the aboveHamiltonian, eq12, with B = 0.001, J = −0.821R5/2e−2R, and γ = 038 in Figure 5.Reduce Locality of the Transformed HamiltonianHere we present the procedure to reduce the locality ofH′ from ak-local to a 2-local Ising-type Hamiltonian.For x, y, z ∈ {0, 1},29

= − − + =xy z xy xz yz zif 2 2 3 0 (22)

and

≠ − − + >xy z xy xz yz zif 2 2 3 0 (23)

Thus, the 3-local x1x2x3 can be transformed to 2-local by settingx4 = x1x2:

= + − − +

x x x x x x x x x x x x

x x x x

min( ) min( 2 2 3 )

, , , {0, 1}1 2 3 4 3 1 2 1 4 2 4 4

1 2 3 4 (24)

− = − + − − +

x x x x x x x x x x x x

x x x x

min( ) min( 2 2 3 )

, , , {0, 1}1 2 3 4 3 1 2 1 4 2 4 4

1 2 3 4 (25)

We can prove that min(x1x2x3 + f(x) = g1(x)) = min(x4x3 + x1x2− 2x1x4 − 2x2x4 + 3x4 + f(x) = g2(x, x4)), where f(x) is thepolynomial of all variables (including x1, x2, x3, and othervariables, excluding x4). If there exists x′, this makes g1(x′) be theminimum, and we can always make g2(x′, x4) = g1(x′) bychoosing x4 = x1x2. Then, if there exists x″, this makes g2(x″, x4)be the minimum, and then g1(x″) ≤ g2(x″):

1. If x4 = x1x2, g1(x″) = x1x2x3 + f(x″) = x4x3 + x1x2− 2x1x4−2x2x4 + 3x4 + f(x″) = g2(x″,x4).

2. If x4≠ x1x2, g2(x″, x4) = x4x3 + x1x2− 2x1x4− 2x2x4 + 3x4 +f(x″) ≥ x4x3 + 1 + f(x″) ≥ x1x2x3 + f(x″) = g1(x″) becausex4x3 − x1x2x3 ≥ −1.

Thus, we have g1(x′) = g2(x′, x4) ≥ g2(x″, x4) ≥ g1(x″) ≥ g1(x′).Thus, we have g1(x′) = g2(x′, x4) = g2(x″, x4) = g1(x″), or all xmakes g1(x) minimum would also makes g2(x,x4) minimum andvice versa.Thus, we obtain

∏ ∏ ∏

σ σ σσ σ σ

σ σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ

=+ + + ∏

−+ + + ∏ + + ∏ + ∏

= + − − + + −

− − − +

=

=

= = =

=

+

=

+

=

=

+ +

⎛⎝⎜⎜

⎞⎠⎟⎟

⎛⎝⎜⎜

⎞⎠⎟⎟

⎛⎝⎜⎜

⎞⎠⎟⎟

min min 81

21

2

1

2

81

8

min 7 3 3 6 2

4 4

z zi

n

zi z z i

nzi

z z in

zi

z z z in

zi

z in

zi

i

n

zi

z z zn

i

n

zi

zi

n

zi

zi

n

zi

z zn

z zn

z z

1 2

3

1 23

1 23

1 2 13

23

3

1 2 1

3

11

3

2

3

1 1 2 1 1 2

(26)

Figure 4. Mapped Hamiltonian γ σ σ− +(1 )Jx x2

1 2 between different

bases.

Figure 5. Comparing the ground state energy from exact (atomic units)of the original Hamiltonian H, eq 16, as a function of the internucleardistance, R (solid line), with the results of the transformed HamiltonianH′, eqs 20 and 21.

The Journal of Physical Chemistry B Article

DOI: 10.1021/acs.jpcb.7b10371J. Phys. Chem. B XXXX, XXX, XXX−XXX

G

Page 8: Electronic Structure Calculations and the Ising Hamiltonian · 2019-10-29 · Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

∏ ∏ ∏

σ σ σσ σ σ

σ σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ

− = −+ + + ∏

++ + + ∏ + + ∏ + ∏

= − − − + − +

+ − − +

=

=

= = =

=

+

=

+

=

=

+ +

⎛⎝⎜⎜

⎞⎠⎟⎟

⎛⎝⎜⎜

⎞⎠⎟⎟

⎛⎝⎜⎜

⎞⎠⎟⎟

min min 81

21

2

1

2

81

8

min 5 2 2

4 4 3

z zi

n

zi z z i

nzi

z z in

zi

z z z in

zi

z in

zi

i

n

zi

z z zn

i

n

zi

zi

n

zi

zi

n

zi

z zn

z zn

z z

1 2

3

1 23

1 23

1 2 13

23

3

1 2 1

3

11

3

2

3

1 1 2 1 1 2

(27)

By repeating this, we can reduce the k-local in σz terms to a 2-

local Hamiltonian.

Mapping the H2 Hamiltonian to an Ising-Type Hamiltonian

Here, we treat the hydrogen molecule in a minimal basis STO-

6G. By considering the spin functions, the four molecular spin

orbitals in H2 are

χ α α| ⟩ = |Ψ ⟩| ⟩ =|Ψ ⟩ + |Ψ ⟩

+| ⟩

S2(1 )g

s s1

1 1 1 2

(28)

χ β β| ⟩ = |Ψ ⟩| ⟩ =|Ψ ⟩ + |Ψ ⟩

+| ⟩

S2(1 )g

s s2

1 1 1 2

(29)

χ α α| ⟩ = |Ψ ⟩| ⟩ =|Ψ ⟩ − |Ψ ⟩

−| ⟩

S2(1 )u

s s3

1 1 1 2

(30)

χ β β| ⟩ = |Ψ ⟩| ⟩ =|Ψ ⟩ − |Ψ ⟩

−| ⟩

S2(1 )u

s s4

1 1 1 2

(31)

where |Ψ1s⟩1 and |Ψ1s⟩2 are the spatial functions for the twoatoms, respectively, |α⟩ and |β⟩ are spin up and spin down, and S= 1⟨Ψ1s|Ψ1s⟩2 is the overlap integral.

39 The one- and two-electronintegrals are given by

Table 1. Comparing the Exact Ground Energy (au) and the Simulated Ground Energy (au) (Simulated by 4 × 2 qubits) as aFunction of the Intermolecule Distance R (au)

R g0 g1 g2 g3 g4 exact simulated

0.6 1.5943 0.5132 −1.1008 0.6598 0.0809 −0.5617 −0.57030.65 1.4193 0.5009 −1.0366 0.6548 0.0813 −0.6785 −0.68770.7 1.2668 0.4887 −0.9767 0.6496 0.0818 −0.7720 −0.78170.75 1.1329 0.4767 −0.9208 0.6444 0.0824 −0.8472 −0.85750.8 1.0144 0.465 −0.8685 0.639 0.0829 −0.9078 −0.91880.85 0.909 0.4535 −0.8197 0.6336 0.0835 −0.9569 −0.96850.9 0.8146 0.4422 −0.774 0.6282 0.084 −0.9974 −1.00880.95 0.7297 0.4313 −0.7312 0.6227 0.0846 −1.0317 −1.04151.0 0.6531 0.4207 −0.691 0.6172 0.0852 −1.0595 −1.06781.05 0.5836 0.4103 −0.6533 0.6117 0.0859 −1.0820 −1.08891.1 0.5204 0.4003 −0.6178 0.6061 0.0865 −1.0999 −1.10561.15 0.4626 0.3906 −0.5843 0.6006 0.0872 −1.1140 −1.11861.2 0.4098 0.3811 −0.5528 0.5951 0.0879 −1.1249 −1.12851.25 0.3613 0.37200 −0.523 0.5897 0.0886 −1.1330 −1.13581.3 0.3167 0.3631 −0.4949 0.5842 0.0893 −1.1389 −1.14091.35 0.2755 0.3546 −0.4683 0.5788 0.09 −1.1427 −1.14411.4 0.2376 0.3463 −0.4431 0.5734 0.0907 −1.1448 −1.14571.45 0.2024 0.3383 −0.4192 0.5681 0.0915 −1.1454 −1.14591.5 0.1699 0.3305 −0.3966 0.5628 0.0922 −1.1448 −1.1451.55 0.1397 0.32299 −0.3751 0.5575 0.09300 −1.1431 −1.14321.6 0.1116 0.3157 −0.3548 0.5524 0.0938 −1.1404 −1.14051.65 0.0855 0.3087 −0.3354 0.5472 0.0946 −1.1370 −1.13711.7 0.0612 0.3018 −0.317 0.5422 0.0954 −1.1329 −1.13321.75 0.0385 0.2952 −0.2995 0.5371 0.0962 −1.1281 −1.12871.8 0.0173 0.2888 −0.2829 0.5322 0.09699 −1.1230 −1.12391.85 −0.0023 0.2826 −0.267 0.5273 0.0978 −1.1183 −1.11871.9 −0.0208 0.2766 −0.252 0.5225 0.0987 −1.1131 −1.11331.95 −0.0381 0.2707 −0.2376 0.5177 0.0995 −1.1076 −1.10772.0 −0.0543 0.2651 −0.2238 0.513 0.1004 −1.1018 −1.10192.05 −0.0694 0.2596 −0.2108 0.5084 0.1012 −1.0958 −1.09612.1 −0.0837 0.2542 −0.1983 0.5039 0.1021 −1.0895 −1.09012.15 −0.0969 0.249 −0.1863 0.4994 0.10300 −1.0831 −1.08422.2 −0.1095 0.244 −0.1749 0.495 0.1038 −1.0765 −1.07822.25 −0.1213 0.2391 −0.1639 0.4906 0.1047 −1.0699 −1.07232.3 −0.1323 0.2343 −0.1536 0.4864 0.1056 −1.0630 −1.06642.35 −0.1427 0.2297 −0.1436 0.4822 0.1064 −1.0581 −1.06052.4 −0.1524 0.2252 −0.1341 0.478 0.1073 −1.0533 −1.05482.45 −0.1616 0.2208 −0.125 0.474 0.1082 −1.0484 −1.04922.5 −0.1703 0.2165 −0.1162 0.47 0.109 −1.0433 −1.0437

The Journal of Physical Chemistry B Article

DOI: 10.1021/acs.jpcb.7b10371J. Phys. Chem. B XXXX, XXX, XXX−XXX

H

Page 9: Electronic Structure Calculations and the Ising Hamiltonian · 2019-10-29 · Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

∫ χ χ= * − ∇ − ⎜ ⎟⎛⎝

⎞⎠h r r

Zr

rd ( )12

( )ij i j (32)

∫ χ χ χ χ= * *⎯→ ⎯→ ⎯→ ⎯→ ⎯→ ⎯→h r r r rr

r rd d ( ) ( )1

( ) ( )ijkl i j k l1 2 1 212

2 1(33)

Thus, we can write the second-quantization Hamiltonian of H2:

= + + +

+ + +

+ + −

+ −

+ +

+ +

† † † †

† † † † † †

† † † †

† †

† † † †

† † † †

H h a a h a a h a a h a a

h a a a a h a a a a h a a a a

h a a a a h h a a a a

h h a a a a

h a a a a a a a a

h a a a a a a a a

( )

( )

( )

( )

H 00 0 0 11 1 1 22 2 2 33 3 3

0110 0 1 1 0 2332 2 3 3 2 0330 0 3 3 0

1221 1 2 2 1 0220 0202 0 2 2 0

1331 1313 1 3 3 1

0132 0 1 3 2 2 3 1 0

0312 0 3 1 2 2 1 3 0

2

(34)

By using the Bravyi−Kitaev transformation,25 we have

σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ

= − = +

= − = +

= − = +

= − = +

a i a i

a i a i

a i a i

a i a i

12

( )12

( )

12

( )12

( )

12

( )12

( )

12

( )12

( )

x x x y x x x y

x x z x y x x z x y

x x y z x x y z

x z z y x z z y

03 1 0 0

03 1 0 0

13 1 0 3 1

13 1 0 3 1

23 2 2 1

23 2 2 1

33 2 1 3

33 2 1 3

(35)

Thus, the Hamiltonian of H2 takes the following form:

σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ

= + + + + +

+ + + +

+ + +

+ +

H f f f f f f

f f f f

f f f

f f

1 z z z z z z z

z z x z x y z y z z z

z z z z z z x z x z

y z y z z z z z

H 0 10

21

32

10 1

40 2

51 3

60 1 2

60 1 2

70 1 2

40 2 3

31 2 3

60 1 2 3

60 1 2 3

70 1 2 3

2

(36)

We can utilize the symmetry that qubits 1 and 3 never flip toreduce the Hamiltonian to the following form which just acts ononly two qubits

σ σ σ σ σ σ σ σ= + + + + +

= +

H g g g g g g

g H

1

1

z z z z x x y yH 0 10

21

30 1

40 1

40 1

0 0

2

(37)

= = = = + =g f g f g f g f f g f2 2 2( ) 20 0 1 1 2 3 3 4 7 4 6(38)

= + − + ++ +

= − − + −

= − − −

= − − + −

=

g h h h h hh R

g h h h h

g h h h h

g h h h h

g h

1.0 0.5 0.5 1.0 1.00.5 1.0/

1.0 0.5 0.5 1.0

0.5 1.0 1.0 0.5

1.0 0.5 0.5 1.0

0.5

0 00 0000 0022 0220 22

2222

1 00 0000 0022 0220

2 0022 0220 22 2222

3 00 0000 0022 0220

4 0022

(39)

where {gi} depends on the fixed bond length of the molecule. InTable 1, we present the numerical values of {gi} as a function ofthe internuclear distance in the minimal basis set STO-6G.

By applying the mapping method described above, we can getthe Hamiltonian H′ consisting of only σz (where i1 and i2 meanthe 1 and 2 qubits of ith 2 qubits):

σ σ σ σ

σ σ σ σ

σ σ σ σ

σ σ σ σ

σ σ σ σ

σ σ σ σ

′ = + +

++ +

′ ′

++ +

′ ′

++ +

′ ′

++ +

′ ′

+− −

′ ′

⎡⎣⎢⎢

⎤⎦⎥⎥

H g g g

g S i S j

g S i S j

g S i S j

g S i S j

g S i S j

( )(1 )4

( ) ( )

( )(1 )4

( ) ( )

( )( )4

( ) ( )

(1 )(1 )4

( ) ( )

( )( )4

( ) ( )

izi

zi

zi

zi

i j

zi

zj

zi

zj

zi

zj

zi

zj

zi

zj

zi

zj

zi

zi

zi

zj

zi

zi

zj

zi

1 2 3

1

2

( ,2)

3

4

4

1 2 1 2

1 1 2 2

2 1 1

1 1 2 2

1 1 2 2

1 1 2 2

(40)

According to the scheme for reducing locality, if we want toreduce H′ − λC, we can reduce H′ and C separately. By applyingthe method for reducing locality, we can get a 2-local Ising-typeHamiltonian, H″. Here we show the example of all signs beingpositive, where aij

k, k = 1, 2, 3, ..., 6, are the indices of the newqubits we introduce to reduce locality.

∑ ∑σ σ σ σσ σ σ σ

σ σ σ σ σ σ σ σ

σ σ σ σ

σ σ σ σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ σ σ

σ σ σ σ σ σ

σ σ σ σ σ σ σ σ σ σ

″ = + + ++

++

++ +

++ +

+− −

++ − − + − − +

+ −

+ + − + + + + +

+ −

− + + − + + +

+

− − − + + + − +

+− + + + + + +

++ − − + +

+− − − − +

⎣⎢⎢⎢

⎦⎥⎥⎥

H g g g g g

g g

g

g

g g

g g

g

g

g

g

4 4

( )( )4

14

( )( )4

7 3 3 6 4 44

( )

14 6( ) 6( ) 2( )4

( )

4( )( ) ( )( ) 24

10 2( ) 2( ) 2( )4

4( )( ) ( )( ) 64

7 3 3 6 22

4 42

izi

zi

zi

zi

i j

zi

zj

zi

zj

zi

zj

zi

zj

zi

zj

zi

zj

zi

zj

zi

zj

zi

zj

zi

zj

za

zi

za

zj

za

zi

zj

zi

zj

zi

zj

za

za

zi

za

zj

za

zi

zj

za

za

zi

zj

zi

zj

zi

zj

zi

zj

zi

zj

za

za

zi

za

zj

za

zi

zj

za

za

zi

zj

zi

zj

zi

zj

za

zi

zj

za

za

za

zi

za

zj

za

zi

za

zj

za

zi

zj

1 2 3 1 2

3 4

4

,1)

4

1 4

1 4

2

2

4

4

ij ij ij

ij ij ij ij

ij ij

ij ij ij ij

ij ij

ij ij ij ij

ij ij ij ij

1 2 1 21 1 2 2

1 1 2 2 1 1 2 2

1 2 2

2 2 1 11

11

11

1 1

1 1 2 22 3

12

13

2 22 3

1 1 2 2 2 2

2 2 1 14 5

24

25

1 14 5

1 1 2 2 1 1

12 2

6 1 6

21

21

26

26

2 2

(41)

We can write the corresponding count term C as

∑ ∑ σ σ=

± ±

±

⎛⎝⎜⎜

⎞⎠⎟⎟C

(1 )(1 )4i

zi

zi 2

1 2

(42)

The Journal of Physical Chemistry B Article

DOI: 10.1021/acs.jpcb.7b10371J. Phys. Chem. B XXXX, XXX, XXX−XXX

I

Page 10: Electronic Structure Calculations and the Ising Hamiltonian · 2019-10-29 · Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

By applying the method of reducing locality, the 2-localcorresponding count term is

σ σ σ σ σ σ σ

σ σ σ σ σ σ σ

σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ

σ σ σ σ

σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ

σ σσ σ

′ = + − − + −

− + + + − −

+ + + − −

− − + + + +

− + + +

+ + − + +

− + + + + +

+ ++ + +

≠⎪

⎧⎨⎩

⎫⎬⎭

C14

[7 3 3 6 4

4 2(7 3 3

6 2 ) 2(

4 4 ) 14

6( ) 6( )

2( ) 4( )( )

( )( ) 2 1

](1 ) (1 )

4

i jzi

zj

zi

zj

za

zi

za

zj

za

zi

zj

za

zi

zj

za

za

za

zi

za

zj

za

zi

za

zj

za

zi

zj

zi

zj

zi

zj

za

za

zi

za

zj

za

zi

zj

za

za

zi

zj

zi

zj

zi

zj

zi

zj

zi

zj

i

zi

zi

0

0 0

ij ij

ij ij

ij ij ij ij ij

ij ij

ij ij

ij ij ij ij

2 2 1 17

17

17

1 17

2 2

8 1 82

72

7

28

28

2 2 1 1

2 29 1

19

11

2 29 1

1 1 2 2 2 2 1 1

2 2

1 2

(43)

As stated in the section “Reduce Locality of the TransformedHamiltonian”, a change in the locality would not change the statewhen calculating the ground state energy. Thus, we can still useCon certain qubits to calculate∑i ai

2, and the algorithmwe presentabove can still be used for the reduced Hamiltonian.In Figure 6, we show our results from the transformed Ising-

type Hamiltonian of 2 × 2 to 4 × 2 qubits compared with theexact numerical values. By increasing the number of qubits via r =2, we increased the accuracy and the result matches very well withthe exact results. Table 1 shows the numerical results.

Mapping the Hamiltonian for the He2 Molecule to theIsing-Type HamiltonianAs shown above for transforming the Hamiltonian associatedwith the H2 molecule, we repeat the procedure for the heliummolecule in a minimal basis STO-6G using the Jordan−Wignertransformation.The molecular spin Hamiltonian has the form

σ σ σ σ σ σ

σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ

= + + + + +

+ + + +

+ + +

+ +

H f f f f f f

f f f f

f f f

f f

1 z z z z z z

z z z z z z z z

z z x x y y x y y x

y x x y y y x x

He 0 11

22

33

44

51 2

61 3

71 4

82 3

82 4

93 4

101 2 3 4

111 2 3 4

121 2 3 4

131 2 3 4

2

(44)

The set of parameters f i is related to the one- and two-electronintegrals:

= + − + ++ +

= − − + −

= − + − −

= − − −

= − − −

=

= − +

=

=

=

= −

=

=

= −

f h h h h hh R

f h h h h

f h h h h

f h h h h

f h h h h

f h

f h h

f h

f h

f h

f h

f h

f h

f h

1.0 0.25 0.5 1.0 1.00.25 4.0/

0.5 0.25 0.25 0.5

0.25 0.25 0.5 0.5

0.25 0.5 0.5 0.25

0.25 0.5 0.25 0.5

0.25

0.25 0.25

0.25

0.25

0.25

0.25

0.25

0.25

0.25

0 00 0000 0022 0220 22

2222

1 00 0000 0022 0220

2 0000 0022 0220 00

3 0022 0220 22 2222

4 0022 0220 2222 22

5 0000

6 0022 0220

7 0220

8 0220

9 2222

10 0022

11 0022

12 0022

13 0022

(45)

We can also use the mapping and reduction of locality as beforeto get the final Ising Hamiltonian. Here we just present themapping result of some terms for illustration. For σz

1, theHamiltonian between different bases can be mapped as

∑ σ σ σ σ σ σ σ σ+ + + +′ ′

S i S j( )(1 )(1 )(1 )

16( ) ( )

i j

zi

zj

zi

zj

zi

zj

zj

zi1 1 2 2 3 3 4 4

(46)

For σz1σz

2, the Hamiltonian between different bases can bemapped as

∑ σ σ σ σ σ σ σ σ+ + + +′ ′

S i S j( )( )(1 )(1 )

16( ) ( )

i j

zi

zj

zi

zj

zi

zj

zj

zi1 1 2 2 3 3 4 4

(47)

Figure 6. Results of the simulated transformed Ising-type Hamiltonian with 2 × 2 qubits and 4 × 2 qubits compared with the exact numerical results forthe ground state of the H2 molecule.

The Journal of Physical Chemistry B Article

DOI: 10.1021/acs.jpcb.7b10371J. Phys. Chem. B XXXX, XXX, XXX−XXX

J

Page 11: Electronic Structure Calculations and the Ising Hamiltonian · 2019-10-29 · Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

For σx1σx

2σy3σy

4, the Hamiltonian between different bases can bemapped as

∑ σ σ σ σ σ σ σ σ− − − −′ ′

S i S j(1 )(1 )( )( )

16( ) ( )

i j

zi

zj

zi

zj

zi

zj

zj

zi1 1 2 2 3 3 4 4

(48)

By reducing locality, we can get the 2-local Ising-typeHamiltonian. However, even just for σx

1σx2σy

3σy4, the final 2-

local Ising Hamiltonian would have about 1000 terms.

Mapping the Hamiltonian of HeH+ to an Ising Hamiltonian

Similar to H2 and He2 molecules, next we treat the HeH+

molecule in the minimal basis STO-6G using the Jordan−Wigner transformation. Using the technique defined above,40 wecan reduce the locality to

σ σ σ σ σ σ σ

σ σ σ σ σ σ

= + + + + +

+ + +

+H f f f f f f

f f f

1 z z x z z x z

z x x x y y

HeH 0 11

22

31

41 2

51 2

61 2

71 2

81 2

(49)

The set of parameters f i is related to the one- and two-electronintegrals:

= + + + ++

= − + −

= + − −

= − − +

= − − + +

= − − −

= −

= + −

= + +

f h h h h hR

f h h h

f h h h h

f h h h

f h h h h

f h h h

f h

f h h h

f h h h

1.0 0.25 0.5 1.0 0.252.0/

0.25 0.5 0.25

0.25 0.5 0.25 0.5

0.25 0.25 0.5

0.5 0.25 0.5 0.25

0.25 0.25 0.5

1.0

0.25 0.25 0.5

0.25 0.25 0.5

0 00 0000 0220 22 2222

1 0000 0220 2222

2 0000 00 2222 22

3 0002 0020 0222

4 00 0000 22 2222

5 0002 0020 0222

6 0022

7 0002 0020 0222

8 0002 0020 0222

(50)

We can also use the mapping and reducing locality as before toget the final Ising Hamiltonian. Again, here we just present themapping result of some terms for illustration:For σz

1σz2, the Hamiltonian between different bases can be

mapped as

∑ σ σ σ σ+ +′ ′

S i S j( )( )

4( ) ( )

i j

zi

zj

zi

zj1 1 2 2

(51)

For σz1σx

2, the Hamiltonian between different bases can bemapped as

∑ σ σ σ σ+ −′ ′

S i S j( )(1 )

4( ) ( )

i j

zi

zj

zi

zj1 1 2 2

(52)

And if the coefficient of mapping term is positive, we can get the2-local term as

∑ σ σ

σ σ σ σ σ σ σ σ σ σ

σ σ σ σ σ σ σ σ σ σ

+

++ + − + + + + +

+− + + − + + +

⎝⎜⎜⎜

⎠⎟⎟⎟

4

14 6( ) 6( ) 2( )4

4( )( ) ( )( ) 24

i j

zi

zj

zi

zj

zi

zj

za

za

zi

za

zj

za

zi

zj

za

za

zi

zj

zi

zj

zi

zj

ij ij ij ij

ij ij

1 1

1 1 2 21 2

11

12

2 21 2

1 1 2 2 2 2

(53)

Mapping the Molecular Hamiltonian of LiH to an IsingHamiltonianSimilar to H2 and other molecules, next we treat the LiHmolecule with four electrons in a minimal basis STO-6G and usethe Jordan−Wigner transformation. Using the technique definedabove,41 we can reduce the locality to a Hamiltonian with 558terms on 8 qubits. We just use 16 qubits for the simulations.

Computation Complexity and Error AnalysisSpecifying the required amount of qubit resources can be derivedthroughout the multistep process of constructing the finalHamiltonian. As an example, let us consider a Hamiltonian with ntotal orbitals; transforming this Hamiltonian from secondquantization to Pauli operators requires O(n) qubits and a seriesof O(n4) expansion terms. This is due to the need to use two-body operator and four-body operator terms in formulating thesecond quantization Hamiltonian. Thus, the number of terms inthe second quantization form of the Hamiltonian should beO(n4), yieldingO(n4) terms to be described in the Pauli operatorrepresentation of the Hamiltonian.Mapping the Hamiltonian from a Pauli operator representa-

tion to a diagonal matrix requires an additional O(rn) factor ofqubits, and thereby O(2nr2n4) qubits. This is due to the fact that,for each term in the Pauli operator representation of theHamiltonian, we now have O(2nr2) terms in the diagonalHamiltonian. This process leads us to the O(r2n4) mapping,which doesin facthave O(2nr2n4) terms.Reducing the representation down to 2-local interactions

requiresO(rn + 2nr2n7) qubits. Within this form, we do not knowr. Consider that the qubit requirement during the reduction froma k-local to 2-local is given by f(k). We have found that

< ( )f k f k( ) 10 23

which gives us f(k) = O(nlog310

) or O(n3) by the

master theorem. Thus, for all terms, we finally have O(rn +2nr2n7) qubits.However, we cannot clearly give a relationship between r and

the desired accuracy in the solution. Similarly to the variationmethod trying to optimize results under particular conditions,this mapping tries to approach the optimal value of the desiredground eigenstate via a new state a by repetition of terms r times.Thus, we cannot calculate the errors associated with our optimalresult compared to the exact result, because exact results areunknown within the varational method. Through repeated scaledcalculation, we can see that in increasing r we obtain greateraccuracy. This is likely due to the fact that by increasing r weincrease the number of repetitious terms providing the necessarycorrections allowing bi to approach ai.

■ AUTHOR INFORMATION

Corresponding Author*E-mail: [email protected].

ORCIDSabre Kais: 0000-0003-0574-5346

The Journal of Physical Chemistry B Article

DOI: 10.1021/acs.jpcb.7b10371J. Phys. Chem. B XXXX, XXX, XXX−XXX

K

Page 12: Electronic Structure Calculations and the Ising Hamiltonian · 2019-10-29 · Electronic Structure Calculations and the Ising Hamiltonian Rongxin Xia,† Teng Bian,† and Sabre Kais*,†,‡,§

NotesThe authors declare no competing financial interest.

■ ACKNOWLEDGMENTS

We would like to thank Dr. Ross D. Hoehn for both discussionand critical reading of the manuscript.

■ REFERENCES(1) Herschbach, D. R.; Avery, J. S.; Goscinski, O.Dimensional Scaling inChemical Physics; Springer Science & Business Media: Berlin, 2012.(2) Iachello, F.; Levine, R. D. Algebraic Theory of Molecules; OxfordUniversity Press on Demand: Oxford, U.K., 1995.(3) Kais, S. Quantum Information and Computation for Chemistry;Advances in Chemical Physics; Wiley Online Library: NJ, 2014; Vol.154, p 224109.(4) Szabo, A.; Ostlund, N. S.Modern Quantum Chemistry: Introductionto Advanced Electronic Structure Theory; Courier Corporation: MA, 1989.(5) Head-Gordon, M.; Artacho, E. Chemistry on the Computer. Phys.Today 2008, 61, 58.(6) Parr, R. G.; Yang, W. Density-Functional Theory of Atoms andMolecules; Oxford Science Publications: New York, 1989.(7) Mazziotti, D. A. Reduced-Density-matrix Mechanics withApplications to Many-electron Atoms and Molecules. Adv. Chem.Phys. 2007, 134, 1.(8) Nightingale, M. P.; Umrigar, C. J. QuantumMonte Carlo Methodsin Physics and Chemistry. NATO Sci. Ser. 1998, 525.(9) Whitfield, J. D.; Love, P. J.; Aspuru-Guzik, A. ComputationalComplexity in Electronic Structure. Phys. Chem. Chem. Phys. 2013, 15(2), 397−411.(10) Schuch, N.; Verstraete, F. Computational Complexity ofInteracting Electrons and Fundamental Limitations of Density Func-tional Theory. Nat. Phys. 2009, 5, 732−735.(11) Whitfield, J. D.; Zimboras, Z. On the NP-completeness of theHartree-Fock Method for Translationally Invariant Systems. J. Chem.Phys. 2014, 141, 234103.(12) Lloyd, S. Universal Quantum Simulators. Science 1996, 273, 1073.(13) Whitfield, J. D.; Biamonte, J.; Aspuru-Guzik, A. Simulation ofElectronic Structure Hamiltonians Using Quantum Computers. Mol.Phys. 2011, 109, 735−750.(14) O’Malley, P. J. J.; Babbush, R.; Martinis, J. Scalable QuantumSimulation of Molecular Energies. Phys. Rev. X 2016, 6, 031007.(15) Babbush, R.; Love, P. J.; Aspuru-Guzik, A. Adiabatic QuantumSimulation of Quantum Chemistry. Sci. Rep. 2015, 4, 6603.(16) Boixo, S.; Rønnowand, T. F.; Troyer, M. Evidence for QuantumAnnealing with More Than One Hundred Qubits. Nat. Phys. 2014, 10,218−224.(17) Johnson, M. W.; Amin, M. H. S.; Bunyk, P. Quantum Annealingwith Manufactured Spins. Nature 2011, 473, 194−198.(18) Lechner, W.; Hauke, P.; Zoller, P. A Quantum AnnealingArchitecture with All-to-all Connectivity from Local Interactions. Sci.Adv. 2015, 1, e1500838.(19) McMahon, P. L.; Marandi, A.; Aihara, K. A Fully-programmable100-spin Coherent Ising Machine with All-to-all Connections. Science2016, 354, 614−617.(20) Inagaki, T.; Haribara, Y.; Enbutsu, K. A Coherent Ising Machinefor 2000-node Optimization Problems. Science 2016, 354, 603−606.(21) Inagaki, T.; Inaba, K.; Takesue, H. Large-scale Ising Spin NetworkBased on Degenerate Optical Parametric Oscillators. Nat. Photonics2016, 10, 415−419.(22) Bravyi, S. B.; Kitaev, A. Y. Fermionic Quantum Computation.Ann. Phys. 2002, 298, 210−226.(23) Biamonte, J. D.; Love, P. J. Realizable Hamiltonians for UniversalAdiabatic Quantum Computers. Phys. Rev. A: At., Mol., Opt. Phys. 2008,78, 012352.(24) McWeeny, R.; Sutcliffe, B. T. Methods of Molecular QuantumMechanics; Academic Press: MA, 1969; Vol. 2.

(25) Seeley, J. T.; Richard, M. J.; Love, P. J. The Bravyi-KitaevTransformation for Quantum Computation of Electronic Structure. J.Chem. Phys. 2012, 137, 224109.(26) Kempe, J.; Kitaev, A. Y.; Regev, O. The Complexity of the LocalHamiltonian Problem. SIAM. J. Comput 2006, 35, 1070−1097.(27) Jordan, S. P.; Farhi, E. Perturbative Gadgets at Arbitrary Orders.Phys. Rev. A: At., Mol., Opt. Phys. 2008, 77, 062329.(28) Cao, Y.; Babbush, R.; Biamonte, J.; Kais, S. Hamiltonian Gadgetswith Reduced Resource Requirements. Phys. Rev. A: At., Mol., Opt. Phys.2015, 91, 012315.(29) Bian, Z.; Chudak, F.; Macready, W. G.; Clark, L.; Gaitan, F.Experimental Determination of Ramsey Numbers. Phys. Rev. Lett. 2013,111, 130505.(30) Kandala, A.; Mezzacapo, A.; Temme, K.; Takita, M.; Chow, J. M.;Gambetta, J. M. Hardware-efficient Quantum Optimizer for SmallMolecules and Quantum Magnets. arXiv preprint arXiv:1704.05018,2017.(31) Smith, J.; Lee, A.; Richerme, P.; Neyenhuis, B.; Hess, P. W.;Hauke, P.; Heyl, M.; Huse, D. A.; Monroe, C. Many-body Localizationin a Quantum Simulator with Programmable Random Disorder. Nat.Phys. 2016, 12, 907−911.(32) Babbush, R.; Wiebe, N.; McClean, J.; McClain, J.; Neven, H.;Chan, G. K. Low Depth Quantum Simulation of Electronic Structure.arXiv preprint arXiv:1706.00023, 2017.(33) Lidar, D. A.; Biham, O. Simulating Ising Spin Glasses on aQuantum Computer. Phys. Rev. E: Stat. Phys., Plasmas, Fluids, Relat.Interdiscip. Top. 1997, 56, 3661.(34) Kim, K.; Korenblit, S.; Islam, R.; Edwards, E. E.; Chang, M. S.;Noh, C.; Carmichael, H.; Lin, G. D.; Duan, L. M.; Wang, C. C. J.;Freericks, J. K.; Monroe, C. Quantum Simulation of the Transverse IsingModel with Trapped Ions. New J. Phys. 2011, 13, 105003.(35) Fisher, M. E. The Theory of Equilibrium Critical Phenomena.Rep. Prog. Phys. 1967, 30, 615.(36) Widom, B. Statistical Mechanics: a Concise Introduction forChemists; Cambridge University Press: Cambridge, U.K., 2002.(37) Kais, S.; Serra, P. Finite-size Scaling for Atomic and MolecularSystems. Adv. Chem. Phys. 2003, 125, 1−100.(38) Huang, Z.; Kais, S. Entanglement as Measure of Electron-electronCorrelation in Quantum Chemistry Calculations. Chem. Phys. Lett.2005, 413, 1−5.(39) Muller, R. P. Python Quantum Chemistry (Pyquante) Program.http://pyquante.sourceforge.net/, 2007.(40) Moll, N.; Fuhrer, A.; Staar, P.; Tavernelli, I. Optimizing QubitResources for Quantum Chemistry Simulations in Second Quantizationon a Quantum Computer. J. Phys. A: Math. Theor. 2016, 49, 295301.(41) Bravyi, S.; Gambetta, J. M.; Mezzacapo, A.; Temme, K. Taperingoff Qubits to Simulate Fermionic Hamiltonians. arXiv preprintarXiv:1701.08213, 2017.

The Journal of Physical Chemistry B Article

DOI: 10.1021/acs.jpcb.7b10371J. Phys. Chem. B XXXX, XXX, XXX−XXX

L