0 Suka0 Tidak suka

22 tayangan9 halamanExact Ising model simulation on a Quantum Computer

Jul 22, 2018

© © All Rights Reserved

PDF, TXT atau baca online dari Scribd

Exact Ising model simulation on a Quantum Computer

© All Rights Reserved

22 tayangan

Exact Ising model simulation on a Quantum Computer

© All Rights Reserved

- The Other Einstein: A Novel
- Einstein: His Life and Universe
- The Field Updated Ed: The Quest for the Secret Force of the Universe
- Cosmos: A Personal Voyage
- The Making of the Atomic Bomb
- The Black Swan
- Einstein: His Life and Universe
- Wheels of Life: A User's Guide to the Chakra System
- The Lost Art of Reading Nature's Signs: Use Outdoor Clues to Find Your Way, Predict the Weather, Locate Water, Track Animals—and Other Forgotten Skills
- A Mind for Numbers: How to Excel at Math and Science Even If You Flunked Algebra
- The Application of Green Solvents in Separation Processes
- Midnight in Chernobyl: The Story of the World's Greatest Nuclear Disaster
- When Einstein Walked with Gödel: Excursions to the Edge of Thought
- The Princeton Companion to Mathematics
- A Universe from Nothing: Why There Is Something Rather than Nothing
- Atomic Accidents: A History of Nuclear Meltdowns and Disasters: From the Ozark Mountains to Fukushima
- Prey

Anda di halaman 1dari 9

Alba Cervera-Lierta1, 2

1

Barcelona Supercomputing Center (BSC), Barcelona, Spain

2

Dept. Fı́sica Quàntica i Astrofı́sica, Universitat de Barcelona, Barcelona, Spain

(Dated: July 20, 2018)

We present an exact simulation of a one-dimensional transverse Ising spin chain with a quantum

computer. We construct an efficient quantum circuit that diagonalizes the Ising Hamiltonian and

allows to obtain all eigenstates of the model by just preparing the computational basis states. With

an explicit example of that circuit for n = 4 spins, we compute the expected value of the ground

state magnetization, the time evolution simulation and provide a method to also simulate thermal

evolution. All circuits are run in IBM and Rigetti quantum devices to test and compare them

qualitatively.

arXiv:1807.07112v1 [quant-ph] 18 Jul 2018

However, the first suffer from the well-known sign prob-

In recent years the quantum computing has dived fully lem and the second are only efficient for slightly entan-

into the experimental realm. Control of quantum systems gled systems [12]. In the end, very strongly correlated

has improved so much that quantum computing devices quantum systems, such as those displaying frustration,

have become a near term reality. These experimental will need a quantum computer to be efficiently simulated

advances rely on some criteria proposed in the 2000’s by [13]. There are some works that propose quantum algo-

DiVicenzo [1]: scalable physical system to characterize rithms to construct arbitrary Slater determinants, both

the qubits, simple fiducial qubit state initialization, long in one and two dimensions, to simulate the dynamics of

coherence times (longer than the gate implementation the ground state of fermionic hamiltonians, in particu-

times), universal set of quantum gates and qubit-specific lar the Hubbard model [14, 15]. Other proposals intro-

measurement capability. Although there are some candi- duce the concept of compressed quantum computation,

dates that can fulfill the first criterion, the field is still in i.e. simulation of n-spin chain using log n qubits [16].

an early stage of development of this technology, where This method has been tested in one of the IBM’s quan-

the improvement of qubits control is crucial to accom- tum computers also simulating the magnetization of the

plish the others. Ising model [17]: the main difference respect the work

Private companies have also joined to the field. Since proposed in that paper is we have access to the whole

2016, IBM offers cloud based quantum computation plat- energy spectrum, which allows us to simulate time and

form [2]. Any user can run quantum algorithms on their temperature evolution as well.

two five qubits devices, their 16 qubits device, and their In this work, we implement a four-qubit experiment

20 qubits device which is available for hubs and partners. that could be interesting both as a proposal for testing

It is not the only company that has launched this kind of and comparing devices quality and for its implications in

service: Rigetti Computing also allows the use of its 19- condensed matter physics. We perform the exact simu-

qubits device on the cloud [3]. Although both companies lation of a spin chain proposed in Ref.[18] with an Ising-

are betting for superconducting qubits, their respective type interaction. The Ising model is one of the most fa-

device characterization is not the same: basic gate sets mous exactly solvable models, i.e. those models that are

and qubits connectivity are some of the differences. As integrable. Actually, the steps to find a quantum circuit

more quantum devices are appearing, it is important to that diagonalizes the Ising Hamiltonian follow the same

find some methods to test their quality when running strategy than the analytical solution of the model. There-

sophisticated quantum algorithms. fore, the method can be extended to other integrable

Several approaches on computer’s quantumness have models like the Kitaev-honeycomb model, which a circuit

already been tried. The first published article using an has already been proposed [19]. As we are performing an

IBM device tested the violation of Bell inequalities by exact simulation, we have access to the whole spectrum

more than two qubits (Mermin inequalities) [4], or a re- and not only to ground state: time evolution and thermal

cent article tests if the 16-qubit IBM device can be fully states can be simulated exactly as well. This provides a

entangled by generating graph states [5]. Other works new approach in quantum simulation if an exact circuit

tried to exploit different few qubit experiments, such as is found for those non trivial models, such as Heisenberg

error correcting codes and quantum arithmetics [6]. model, which have an ansatz to be solved. In particular,

On the other hand, the community has not forgot for one-dimensional spin chains, the Bethe ansatz [20] is

Feynman’s original aim for the proposal of construction the most successful method and several proposals exist

of a quantum computer [7]: the simulation of quan- to simulate and extend it to two-dimensions using tensor

tum systems. Many classical techniques have been de- network techniques [21]. As the one-dimensional Ising

veloped in that direction, for instance quantum Monte model hs analytic solutions for arbitrary number of spins

2

and the circuit proposed in this paper can be efficiently A. Jordan-Wigner transformation

generalized to larger number of qubits, the methods out-

lined in this work can be used to benchmark a quantum Let’s start with the Ising Hamiltonian with transverse

computer by seeing how this compares against known so- field

lutions. n n

The paper is structured as follows. In section II we X X

H= σix σi+1

x

+ σ1y σ2z · · · σn−1

z

σny + λ σiz , (3)

describe the method proposed in Ref.[18] to construct an

i=1 i=1

efficient circuit that diagonalizes the Ising Hamiltonian:

the number of gates scales as n2 and the circuit depth as where λ is the field strength. The second term has been

n log n. In section III we explain briefly the basic con- added to cancel the periodic boundary term, σnx σ1x , after

cepts of time evolution in quantum mechanics and give a the Jordan-Wigner transformation in order to solve the

specific example to be simulated using the circuit derived system as it was infinite. This modified Hamiltonian will

in the previous section. In section IV, we propose two have finite size effects that become negligible as n grows.

methods to simulate the expected value of an operator The Jordan-Wigner transformation corresponds to

for finite temperature. Section V summarizes the prop- transform the spin operators σ into fermionic modes c

erties of the three devices used for this work, two from [24]:

IBM and one from Rigetti, and in section VI we present

σjx + iσjy † σjx − iσjy Y z

! !

the results of ground state magnetization and the time Y

z

evolution of | ↑↑↑↑i state and compare the three devices cj = σl , cj = σl , (4)

2 2

l<j l<j

according to them. Finally, the conclusions are exposed

in section VII.

where cj and c†j are the fermionic annihilation and cre-

ation operators acting on the vacuum |Ωc i, ci |Ωc i = 0,

and following the anticommutation rules {ci , cj } = 0 and

{ci , c†j } = δij . After this transformation the Hamiltonian

II. QUANTUM CIRCUIT FOR THE ISING reads

HAMILTONIAN

n n

1X †

ci ci+1+c†i+1 ci+ci ci+1+c†i c†i+1 +λ c†i ci . (5)

X

Hc =

Let’s consider the existence of a quantum circuit that 2 i=1 i=1

disentangles a given Hamiltonian and transforms its en-

tangled eigenstates into product states. This circuit will In terms of the wave function,

be represented by an unitary transformation Udis X

|ψi = ψi1 ···in |i1 · · · in i

i1 ,··· ,in =0,1

e = U † HUdis ,

H (1)

dis

ψi1 ···in (c†1 )i1 · · · (c†n )in |Ωc i.

X

= (6)

i1 ,··· ,in =0,1

where H is the model Hamiltonian and H e is a noninter-

acting Hamiltonian that can be written as H e = P i σ z . Notice that the coefficients ψi1 ···in do not change. Then

i i

This diagonal Hamiltonian contains the energy spectrum it will not be necessary to implement any gates on the

i of the original one and its eigenstates correspond to quantum register to perform this transformation. How-

the computational basis states. Then, we will have ac- ever, for now on we should take into account we are deal-

cess to the whole spectrum of the model by just preparing ing with fermionic modes, so any swap between two occu-

a product state and applying Udis . pied modes will carry a minus sign. In terms of quantum

For the case of Ising Hamiltonian, the steps to ob- gates, this is translated into the use of fermionic SWAP

tain the Udis quantum gate are based on the analytical gate (fSWAP) each time we exchange two modes:

solution of the model [22, 23]: i) Implement the Jordan-

1 0 0 0

Wigner transformation to map the spins into fermionic

0 0 1 0

modes. ii) Perform the Fourier transform to get fermions fSWAP = , (7)

0 1 0 0

to momentum space. iii) Perform a Bogoliubov transfor-

0 0 0 −1

mation to decouple the modes with opposite momentum.

Thus, the construction of the disentangling gate can be which corresponds with the usual SWAP gate followed or

done by pieces: preceded by a controlled-Z gate (see appendix A).

In the following subsections, we derive the quantum gates The next step to solve the Ising model consists on get-

needed to implement the above transformation. ting the fermionic modes to momentum space using the

3

n

1 X 2πj n n

b†k = √ exp i k c†j , k = − + 1, · · · , . (8)

n j=1 n 2 2

can be implemented with a log-depth circuit and using

at most two-body quantum gates. This method is called

fast Fourier transform and consists in two parallel Fourier Figure 1: Quantum circuit that transforms computational

transformations over n/2 sites, the even and the odd sites basis states into transverse Ising eigenstates. The two qubit

[25]: gates (F1 )† and (F0 )† apply the inverse Fourier transform and

the (B1 )† with the inverse Bogoliubov transformation. Gates

n n

n−1 2 −1 2 −1 represented with crosses correspond with the fSWAP gates

2πik 2πik 2πik 2πik 0

c†j c†2j 0 e n/2 j c†2j 0 +1 .xxx

X X x

X

e n j = e n/2 +e n (9) that take care of the fermion anticommutation relations and

j=0 j 0 =0 j 0 =0

can be removed depending on the connectivity of the quantum

chip.

To implement such a transformation we need a combina-

tion of a two-qubit gate, a ‘beam-splitter’ F2 , and one-

qubit gate, the ‘phase-delay’ ωnk , which applies the so- This will be implemented by a two-qubit gate which acts

called twiddle-factor e2πik/n : over qubits that represent opposite momenta. For the

case of Ising model, this gate is

1 0 0 0

cos θ2k 0 0 i sin θ2k

0 √1 √1 0

2 2 k 1 0

F2 = , ωn = 2πik , (10) 0 1 0 0

0 √12 − √12 0

0 e n Bkn = ,

0 0 1 0

0 0 0 −1 i sin θ2k 0 0 cos θ2k

!

where the fermionic anticommutation relation has been n )

λ−cos( 2πk

taken into account in the −1 element of the F2 matrix. θk = arccos q 2

, (14)

(λ−cos( 2πk

n )) +sin ( n )

2 2πk

All together, the Fourier transform gate becomes

and its decomposition in basic gates is shown in the ap-

1 0 0 0 pendix.

2πik

0 √12 e √n2 0 Then, we have finally arrived to the diagonal Hamilto-

n

Fk = 2πik

. (11) nian:

1 e n

0 √2 − √2 0

2πik n/2

0 0 0 −e n

ωk a†k ak ,

X

H

e = Ha = (15)

The appendix shows the explicit decomposition of this k=−n/2+1

gate. q 2

2πk

+ sin2 2πk

After the Fourier transformation, the Hamiltonian be- where ωk = λ − cos n n .

comes

n/2

D. n = 4 spin chain

2πk

b†k bk

X

Hb = 2 λ − cos

n

k=−n/2+1 The explicit circuit for a n = 4 chain is shown in Figure

2πk † † 1. First, we prepare the initial state as the ground state

+i sin b−k bk + b−k bk , (12)

n for the diagonal Hamiltonian H: e

which it is not diagonal yet as modes with opposite mo- |0000i for λ > 1,

|gsi = (16)

mentum are still coupled. |0001i for λ < 1.

The circuit strategy consists in undoing the steps that

C. Bogoliubov transformation diagonalize the Ising Hamiltonian. Thus we first undo

Bogoliubov transformation by applying (Bkn )† gates, fol-

lowed by undoing the Fourier transform using the (Fkn )†

The last step will consist on finding a transformation

gates and finally undo the Jordan-Wigner transformation

which mix the two modes according to

which, fortunately, does not need from any gate as has

been explained in the previous section.

ak = uk bk + ivk c†−k ,

For n = 4, the Bogoliubov modes are ±3π/2 and

a†k = uk c†k − ivk c−k . (13) ±π/2, so we need two Bogoliubov gates. Notice that

4

ure 1; this gate corresponds with the identity for λ > 1

and exchange qubits in the same state for λ < 1, i.e.

|00i → −i|11i and |11i → −i|00i. As the initial state for

λ < 1 is the |0001i and (B0 )† is applied over the last two

qubits, it does not affect this state and we can avoid it.

If we want to obtain an excited state which eigenstate in

the diagonal basis contains |00i or |11i states, then we

should only apply bit flip gates over the last two qubits

to implement the (B0 )† gate.

The circuit shown in Figure 1 also contains fSWAP

gates represented with crosses. These will be necessary

if even and odd qubits are not physically connected and,

as much, they will increase the total number of gates in Figure 2: Magnetization of n = 4 Ising spin chain as a func-

n2 . We can eliminate them if the implementation is done tion of temperature β = 1/(kB T ) and transverse field λ. The

in the ibmqx5 device, which allow us to save up to 16 system undergoes a phase transition, from paramagnetic to

gates of depth according to IBM gate set, but they are ferromagnetic, as λ increases. For zero temperature (β → ∞)

indispensable for the implementation in the other IBM the transition point is located at λ = 1, whereas for finite

device, ibmqx4, as well as in Rigetti’s 19-qubit chip. temperature there is a quantum critical region around λ = 1.

e basis, which

III. TIME EVOLUTION †

using Udis become

†

Once we have the Udis circuit, we have access to the |ψ0 i = Udis |0000i = cos φ|0000i + i sin φ|1100i, (19)

whole Ising spectrum by only implementing this gate over √

the computational basis states. This allows us to perform with φ = arccos(λ/ 1 + λ2 )/2. Then, we apply the time

exactly time evolution, where the characterization of all evolution operator to obtain |ψ(t)i:

states is needed. √

2

The time evolution of a given state driven by a time- |ψ(t)i = cos φ|00i + ie4it 1+λ sin φ|11i ⊗ |00i. (20)

independent Hamiltonian is described using the time evo-

lution operator U (t) ≡ e−itH : Analytically,

√

X 1 + 2λ2 + cos 4t 1 + λ2

|ψ(t)i = U (t)|ψ0 i = e−iti |Ei ihEi |ψ0 i, (17) hσz i = , (21)

i 2 + 2λ2

from which we can obtain the expected value of magne-

where |ψ0 i is the initial state and i are the energies of the tization, M = 21 hσz i.

Hamiltonian states |Ei i. Then, if |ψ0 i is an eigenstate of

H there is no change in time (steady state) and therefore

the expected value of an observable O will be constant IV. THERMAL SIMULATION

in time. On the contrary, and if [H, O] 6= 0, the expected

value will show an oscillation in time given by

When a quantum system is exposed to a heat bath its

X density matrix at thermal equilibrium is characterized by

hO(t)i = e−it(i −j ) hψ0 |Ej ihEj |O|Ei ihEi |ψ0 i. (18) thermally distributed populations of its quantum states

i,j

following a Boltzmann distribution:

We can take advantage from the fact that the eigen- e−βH 1 X −βi

states of the non-interacting Hamiltonian H e are the com- ρ(β) = = e |Ei ihEi |, (22)

Z Z i

putational basis states and, as we have solved the model,

we also know all energies i . Then, it is straightforward where β = 1/(kB T ), Z = i e−βi is the partition func-

P

to construct the time evolution of a given state |ψ0 i by tion and i and |Ei i are the energies and eigenstates of

only expressing it in the computational basis and adding the Hamiltonian H. The expected value of some operator

the corresponding factors e−iti . After that, we only need O for finite temperature is computed as

to implement Udis gate over this state to obtain the time

evolution driven by the Ising Hamiltonian. 1 X −βi

hO(β)i = Tr[Oρ(β)] = e hEi |O|Ei i. (23)

As example, we compute the time evolution of the ex- Z i

pected value of magnetization. We take all spins aligned

in the positive z direction as initial state, i.e. | ↑↑↑↑i, Simulate thermal evolution according to Ising Hamil-

which in the computational basis is the |0000i state. tonian is, again, straightforward once we have Udis gate,

5

tively in their webpage (Quantum Composer )[2] or using

a software development kit (QISKit). Currently, three

quantum chips are available for the general public: two

of 5 qubits, ibmqx2 and ibmqx4, and one of 16 qubits, ib-

mqx5 [27]. When we performed the experiments ibmqx2

was offline, so we have only used ibmqx4 and ibmqx5.

All backends work with an universal gate set composed

by one-qubit rotational and phase gates

iλ !

√1 − e√2

Figure 3: IBM quantum chips used in this work. Up figure 1 0 2

corresponds to ibmqx4 and down figure to ibmqx5. Arrows U1 (λ) = , U2 (λ, φ) = eiφ ei(λ+φ) ,

0 eiλ √ √

indicate the directionality of CNOT gates (control Ý target). 2 2

iλ

cos(θ/2) −e sin(θ/2)

U3 (θ, λ, φ) = , (24)

eiφ sin(θ/2) ei(λ+φ) cos(θ/2)

since it consists on preparing the corresponding state in

the He basis and apply Udis circuit. In the case of thermal and a two-qubit gate, the controlled-X or CNOT gate.

evolution, |Ei i states are the states of the computational The differences between the devices, apart from the

basis, so no further gates are needed to initialize qubits number of qubits, come from the qubits connectivity or

apart from the corresponding combination of X gates. topology and the role that each qubit plays when applied

At that point, we can perform an exact simulation or a CNOT gate (control or target). Figure 3 shows the con-

sampling. In the first case, we run the circuit to obtain nectivity of the used devices. Each qubit in the 5-qubit

the expected value of the observable taking as initial state device is connected with other two except the central

all states in the computational basis and average them one which is connected with the other four. Qubits in

with their corresponding energies. This is done classically the 16-qubit device are connected with three neighbors

once we have the expected values of each state. in a ladder-type geometry. Both, the one-directionality of

On the other hand, we can perform a more realistic CNOT gate and the qubits connectivity, are crucial for

simulation by sampling all states according to Boltzmann the quantum circuit implementation. If the circuit de-

distribution. First, we need to prepare classically a ran- mands an interaction between qubits that are not physi-

dom generator that returns one of the computational cally connected, we should implement SWAP gates which

states following the distribution e−βi . Then, we run will increase our circuit depth and the probability of er-

the circuit many times and compute the expected value rors in our final result. Moreover, each time we need to

of the operator by preparing as initial state the one re- implement a CNOT gate using as a control qubit a physi-

turned by the generator each time. cal qubit which is actually a target, we have to invert the

The first method demands more runs of the experi- CNOT direction using Hadamard gates which, again, will

ment, N × 2n , needed for the computation of each ex- increase the circuit depth and the error probability.

pected value. No statistical errors come from the averag- For our propose, ibmqx5 is the best choice for the im-

ing part, as it is done classically. For the second method, plementation of the n = 4 circuit. We can use any of the

with only N runs we will obtain√ a value for the observable squares and identify upper qubits as 0 and 2 and lower

with a statistical error of 1/ N . qubits as 1 and 3: according to the circuit of Figure 1, we

For n = 4 the magnetization can be computed analyt- will not need to use any fSWAP gates. We should only

ically and it is shown in Figure 2. At zero temperature, take into account which qubits are control or target to

i.e. β → ∞, the system undergoes to phase transition, try to reduce the times that we have to invert the CNOT

from paramagnetic to ferromagnetic, at the correspond- direction.

ing critical point of λ = 1. As temperature increases

(β decreases), the system have a critical region around

λ = 1 until the temperature is high enough to disorder B. Rigetti Computing: Forest

all spins, independently of the transverse field strength

(limit β → 0) [26]. At the end of 2017, Rigetti Computing launched a 19-

qubit processor, ‘Acorn’, that can be used in the cloud

through a development environment called Forest [3]. It

V. IMPLEMENTATION ON A QUANTUM includes a python toolkit, pyQuil, that allows the users

COMPUTER to program, simulate and run quantum algorithms in a

similar way as IBM’s QISKit. The chip is made of of 20

A. IBM Quantum Experience superconducting transmon qubits but for some technical

reasons, qubit 3 is off-line and cannot interact with its

Since 2016, IBM is providing universal quantum com- neighbors, so it is treated as a 19-qubit device.

puter prototypes based on superconducting transmon Currently, Rigetti’s gate set is formed by three one-

6

the two-qubit connection ruled by a controlled-Z gate. For

technical reasons, qubit 3 is offline.

Figure 5: Expected value of hσz i of the ground state of a

n = 4 Ising spin chain as a function of transverse field strength

λ. Solid line represents the exact result in comparison with

qubit rotational gates the experimental simulations represented by scatter points.

The best simulation comes from ibmqx5 device, which is an

θ θ θ

RX (θ) = ei 2 σx , RY (θ) = e−i 2 σy , RZ (θ) = ei 2 σz , (25) expected result since the number of gates used is lesser than

with the other devices because qubits connectivity.

and a two-qubit gate, controlled-Z. This two-qubit gate

has the advantage of bi-directionality as the result is the

same independently of which is the control qubit. For

that reason, the connectivity of the device shown in Fig- look at the exact ground state wave function:

ure 4 does not specify the direction of the two-qubit gate.

The qubit topology is very different from IBM’s de-

α(|0001i−|0010i+|0100i−|1000i)

vices: some qubits are connected with three neighbors

+|0111i−|1011i+|1101i−|1110i for λ<1,

and others with two in a zigzag-type geometry. Then, 1

|gsi=

we can not do without the fSWAP gates, which means N

α(|0011i−|0110i+|1001i+|1100i)

that the circuit depth will be greater than the ibmqx5’s.

+2|1111> for λ>1,

On the other hand, it will be comparable with the ib-

√ √ √ (26)

mqx4, which also needs from these gates. 2

where α = λ − 1 + λ and N = 2 2 1 + λα. As λ

increases, the amplitude for the states proportional to α

goes to zero. That means that any error occurring for

VI. RESULTS AND DISCUSSION λ > 1 is dramatic as it will affect the state with higher

probability amplitude, the |1111i. Then, any error in

Figure 5 shows the results of the exact simulation of that regime will inevitably cause a decrease in magne-

ground state magnetization for the √ three devices. All tization. On the other hand, errors in some states for

points contain a statistical error of 1/ N with N = 1024 λ < 1 can be compensated in average for the other ele-

which comes from the average over all runs to compute ments with the same probability amplitude.

the expected value. The other error sources are discussed Similar results are obtained for the time evolution sim-

qualitatively in the following paragraphs. ulation. Figure 6 shows the results for the simulation of

The best performance come from the ibmqx5 device. the | ↑↑↑↑i state magnetization as it was explained in

This is an expected result as we do not need from fSWAP Section III. Since for the preparation of the initial state

gates because the qubits connectivity. On the other hand, it is necessary to implement more gates, we only show

Rigetti’s device performs better than the ibmqx4, even the results for the ibmqx5 device, which is the one that

though the number of gates is very similar. can afford this extra circuit depth.

The simulation approaches better to the prediction for As expected from the previous result, points that rep-

low λ. The explanation could come from how affect the resent higher magnetization have more error respect the

experimental error sources to the magnetization. As- theoretical values. However, it is remarkable that the re-

suming that two-qubit gates implementation take several lations among the different points for different values of

hundreds of ns and single qubit gates hundreds of ns, er- transverse magnetic field are proportionally correct. The

rors coming from decoherence are expected to be low, as oscillations take place for lower values of hσz i, have lower

these times are around 50 µs. On the other hand, errors amplitudes and are a little bit shifted to the left: even

coming from the gate implementation are cumulative and though, they cross each other at the corresponding points

probably the most important error source. It is not neg- and increase and decrease proportionally to the exact re-

ligible neither errors coming from qubits readout, which sult. That is a clear indicator that the error sources in

can induce a bit flip. the quantum device are systematic, as the result does not

The analysis of the results become more clear if we depend on the state preparation.

7

the fact that any error that can induce a qubit bit flip

will produce a decrease in magnetization, as can be traced

out from the ground state wave function of Eq.(26). How-

ever, and taking into account this fact, the time evolution

simulation is reasonably good since the expected oscilla-

tions for different transverse magnetic field strengths are

shifted to the left and have lower amplitude and magne-

tization, but are also proportional each other as are the

theoretical values.

As a final remark, this circuit is also interesting from

a point of view of condensed matter physics as specific

methods to simulate exactly time and thermal evolution

Figure 6: Time evolution simulation of magnetization, hσz i, are provided. This can open the possibility of simulate

for the state | ↑↑↑↑i of a n = 4 Ising spin chain. Left plot other interesting models: integrable, like Kitaev Hon-

compares the exact result with the experimental run in the eycomb model [19], or with an ansatz, like Heisenberg

ibmqx5 chip for different values of λ. Right plots detailed model.

the results for each λ to compare them with the theoretical

values. Although the magnetization is lesser than expected,

the oscillations follow the same theoretical pattern. Notes

The program used for this work for the IBM quantum

VII. CONCLUSIONS devices was awarded with the IBM “Teach Me QISKit”

award [28].

Recently, Rigetti computing changed the quantum de-

In this work we have implemented the exact simulation

vice to one of 8 qubits. The results shown in this work

of a one-dimensional Ising spin chain with transverse field

correspond to the previous device of 19 qubits.

in some quantum computers. To do so, we programmed

the algorithm proposed in Ref.[18] in IBM and Rigetti

quantum chips. We have simulated the expected value Acknowledgements

of ground state magnetization as well as the time evo-

lution of the state of all spins aligned. We have also

provided two methods to compute thermal evolution of We acknowledge use of the IBM Q experience for this

some operator using the same circuit: exact simulation work. The views expressed are those of the authors and

or sampling. do not reflect the official policy or position of IBM or the

The circuit presented allows to compute all eigenstates IBM Q experience team. We also acknowledge use of the

of the Ising Hamiltonian by just initializing the qubits in Rigetti computing device as well as the help and availabil-

one of the states of the computational basis. It is then ity of Rigetti staff. This work has been possible with the

a implementation of a Slater determinant with a quan- support of FIS2015-69167-C2-2-P and FIS2017-89860-P

tum computer. Since the one-dimensional Ising model (MINECO/AEI/FEDER,UE) grants. Finally, we would

is an exactly solvable model, which means that we can like to thank the discussions with Quantic group mem-

compute analytically all the states and energies for any bers, in particular with José Ignacio Latorre.

number of spins, and the circuit is efficient, the number

of gates scales as n2 and the circuit depth as n log n, it

Appendix: Gate decomposition

can represent a method to test quantum computing de-

vices of any size. As has been shown, it is also a hard

A. Fermionic-SWAP

test since this model is strongly correlated and both the

simulation of the phase transition surrounding and time

evolution require a high qubits control. The Jordan-Wigner transformation do not need from

The best performance has been obtained with the ib- any quantum gate, but as it transforms the spin operators

mqx5 chip, although the error respect to the theoreti- σ into fermionic modes c, any swap between qubits should

cal prediction is large in the ferromagnetic phase of the obey the fermionic anticommutation relations, i.e. the

model. A possible reason why this chip shows better re- exchange between two occupied modes carries a minus

sults than the others comes from the number of gates sign. This is represented with the use of fermionic SWAP

used in the quantum circuit, as the qubits connectivity gate (fSWAP), decomposed in basic gates in Figure 7.

in that device allows us to save all the fSWAP gates. From the point of view of IBM’s implementation, at

On the other hand, Rigetti’s chip performs better than least one CNOT should be inverted to fit the circuit to

the ibmqx4 chip, even though both implemented circuits the qubits connectivity; this can be easily done using

−−−−→ ←−−−−

have the same gate depth. the identity (H1 ⊗ H2 )CNOT(H1 ⊗ H2 ) = CNOT. In

The ferromagnetic phase is difficult to simulate due to addition, controlled-Z gate could be implemented using

8

Figure 7.

From Rigetti’s implementation point of view, Bogoliubov transformation is implemented using Bkn

controlled-Z gates are part of their basic gate set and, gates written in Eq. (14). The explicit decomposition

although CNOT gate and H are not, they are included is shown in Figure 10, where the controlled-RX gate

in pyquil language, so the quantum programmer should (shown in Figure 11 has been decomposed using the

not care about decompose them in terms of the other methods of Ref.[29]). Rotational gates are part of the

gates (except to keep in mind the circuit depth will basic Rigetti gate set and are equivalent to IBM’s gates

increase with the use of non-basic gates). RX ≡ U3 (φ = 0, λ = π), RY ≡ U3 (φ = λ = 0) and

RZ ≡ U1 .

× • • • •

•

× Z ≡ • H H

Bkn

≡ X • RX (θk ) • X

Figure 7: Fermionic SWAP gate.

gate needed is shown in Figure 11.

B. Fourier transform

• • •

The building blocks of Fourier transform gate are rep-

resented by the quantum gate of Eq.(11), which decom-

RX (θk ) ≡ A B C

position is shown in Figure 8. Its implementation re-

quires the controlled-Hadamard gate, decomposed in Fig-

ure 9. Phase gate Ph is included in Rigetti’s pyquil lan- Figure 11: Controlled-RX gate decomposition in terms

of

guage and it is equivalent to IBM’s U1 gate (see Eq. the rotational gates A = RZ π2 RY θ2 , B = RY − θ2 and

(24)). In particular, Ph(π/2) and Ph(π/4) correspond C = RZ − π2 .

to S and T gates respectively.

2πk

Ph n

• H • •

D. Initial state preparation

Fkn

≡ • Z The ground state of the n = 4 Ising model in the di-

agonal basis is |0000i for λ > 1 and |0001i for λ < 1.

Qubits are always initialized in the |0i state both in IBM

Figure 8: Decomposition of the building block of Fourier

transform gate. The controlled-Hadamard gate is shown in

and Rigetti devices. Then, to compute the ground state,

Figure 9. we only need to perform a bit-flip gate (Pauli-X or X

gate), on fourth qubit to initialize the circuit for λ < 1.

The example given for time evolution simulation re-

• • quires from the preparation as the initial state the one

shown in Eq.(20). This can be done by applying a RY (φ)

≡ gate on the first qubit to introduce the φ angle, fol-

H S† H T† T H S

lowed√

by a phase gate to introduce the evolution phase

4it 1+λ2

e and a CNOT gate between first and second

Figure 9: Controlled-Hadamard gate. qubits.

[1] D. P. DiVincenzo, Fortschritte der Physik 48, 771 (2000). [5] Y. Wang, Y. Li, Z. Yin and B. Zeng, arXiv:1801.03782

[2] IBM Quantum Experience, https://www.research. [quant-ph] (2018).

ibm.com/ibm-q/. [6] J. S. Devitt, Phys. Rev. A 94, 032329 (2016).

[3] R. Smith, M. J. Curtis and W. J. Zeng, arXiv:1608.03355 [7] R. P. Feynman, Int. J. Theor. Phys. 21, 467 (1982).

[quant-ph] (2016). [8] M. H. Kalos, Phys. Rev. 128, 1791 (1962).

[4] D. Alsina and J. I. Latorre, Phys. Rev. A 94, 012314 [9] B.L. Hammond, W. A. Lester Jr. and P.J. Reynolds,

(2016). MonteCarlo Methods in Ab Initio Quantum Chemistry,

9

World Scientific, Singapore (1994). [21] V. Murg, V. E. Korepin and F. Verstraete, Phys. Rev. B

[10] N. S. Blunt, T. W. Rogers, J. S. Spencer, and W. M. C. 86, 045125 (2012).

Foulkes, Phys. Rev. B 89, 245124 (2014). [22] E. Lieb, T. Schultz and D. Mattis, Ann. Phys. 16, 407

[11] R. Orús, Ann. Phys. 349, 117 (2014). (1961).

[12] G. Vidal, Phys. Rev. Lett. 91, 147902 (2003). [23] S. Katsura, Phys. Rev. 127, 1508 (1962).

[13] G. Ortiz, J. E. Gubernatis, E. Knill, and R. Laflamme, [24] P. Jordan and E. Wigner, Z. Phys. 47, 631 (1928).

Phys. Rev. A 64, 022319 (2001). [25] A. J. Ferris, Phys. Rev. Lett. 113, 010401 (2014).

[14] D. Wecker, M. B. Hastings, N. Wiebe, B. K. Clark, C. [26] S. Sachdev, Quantum Phase Transitions, Cambridge Uni-

Nayak and M. Troyer, Phys. Rev. A 92, 062318 (2015). versity Press, Cambridge (1999).

[15] Z. Jiang, K. J. Sung, K. Kechedzhi, V. N. Smelyanskiy [27] Device specifications: https://github.com/Qiskit/

S. Boixo, Phys. Rev. Appl. 9, 044036 (2018). qiskit-backend-information/tree/master/backends.

[16] B. Kraus, Phys. Rev. Lett. 107, 250503 (2011). [28] Official announce of IBM “Teach Me QISKit” award

[17] M. Hebenstreit, D. Alsina, J. I. Latorre and B. Kraus, winnerhttps://www.ibm.com/blogs/research/2018/

Phys. Rev. A 95, 052339 (2017). 06/teach-qiskit-winner/.

[18] F. Verstraete, J. I. Cirac and J. I. Latorre, Phys. Rev. A [29] A. Barenco, C. H. Bennett, R. Cleve, D. P. DiVincenzo,

79, 032316 (2008). N. Margolus, P. Shor, T. Sleator, J. Smolin and H. We-

[19] P. Schmoll and R. Orús, Phys. Rev. B 95, 045112 (2017). infurter, Phys. Rev. A 52 3457 (1995).

[20] H. Bethe, Z. Phys. 71, 205 (1931).

- John D. Barrow, Paul C. W. Davies, Charles L. Harper, Jr-Science and Ultimate Reality_ Quantum Theory, Cosmology, And Complexity-Cambridge University Press (2004)Diunggah olehcenkj
- Quantum Computing Fact SheetDiunggah olehEverett Miller
- Quantum Mechanics Final Exam 2003Diunggah olehMatt
- HW1-6 - Phonon Interacting With Localized eDiunggah olehBradley Nartowt
- Quantum HealthDiunggah olehAB
- Solid State ElectronicsDiunggah olehDaniel Deng Monyde
- Introduction of PhysicsDiunggah olehSyed Mairaj Ul Haq
- Yong Li, C. Bruder and C. P. Sun- Generalized Stern-Gerlach Effect for Chiral MoleculesDiunggah olehCvgdnnny
- Kaufmann on Evolution and LawsDiunggah olehYours Truly
- Me m ComputingDiunggah olehBuscandoAprender
- kuantum1_week2_ OK-1.pdfDiunggah olehAfni
- Quantum PhysicsDiunggah olehMax Vanausdall
- A. Shayesteh et al- Fourier transform infrared emission spectra of MgH and MgDDiunggah olehLupaess
- STIP AddendumDiunggah olehVernon Nielsen
- ENTANGLEMENT OF FORMATION AND CONCURRENCE.pdfDiunggah olehDaniel Orsini
- spdeDiunggah olehIam Victor
- Rovel Li Paper 3182013Diunggah olehClint Armstrong
- Tight density functional theory PhD thesisDiunggah olehNg Wei Jiang
- H. Pu, S. Raghavan and N.P. Bigelow- Manipulating spinor condensates with magnetic fields: Stochastization, metastability, and dynamical spin localizationDiunggah olehPomac232
- Documentation Fluent- Population Balance ModellingDiunggah olehhysultakir
- Giacomo Mauro D’Ariano, Giulio Chiribella, Paolo Perinotti - Quantum Theory from First Principles_ An Informational Approach-Cambridge University Press (2017)Diunggah olehJailton Lira
- 9783319554914-c2Diunggah olehkrishnan112
- 01Diunggah olehGagan Jain
- Introduction to Consistent Quantum TheoryDiunggah olehKrishan Rajaratnam
- UVVis Spektra Senyawa KompleksDiunggah olehLily_bekty
- S. Zohren- Analytic Results in 2D Causal Dynamical Triangulations: A ReviewDiunggah olehCoy668
- 1701.05373Diunggah olehCroco Ali
- humane discussion.pdfDiunggah olehmasoha
- student_solutions_ch09.pdfDiunggah olehSergio Magalhaes Ferreira
- The Heisenberg Uncertainty Principle Final 2014Diunggah olehAsad Choudary

- Construction Technology series FoundationDiunggah olehgbola
- A Perturbation Method to Estimate Building Thermal PerformanceDiunggah olehYork Zeng
- The Abel Prize 2013-2017.pdfDiunggah olehYork Zeng
- Improved Prediction of Long-term Prestress Loss in Unbonded Prestressed Concrete MembersDiunggah olehYork Zeng
- DHAINAUT-1997-Communications_in_Numerical_Methods_in_Engineering.pdfDiunggah olehYork Zeng
- Radiance An Drew MarshDiunggah olehFelipe Victorero Castano
- A Comparison of Frame Stability Analysis Methods in AISC 360-05.pdfDiunggah olehYork Zeng
- RISA - Direct Analysis Method for AISC 13th Edition.pdfDiunggah olehYork Zeng
- Inhabit Workshops - Galvanized Steel.pdfDiunggah olehYork Zeng
- Second-order Design Example.pdfDiunggah olehYork Zeng
- BEPAC Acoustic Library Classification System.pdfDiunggah olehYork Zeng
- Structural Analysis Lecture Notes.pdfDiunggah olehYork Zeng
- Memory effects in quantum metrology.pdfDiunggah olehYork Zeng
- CC-565 Hung Cheung Road 20190310b.pdfDiunggah olehYork Zeng
- Eileen IntroductionDiunggah olehYork Zeng
- Part 1Diunggah olehYork Zeng
- IndexDiunggah olehArmando Farías
- Testing Primordial Black Holes as Dark Matter Through LISADiunggah olehYork Zeng
- Eccentricity is Not Responsible for Odd Harmonics in HAT-P-7 and Kepler-13ADiunggah olehYork Zeng
- Top mass measurements in ATLAS and CMS.pdfDiunggah olehYork Zeng
- The China Jinping Underground Laboratory and Its Early ScienceDiunggah olehYork Zeng
- BasementDiunggah olehYork Zeng
- Multisorted Modules and Their Model TheoryDiunggah olehYork Zeng
- Kernels, Truth and SatisfactionDiunggah olehYork Zeng
- Interpolation in Extensions of First-Order LogicDiunggah olehYork Zeng
- A Model-Theoretic Approach to Rigidity of Strongly ErgodicDiunggah olehYork Zeng
- A Comparison of Minimal Systems for Constructive AnalysisDiunggah olehYork Zeng
- Representing Model Ensembles as Boolean FunctionsDiunggah olehYork Zeng
- Identity Types in Algebraic Model Structures and Cubical SetsDiunggah olehYork Zeng

- AB - Cube Vigilance Software SolutionsDiunggah olehKumar Kumar
- javaDiunggah olehMargilArapi
- Company Profile HITACHI - CopyDiunggah olehabapth
- Fault Location Using AnnDiunggah olehPiyush Tekale
- Chapter 14Diunggah olehTẤN LỘC Louis
- Balloon.manual (1).pdfDiunggah olehJose Gonzalez
- etluniprogDiunggah olehsugemipula
- TextDiunggah olehBetox94zx
- Modelling and Management of Cyber RiskDiunggah olehHilma Hasyimy
- SoftPerfect-RAM Disk User ManualDiunggah olehSalvatore Bonaffino
- Event DocDiunggah olehnithin raj
- Win95 in DosboxDiunggah olehjfy14152
- Kentico CMS for Dot Net GroupsDiunggah olehamen
- How to Hack Whatsapp Account 2017Diunggah olehDeyler Iglesias
- Crystal Ball Installation Guide.pdfDiunggah olehLibyaFlower
- msp430f4152Diunggah olehBùi Nam Giang
- Accenture Project Plan TemplateDiunggah olehdimi
- Jobswire.com Resume of rtm333Diunggah olehapi-24826925
- SeguridadDiunggah olehHolger Chamba
- Unity3D Multiplayer TutorialDiunggah olehJuan Sebastian Alvarez
- l Printer Tool v 1.80 InstructionsDiunggah olehereslomaximo2014
- BSBSUS501_AssessmentTask3Diunggah olehSylvain Pgt
- Penggalian IdeDiunggah olehRinny Retnoningsih
- Role of Information Technology in Agriculture and Its Scope in IndiaDiunggah olehDurga Saran T
- forensic identification computedDiunggah olehAisyah Rieskiu
- Assignment OSDiunggah olehMalikFaisal
- sh66p12-sinowealthDiunggah olehapi-432313169
- Www.sefindia.org __ View Topic - Post That Appeared in General DiscussionDiunggah olehkilmaster
- Efficient Model-based Fuzz Testing UsingDiunggah olehmarisa.yuste08
- JMUX Reference Manual Issue 4.0Diunggah olehgradeli

## Lebih dari sekadar dokumen.

Temukan segala yang ditawarkan Scribd, termasuk buku dan buku audio dari penerbit-penerbit terkemuka.

Batalkan kapan saja.