You are on page 1of 12

Digital-Analog Quantum Computation

Adrian Parra-Rodriguez,1 Pavel Lougovski,2 Lucas Lamata,1, 3 Enrique Solano,1, 4, 5 and Mikel Sanz1, ∗
1
Department of Physical Chemistry, University of the Basque Country UPV/EHU, Apartado 644, E-48080 Bilbao, Spain
2
Quantum Information Science Group, Oak Ridge National Laboratory, Oak Ridge, Tennessee 37831, USA
3
Departamento de Fı́sica Atómica, Molecular y Nuclear, Universidad de Sevilla, 41080 Sevilla, Spain
4
IKERBASQUE, Basque Foundation for Science, Maria Diaz de Haro 3, 48013 Bilbao, Spain
5
International Center of Quantum Artificial Intelligence for Science and Technology (QuArtist)
and Physics Department, Shanghai University, 200444 Shanghai, China
Digital quantum computing paradigm offers highly-desirable features such as universality, scalability, and
quantum error correction. However, physical resource requirements to implement useful error-corrected quan-
tum algorithms are prohibitive in the current era of NISQ devices. As an alternative path to performing universal
quantum computation, within the NISQ era limitations, we propose to merge digital single-qubit operations with
analog multi-qubit entangling blocks in an approach we call digital-analog quantum computing (DAQC). Along
arXiv:1812.03637v2 [quant-ph] 16 Jul 2020

these lines, although the techniques may be extended to any resource, we propose to use unitaries generated
by the ubiquitous Ising Hamiltonian for the analog entangling block and we prove its universal character. We
construct explicit DAQC protocols for efficient simulations of arbitrary inhomogeneous Ising, two-body, and
M -body spin Hamiltonian dynamics by means of single-qubit gates and a fixed homogeneous Ising Hamilto-
nian. Additionally, we compare a sequential approach where the interactions are switched on and off (step-
wise DAQC) with an always-on multi-qubit interaction interspersed by fast single-qubit pulses (banged DAQC).
Finally, we perform numerical tests comparing purely digital schemes with DAQC protocols, showing a re-
markably better performance of the latter. The proposed DAQC approach combines the robustness of analog
quantum computing with the flexibility of digital methods.

I. INTRODUCTION of classical computers. This approach is called digital quan-


tum computation (DQC) [11, 12], based on an algorithmic se-
Quantum information science has flourished in recent years quence of one-qubit and two-qubit gates [6]. However, a prac-
as a new paradigm promising to outperform certain classi- tical universal digital quantum computer is considered to be so
cal tasks such as computation, simulations, and communi- resource-consuming that the implementation of useful appli-
cations among others. More specifically, quantum comput- cations may be shifted decades into the future. It has been sug-
ers (QC) [1–3] are believed to be faster than their classi- gested that quantum control techniques [13, 14] can be used
cal counterparts in factoring prime numbers [4], or searching to improve the fidelity of the quantum gates. However, they
databases [5]. From a theoretical computer science point of require classical optimization algorithms, which are by them-
view, a universal quantum computer can run any algorithm selves hard problems to solve [15, 16]. Furthermore, they do
processable by a quantum Turing machine [6], in other words, not consider all possible errors in the system [17] yet. In this
it can implement an arbitrary unitary evolution. In physi- context, the ability of quantum systems to solve problems be-
cal terms, an ideal universal quantum computer can imple- yond the reach of any current classical computer is known as
ment an arbitrary Hamiltonian acting on an infinite Hilbert quantum supremacy [18, 19]. This has been proposed for var-
space. However, a realistic quantum computer comprises a fi- ious artisanal problems, such as boson sampling [20, 21] and
nite number of resources, and hence can only perform unitary quantum speckle [22, 23], but still not achieved.
operations within certain constraints. The simplest approach to perform quantum simulations is
The complexity of classical simulations of many-body the use of a controllable quantum system whose effective dy-
quantum systems typically grows exponentially with the di- namics is similar to the one of the desired model. Such single-
mension of the system. This was first recognized by Richard purpose devices are called analog quantum simulators (AQS).
Feynman in a seminal paper from 1982 [3], in which he pro- In this sense, there are many proposals ranging from the quan-
posed as an efficient solution the simulation of these problems tum Rabi model [24–27] and Casimir physics [28–30], to
employing another fully-controllable quantum system with a Jaynes-Cummings and Rabi lattices [31–34]. In 1996 [35],
similar encoded dynamics [7]. This was the origin of what is Lloyd proved with the help of the Suzuki–Trotter decomposi-
now called analog quantum computing (AQC). Later, with the tion [36] that digital quantum simulators (DQS), whose evo-
emergence of the first quantum algorithms offering speedups lutions are decomposed in a universal set of quantum gates
over their classical counterparts [4, 5], quantum computing acting on a register of qubits, can simulate efficiently any
became the most promising application of quantum mechan- quantum system. Innovative experiments were performed in
ics and information. The discovery of universal sets of quan- those lines in superconducting circuits [37–40] and ion traps
tum gates and quantum error correction [8–10] provided a [41, 42]. An alternative paradigm to do quantum simulations,
clear roadmap towards a scalable QC mimicking the history called digital-analog quantum simulations (DAQS), makes
use of both digital and analog blocks in order to exploit their
intrinsic versatility and complexity [43–50].
∗ mikel.sanz@ehu.es Here, we propose the concept of digital-analog quantum
2

computation (DAQC) as a method to reduce the number of Let us remark that, differently to the analog block, the en-
gates needed to perform quantum algorithms, in the cur- tanglement generated by the digital block is the same for all
rent spirit of near-term intermediate-scale quantum computa- values of the parameters. We call a quantum protocol a digital
tion (NISQ). The DAQC paradigm requires the implementa- quantum algorithm, when it makes use only of digital blocks
tion of entangling multipartite evolutions and fast single-qubit (usually with a small number of quantum gates), whereas an
gates. Earlier efforts have already proven the universality of analog quantum algorithm consists on a single analog block
such schemes [51–54], extending the ideas triggered by Lloyd for different values of the parameters. Naturally, a digital-
[35]. In our DAQC approach, we propose a sequence of en- analog protocol contains both digital and analog blocks. In
tangling time slices, called analog blocks, and fast single- this paper, we will constrain the digital blocks to arbitrary sin-
qubit rotations (SQRs), which belong to our class of digital gle qubit rotations,
h such that ouri total evolution can be written
steps. Moreover, we develop constructive protocols for sim- Q  ~ j ) N W (j) (~
as j Uj (φ i i α ji ) .
ulating arbitrary inhomogeneous two-body and M -body spin
Hamiltonians. An important source of errors when perform- For the sake of clarity, Reference [50] and references
ing quantum algorithms appears by turning on and off inter- thereof which use the terminology digital-analog quantum
acting Hamiltonians. In order to mitigate these errors, we in- simulations are, based on the aforementioned definitions,
troduce the concept of banged digital-analog quantum com- purely digital protocols employing multi-qubit fixed-phase
puting (bDAQC) to improve the stepwise DAQC (sDAQC). In gates, e.g., Mölmer-Sörensen gates.
this manner, the proposed algorithms do not require to halt and
activate the analog blocks, while the only required pulses are
single-qubit gates. Furthermore, we perform numerical stud- III. DIGITAL-ANALOG QUANTUM COMPUTATION
ies of ideal and realistic multi-qubit models supporting our
theoretical results.
As it was elegantly proven in Ref. [51], almost any two-
body Hamiltonian is universal. In this Article, we will fo-
cus on two paradigmatic models, ubiquitous in quantum plat-
II. ANALOG, DIGITAL, AND DIGITAL-ANALOG
forms, to exemplify the DAQC paradigm, but it could be
QUANTUM COMPUTING
straightforwardly extended to other specific situations. We
will employ as analog blocks either a homogeneous nearest-
The concepts of digital and analog quantum computing are neighbor or a homogeneous all-to-all two-body Ising Hamil-
broadly used in an informal manner but, to the best of our tonian. Using one of these evolutions, together with single-
knowledge, they lack of a broadly-accepted formal definition, qubit rotations, we constructively prove their universality, i.e.,
allowing for a classification of algorithms. As the main aim any unitary can be arbitrarily close simulated employing these
of this manuscript is to describe the DAQC paradigm, proper resources. We show the protocols, sometimes optimal, to gen-
definitions are of crucial importance. Let us start by introduc- erate increasingly complex families of Hamiltonians with rel-
ing the concepts of quantum gates, digital and analog blocks evance in several fields. The roadmap towards this complex-
on N -qubit systems. ity comprises the protocols to generate: (i) arbitrary inhomo-
geneous two-body Ising Hamiltonians, (ii) an inhomogeneous
Definition (Quantum gate). A quantum gate is a fixed unitary
two-body Hamiltonian, for which the non-commutation of the
evolution Un , Un ∈ B((C2 )⊗n ).
terms requires to superimpose Trotterization to the algorithm,
Definition (Digital block). A k-parametric continuous family and (iii) an arbitrary M -body Hamiltonian, with polynomial
~ with φl ∈ Il (R) and 1 ≤ l ≤ k,
of unitary operators Un (φ), number of resources in the number of spins for fixed M . Fi-
comprises a digital block if it is equivalent to a fixed uni- nally, we perform several numerical simulations to check the
~ advantages in fidelity and time of DAQC with respect to DQC.
N Un up to
tary evolution  a set of local rotations Wi (φ), i.e., Our DAQC algorithms consider three basic ingredients that
~ n ~
Un (φ) = iWi (φ) Un . were also required in Ref. [51]. Firstly, we need to ex-
actly evolve for a time t with a Hamiltonian H, such that
See, that both parameter-fixed entangling quantum gates combined with local rotations we have an evolution with
and single qubit rotations with arbitrary angle are digital H 0 = RHR† . We will later consider the effect of limited
blocks. precision in the physical implementation of engineered times.
Secondly, we must do a Trotter decomposition e−itH =
Definition (Analog block). We call analog block a k-
~ (e−iH1 t/nT e−iH2 t/nT )nT + O(t2 /nT ) in order to simulate
parameter-dependent entangling unitary evolutions Vn (φ) Hamiltonians H = H1 + H2 with non-commuting terms, i.e.,
~ ~ ~ ~
with a semigroup structure Vn (φ) = Vn (φ1 )Vn (φ2 ); φ = [H1 , H2 ] 6= 0. The error introduced through this approxima-
~1 + φ
φ ~ 2 . For k = 0, it obviously becomes a quantum gate. tion is of second order in the time error ∆t. We consider fur-
π 1 2
ther improved decompositions like the symmetrized Trotter
Under these definitions, for instance, Un =2 ei 4 σzi σzj is a decomposition, which reduces the error to O(∆t)3 . Finally,
iφ1 σz1 π
quantum gate, both Un (φ) = (e ⊗ eiφ2 σz )ei 4 σz σz and given that we can evolve with Hamiltonian H we can con-
1 i j
Wi (φ) = eiφσz are digital blocks, and Vn (φ) = eiφσz σz is an trol the time parameter to evolve with λH, where λ > 0 is a
analog block. continuous positive parameter.
3

A. Ising Model as depicted in Fig. 1. Engineering the Hamiltonian reduces


the problem of finding the time durations tnm of the analog
Let us start illustrating the problem with the implementa- block evolutions to a matrix-inversion problem. By vectoriz-
tion of the inhomogeneous all-to-all (ATA) two-body Ising ing the pairs of indices (n, m) → α = N (n − 1) − n(n +
model described with Hamiltonian HZZ =
PN j k 1)/2 + m and (j, k) → β = N (j − 1) − j(j + 1)/2 + k and
j<k gij σz σz .
We use as the elementary analog block the unitary evolution write the signs matrix
Uzz (t) = eiHzz t of the homogeneous ATA two-body Ising Mαβ = (−1)δnj +δnk +δmj +δmk , (3)
model whose Hamiltonian reads h i
β
N where the inverted relations are j = 1 + N and k = β +
X
σzj σzk ,
 h i  h i h i
Hzz = g (1) 1 β β β
α
2 1+ N 2 + N − N N and n = 1 + N ,m=
j<k 1
 α   α  α
α+ 2 1+ N 2+ N −N N .
with independent time parameter t and a fixed coupling The matrix Mαβ has three degenerate eigenvalues, namely,
strength g. We set ~ = 1 in the whole article. The only digital λ1 = N (N − 9)/2 + 8, λ2 = 2(4 − N ) and λ3 = 4 with
blocks employed are single qubit rotations around the x-axis degeneracies 1, N − 1, and N (N − 1)/2 − N , respectively.
with the continuous range of phases θ ∈ [0, 2π]. The protocol Consequently, it is a non-singular matrix ∀N ∈ Z − {4}. The
can be straightforwardly modified to use as an analog block corner case N = 4 requires the use of a slightly modified set
a general fixed inhomogeneous evolution with Hamiltonian of SQRs, e.g., single σx -rotations per site is sufficient for a
PN
H̄ZZ = j<k ḡjk σzj σzk . Such Hamiltonians naturally appear NN Hamiltonian. The total unitary evolution is UZZ (tF ) =
P β
in various quantum platforms, e.g., the coupling parameters eitF β HZZ where
scale typically as ḡjk ∝ 1/|j−k|α , with 0 < α < 3 in ion-trap β
setups [69]. In effective Hamiltonian models, in which qubits HZZ = gβ σzj(β) σzk(β) , (4)
are coupled through linear multi-mode systems [56, 57], more and gβ = tα Mαβ (g/tF ). An example of elements tα Mαβ
complex coupling distributions naturally emerge and could
also be tuned or designed [58, 59]. A different decomposi- β → (j, k)
1→ σz1 σz2 2→ σz1 σz3 3→ σz2 σz3
tion into most entangling Hamiltonians and single qubit gates α → (n, m)
has been proven to be a universal quantum machine by Dodd SQRs 1→ σx1 σx2 t1 −t1 −t1
et al. in Ref. [51]. The Ising Hamiltonian is an example SQRs 2→ σx1 σx3 −t2 t2 −t2
of a universal Hamiltonian under the digital-analog paradigm, SQRs 3→ σx2 σx3 −t3 −t3 t3
since it allows us to construct a universal ZZ gate [60] between
any two arbitrary qubits, see Appendix B. The target Hamilto- TABLE I. Matrix elements of tα Mαβ coupling sign constants for
the N = 3 qubits case. By performing three pairs of single qubit ro-
tations sandwiching the interaction base Hamiltonian (1), we derive
t1 t2
independent equations for all coupling terms gjk in the simulated
X1 X1 X1 X1 Hamiltonian (2).

X2 X2
UZZ = H̄ZZ H̄ZZ is shown in Table I for a three-qubit case. Solving the linear
X3 X3 problem, we find the times tα = M−1 αβ gβ (tF /g) required for
each analog block to evolve interleaved by the pairs of single
qubit rotations, as shown in Fig. 1. As the matrix Mαβ is in-
vertible, Rouché-Frobenius theorem ensures that the solution
FIG. 1. Algorithm to simulate the general inhomogeneous Ising is unique. It is noteworthy to notice that some of the times tα
model from a fixed one. Each time step evolution tα is sandwiched might be negative. This means that those analog evolutions
by a pair of single qubit gates (X i ≡ σxi ) applied to qubits (n, m),
should be done with inverted coupling signs. However, there
with α(n, m). Optimal sequences of SQRs can be used to simplify
the number of pulses.
is actually a simple method to address this problem consisting
in evolving with times t̃α = tα + |tmin | (see Appendix A for
further details).
nian evolves
P according to the unitary UZZ = eitF HZZ , where
j k To sum up, in this section, we have designed an optimal
HZZ = j<k gjk σz σz and tF the final time. The task con-
DAQC protocol to construct an arbitrary inhomogeneous ATA
sists on finding a mapping between gjk tF and gtnm by slicing
two-body Ising Hamiltonian using as a resource an homoge-
the homogeneous time evolution into (at most) N (N − 1)/2
neous ATA two-body Ising Hamiltonian and x-rotations. This
analog blocks of different time lengths tnm , sandwiched by
protocol, which is quadratic in the total number of qubits, is
local rotations σxn σxm ,
optimal for a generic Hamiltonian, since it makes use of the
N N N same number of resources as degrees of freedom the Hamil-
X g XX
HZZ = gjk σzj σzk = tnm σxn σxm σzj σzk σxn σxm tonian has. For the case of NN Hamiltonian, the protocol is
tF
j<k n<m
j<k even simpler, and requires only N − 1 SQRs, i.e., one per
N N site. These two protocols show, as a by-product, that the Ising
g X X
= tnm (−1)δnj +δnk +δmj +δmk σzj σzk , (2) model is universal, since it can be used to construct a ZZ gate
tF between two arbitrary qubits.
j<k n<m
4

B. XZ model To sum up, in this section, we have proposed a protocol


to construct an arbitrary two-body Hamiltonian by exploiting
As the Ising model is a universal Hamiltonian within the the freedom in the phases of the SQRs and the Trotterization
DAQC paradigm, we can simulate any other Hamiltonian evo- technique. This protocol requires 4N (N − 1) (4(N − 1))
lution. In order to do it in a systematic manner, we will make analog blocks per Trotter step for the ATA (NN) XZ model in
use of a Trotter decomposition on top of the previous algo- total, which is optimal for a generic two-body Hamiltonian in
rithm [35]. We illustrate this idea by explicitly constructing terms of the free coefficients to fix. Similarly, it can be proven
an inhomogeneous general two-body XZ Hamiltonian. that a trivial extension to the general two-body XY Z model
The unitary that we want to simulate is UXZ = eitF HXZ , requires more angles per rotation summing up to 9N (N − 1)
with HXZ =
PN P µν j k (9(N − 1)) blocks per Trotter step for the ATA (NN) model.
j<k µ,ν={x,z} gjk σµ σν . We firstly per-
t
i nF HXZ nT
form a Trotter decomposition UXZ ≈ (e T ) , with Rθ(1) Rθ(1) Rθ(4) Rθ(4) nT
nT the number of Trotter steps,

HXZ =
N X
X µν j k
gjk σµ σν =
N X
X (s) (µ,s) (ν,s)
gjk αj αk σµj σνk
UXZ ≈
( HZZ (g1 ) HZZ (g4 )
(
j<k µ,ν j<k µ,ν,s
N X
4 FIG. 2. Algorithm to simulate the inhomogeneous XZ model
 
X (s) (s) (s) from a Ising model. The combination of four different general Ising
= gjk cos(θj )σzj + sin(θj )σxj ×
evolutions and rotations handles the minimum degrees of freedom for
j<k s=1 µν
  each term gjk . Rθ(s) rotations can be combined with inner σxn σxm
(s) (s) rotations required to implement the inhomogeneous ZZ Ising model
cos(θk )σzk + sin(θk )σxk , (5)
into unique blocks of SQRs.
with s running from {1, . . . , 4}, which are the number of
combinations of the two types of couplings (for instance,
for the XYZ Hamiltonian, it would run from 1 to 9). The
(x,s) (s) C. M-body Hamiltonian
implicit definition of parameters is αj = sin(θj ) and
(z,s) (s)
αj = cos(θj ). We decompose the pairs of operators with
j k
With similar techniques, we can systematically construct
 homogeneous σz σz operators with local
their coefficients in the evolution of a completely general Hamiltonian with up
(s) (s)
rotations Rθ(s) = cos(θj /2)σz + sin(θj /2)σxj ,
j to M -body interactions. For the sake of clarity, we sketch
j
here the sequence of steps to simulate an arbitrary 4-body
NN Hamiltonian, explaining how to generalize it to M -body
 
(s) (s)
Rθ(s) σzj Rθ(s) = cos(θj )σzj + sin(θj )σxj ,
j j Hamiltonians in the end of the work. We have chosen M = 4
to illustrate the protocol, since it is a case of especial interest
for all pairs of qubits. This
 rotation is produced by the Hamil-
 in quantum chemistry and nuclear physics,
tonian Hθ(s) = (π/2) −1 + cos(θj )σzj + sin(θj )σxj .
(s) (s)
X χη X χηγ
g(2,j) σχj σηj+1 + g(3,j) σχj σηj+1 σγj+2
j
H4b =
We have to perform the SQRs in all qubits Rθ(s) = ⊗N
w Rθ w
(s) .
jχη jχηγ
The total Hamiltonian is reconstructed as
χηγρ j j+1 j+2 j+3
X
+ g(4,j) σχ ση σγ σρ , (8)
4  
(s) jχηγρ
Rθ†(s) .
X
HXZ = Rθ(s) gjk σzj σzk (6)
s=1 where the indices run over {χ, η, γ, ρ} ∈ {x, y, z} and j ∈
{1, ..., N }. In the first stage, an inhomogeneous ZZ-Ising
This equality is only valid in the Hamiltonian and not in the to-
Hamiltonian is sandwitched between rotated XX-Ising evo-
tal unitary evolution. In each Trotter time step tT = (tF /nT )
(s) (s) lutions and their conjugate transposes,
we must evolve according to HZZ = gjk σzj σzk between a pair
1(k) 1(k)
of sets of SQRs Rθ(s) H1
(k)
= e−iOXX HZZ eiOXX ,
1(k)
(9)
4
!nT (k) 2(k)
2(k) 2(k)
−iOXX
Y t
i nT (HZZ )(s) H2 =e HZZ eiOXX , (10)
UXZ ≈ Rθ(s) e T Rθ(s) . (7)
1(k) (k) (k) (k)
s=1 with OXX = Φ1 σx1 σx2 + Φ3 σx3 σx4 + Φ5 σx5 σx6 + ... and
2(k) (k) (k)
The problem is reduced to find a set of phases θw such
(s) its translationally shifted OXX = Φ2 σx2 σx3 + Φ4 σx4 σx5 +
µν (s) (µ,s) (ν,s) (k)
that the system of equations gjk = gjk αj αk has in- Φ6 σx6 σx7 + ... are built from evolutions of ZZ-Ising mod-
dependent solutions. A specific set of phases which ade- els rotated with single qubit gates in all qubits R =
(s) sπw
quately plays this role is θw = 2(w+1) , with distance be- ⊗j cos(π/4)σzj + sin(π/4)σxj . We would like to remark
1(k) 2(k)
tween two nearest-neighbour qubit phases scaling polynomi- that operators OXX and OXX contain interactions separated
sπ 1(k)
ally d(s, w) = 2(w2 +3w+2) . See Appendix C for further de- by the interaction length L = M/2 = 2, e.g., OXX has a
1 2 2 3
tails. term σx σx , but not σx σx . In order to simulate, for example, a
5

three-body (five-body) Hamiltonian, we would need a differ- tum gates. In the interest of reducing its effect, we intro-
ent decomposition with 3 (5) translationally invariant sets of duce the concept of banged digital-analog quantum comput-
blocks (see further details in Appendix D). ing (bDAQC) as a different way to perform quantum algo-
(k) rithms, in opposition to the stepwise digital-analog quantum
It is straightforward to see that Hamiltonian H1 contains
all two-body and three-body terms with different supports computing (sDAQC) previously introduced.
(k)
but not all four-body terms, i.e., H1 = h12 + h23 + ... + The term bang-bang has been routinely used in classical
hN −1,N + h123 + h234 + ... + hN −2,N −1,N + h1234 + h3456 + control theory [61, 62] and was first introduced in the field of
h5678 + ..., where hij... is an operator acting non-trivially on quantum physics as a tool for dynamically decoupling [63, 64]
(k) a controlled quantum system from its environment. Here,
qubits {i, j, ...}. On the other hand, H2 contains (again) all however, we use the term banged to express the fact that
two-body and three-body terms, as well as the complementary the analog evolution is not switched off while the fast SQRs
(k)
four-body terms H2 = ... + h2345 + h4567 + h6789 + .... pulses are being turned on. Naturally, the bDAQC introduces
The coefficients of operators hij... are coupled together. For an additional digital error in contrast with the sDAQC that
the simulation of an arbitrary four-body NN Hamiltonian with can be, in the best case, of third order in time. We argue that
the requested support, it is sufficient to sum four of each of the this error competes with the experimental error produced by
P4 (k) (k)
blocks H0 = k=1 H1 + H2 to disentangle the param- the switching of multi-qubit gates and depending on the cases
eters, generating at least one term operating in each support. might prove less harmful to the algorithm.
Finally, to create all XYZ operators, we need to concatenate
3M = 81 H0 -blocks interleaved by single qubit rotations with (a) ∆t t1 ∆t t2 ∆t
(l) j (l) j (l) j
the estructure R(l) = ⊗N j rj σx + sj σy + tj σz , i.e.,

H4b =
X (l)
R(l) H0 R(l) , (11)
HR0 HI HR1 HI HR2

(l) (l) (l) (l) (l)


with (rj , sj , tj ) fulfilling the constraint |rj |2 + |sj |2 + (b)
∆t t1 − 3∆t/2 ∆t t2 − 3∆t/2 ∆t
(l)
|tj |2 = 1. The aforementioned construction works for one
HR0 HR1 HR2
Trotter step, so it must be repeated nT times to approximate
the evolution as U4b = e−iH4b t ≈ (e−iH4b t/nT )nT . The to-
+
HI +
HI +

tal number of analog blocks, engineered time slices, for the HI HI HI


most general simulation with up to M -body interactions and
N number of qubits is a(M )N + b(M ) with, FIG. 4. Comparison between a sDAQC and bDAQC protocol.
(a) sDAQC: digital evolutions with Hamiltonian HRk , and analog
a(M ) = 49 3M −1 − 3 ,

(12)
blocks ones evolving with Hamiltonians HI are well separated in
M −1
b(M ) = 3 2 3

2 −M . (13) time under the sudden approximation. (b) bDAQC: the adiabatic
evolution HI is on during the whole time and fast rotations are added
In other words, it grows linearly with the number of qubits (HRk + HI ), also under the sudden approximation.
and exponentially with the number of body interactions. For
the four-body system here described, the total number is
117N − 306. A more detailed explanation of the algorithm
for simulating NN Hamiltonians with general M -body inter- A. Stepwise DAQC
actions can be found in Appendix D.
M M nT In a typical sDAQC scenario, a total unitary evolution is
R(1) R(1) R(3 )
R(3 )

(
built interleaving an evolution of a fixed entangling Hamilto-
UM b ≈ H0
(1) (3M )
H0
( nian HI with sets of SQRs as
UT = ...UR2 e−iHI t2 UR1 e−iHI t1 UR0 , (14)
with URn a general digital rotation operator acting on any sub-
FIG. 3. Algorithm to implement the M -body evolution. Gen-
(l) j (l) j (l) j set of the Hilbert space (e.g. in two qubits), see Fig. 4(a). The
eralized rotations R(l) = ⊗Nj rj σx + sj σy + tj σz sandwich sudden approximation states that we can implement such evo-
(l) P4 (k) (l) (k) (l)
evolutions of H0 = k=1 (H1 ) + (H2 ) , see Eqs. (9) and lution U (t) ≈ e−itF H(t) with a time dependent Hamiltonian
(10) and Appendix D for an example with M = 4. P
H(t) = n=0 HRn Π∆t (t − [Tn + n∆t])
+ HI ΠTn+1 (t − [Tn + (n + 1)∆t]), (15)

IV. STEPWISE AND BANGED DAQC


where HRn gives rise to the digitalPunitary evolution URn =
n
e−iHRn ∆t . We have defined Tn = r=0 tr , assuming t0 = 0,
and the rectangular window function
An important source of errors in realistic quantum al-
gorithms comes from turning on and off multi-qubit quan- ΠT (t − ts ) = θ(t − ts ) − θ(t − (ts + T )), (16)
6

with θ(t) = 1 for t ≥ 0 and 0 otherwise. gates; protocols that typically improve the performance. An-
other option for complex systems is the use genetic algorithms
to optimize this decomposition [65].
B. Banged DAQC

The aforementioned stepwise protocol assumes that we can º


turn on and off the Hamiltonians HI and HRn infinitely fast; g12
something obviously unphysical. The bDAQC protocol con- g13
g14
sists on implementing the same evolution without turning off g15
the background Hamiltonian HI and performing short (and
intense) pulses to implement the single qubit rotations.
Exploiting the symmetrized exponential decomposition for
all the SQRs blocks, the ideal evolution of the system in
Eq. (14) can be performed without turning off the entangling FIG. 5. 5 qubit spin system. We have simulated the XZ model
Hamiltonian with coupling parameters of the original system Hamiltonian with
a
polynomial ḡjk = J/|j − k|5/2 (squares), and exponential ḡjk
b
=
PN −1 2
H(t) = HI + n HRn Π∆t (t − [Tn − ∆t/2]) Je−(|j−k|−1) (triangles) decay, corresponding to the simulations in
+ HRN Π∆t (t − [TN − ∆t]), (17) Fig. 6. On the other hand, the couplings of the simulated one are
µν
gjk = J/|j − k|1/2 (circles); ∀ j < k and j, k ∈ {1 − 5} and
Pn
where again Tn = r=0 tr , see Fig. 4(b). ∀µ, ν ∈ {x, z}.

We have used twoPdifferent fixed entangling ATA ZZ


C. Error estimation Hamiltonians H̄ZZ = j<k ḡjk σzj σzk with (a) ḡjk = J/|j −
2
k|5/2 and (b) ḡjk = Je−(|j−k|−1) parameter couplings to
The additional error per step that we are introducing can be µν
simulate Hamiltonian (5) with gjk = J/|j − k|1/2 couplings
estimated with the aid of a Schatten norm as the difference
between evolving the system with the sDAQC protocol with where ∀µ, ν ∈ {x, z} and ∀ j < k and j, k ∈ {1 − 5}, see
respect to the bDAQC Fig. 5. In Fig. 6, it is plotted the fidelity as a function of Trot-
ter steps between exact and computed states F = |hΨe |Ψc i|2
en = ||1 − e−iHI ∆t/2 e−iHRn ∆t e−iHI ∆t/2 ei(HI +HRn )∆t || of the exact evolution of a 5-qubit XZ model for a final time
tF = 1/J = 2; where the initial state has an excitation in the
(∆t)3
= ||[[HI , HRn ], HI + 2HRn ]|| + O((∆t)4 ), (18) 3 qubit, |Ψ(0)i = |↓↓↑↓↓i. It is clear that fidelities above 90%
4 can be achieved even for the bDAQC protocol taking into con-
where we have made use of Zassenhaus formula. The first sideration different finite times ∆t for performing the SQRs
and last blocks at the boundaries introduce second order errors blocks where the HI = H̄ZZ is still on, and using two differ-
e0,N = O((∆t)2 ), as the evolutions cannot be symmetrized. ent base entangling Hamiltonians.
The total digital error of the banged protocol is the sum E =
2
P
n en = Aen , with A ∝ O(N ) or O(N ) given that the
total number of analog blocks increases polinomially (linearly A. Computational times
or quadratically) with the total number of qubits N for NN or
ATA coupling configurations respectively. (s) (s)
The times tα = tT M−1 αβ (ḡββ )
−1
gβ of the analog blocks
required to perform the four ZZ-DAQC protocols (both step-
(s)
V. EXAMPLE: XZ MODEL
wise or banged) might be negative. Here, ḡββ is defined as the
(s)
diagonal matrix with elements ḡjk in the same β(j, k) order-
Let us exemplify this new paradigm of protocols with a nu- ing. In such case, there is a simple way around the problem of
merical simulation of the non-commuting ATA XZ model pre- evolving with negative times (or inverted coupling signs) by
viously described in Subsec. III B. We first compare the exact realizing that the constant vector is an eigenvector of the Mαβ
performance of a purely digital protocol (DQC) with both the matrix, see demonstration in Appendix A.
sDAQC and bDAQC. We decompose at each Trotter step, i.e., In Fig. 7(a), we show the times of the two qubit gates in the
U (tF ) ≈ U (tT )nT , tT = tF /nT , the evolution of the terms DQC protocol in a Trotter step by directly using the ATA H̄ZZ
in the ATA DQC protocol Hamiltonian or the most efficient protocol that decomposes
each σzj σzk interaction into NN fixed π/4 gates, i.e., the gate
µν j k µν j j j+1 j j+1
decomposition USWAP (j, j + 1) = eiπ/4σx σx eiπ/4σy σy .
π j π j k π j k π j
eiϕjk σµ σν = ei 4 σy ei 4 σµ σν eiϕjk σy ei 4 σµ σν e−i 4 σy (19)
In virtue of simplicity, we have omitted the times required for
where ϕµν µν
jk = tT gjk into fixed π/4 two-qubit gates. Such evo- performing SQRs to transform σzj σzj+1 gates into σxj σxj+1 or
lution might be implemented directly for qubits with strong σyj σyj+1 . In opposition, Fig. 7(b) shows the times of the ana-
coupling, typically neighbours. However, such evolution log blocks in a DAQC protocol, clearly smaller. Both Figs.
could be decomposed into NN protocols, e.g., with swap 7(a) and (b) use the same parameters of the simulation in Fig.
7

(a) (a)

(b)

(b)

FIG. 7. Times in a Trotter step to perform the DQC and DAQC


protocols in terms of the simulated two-body interaction term
index β and the analog block index α respectively for the sim-
ulation in Fig. 6(a). (a) (Black) ATA DQC protocol improves
considerably time resources when it is decomposed into NN SWAP
gates (green). (b) However, both of them still perform worse than
(s)
the DAQC protocol; implemented through 4 ZZ-blocks of times tα
(s)
(blue points), in which the most negative times |tmin | have been high-
lighted (red points).

FIG. 6. Exact Trotter evolution: sDAQC vs bDAQC vs DQC. Fi-


delity F = |hΨe |Ψc i|2 between exact and ideal DQC, sDAQC and
bDAQC protocols for an evolution of a 5-qubit XZ model as a func- 2500 DQC: NN → ATA
tion of Trotter steps for a final time tF = 1/J = 2. The couplings of DAQC
t/JtF (per Trotter step)

the original system Hamiltonian are (a) polynomially and (b) expo- 2000
nentially decaying; see Fig. 5. The initial state is |Ψ(0)i = |↓↓↑↓↓i.
The bDAQC protocol considers different finite times ∆t for perform-
ing the SQRs blocks where the entangling Hamiltonian HI = H̄ZZ
1500
is still on.
1000

6(a). The total sum of times in a Trotter step of the analog 500
blocks (DAQC) or π/4 two-qubit gates (optimised DQC) for
same simulation parameters varying the number of qubits is
0
sketched in Fig. 8. It becomes clear that the the loss of co- 3 4 5 6 7 8 9
herence and population is going to affect faster the evolutions Nqb
decomposed in purely digital gates.
FIG. 8. Total times (sums of points in Fig. 7) for each Trotter
step as a function of number of qubits. The (blue) DAQC proto-
B. Experimental error simulation col requires (polinomially with N ) less time than the (green) DQC
protocol as the number of qubits increases. This systematic protocol
used is not valid for N = 4 qubits.
We have performed a stochastic simulation of presum-
ably leading order dephasing errors to compare the DQC and
DAQC protocols, using the same parameters of Fig. 6(a). Re-
sults are depicted in Fig. 9. In the DQC protocol, we have in- mean x and deviation y and U(a, b) refers to a uniform noise
cluded two kinds of errors in all two-qubit blocks, (i) a Gaus- distribution with range boundaries (a, b). The deviation ra-
sian phase noise with deviation ξD = N (0, σD ) added to the tio σD = 0.009, compatible with a two qubit gate fidelity
π/4 phases and (ii) single qubit operators simulating a uni- greater than 99%. On the other hand, rU = 0.002, a much
form magnetic field noise ∆Bγ = U(−rU ∆t/2, rU ∆t/2). slower random axis phase noise. In Fig. 9 we have chosen a
Here, N (x, y) refers to a Gaussian noise distribution with ∆t = 1/500J, corresponding with orange line of Fig. 6 of
8

the bDAQC. For example, an ideal gate transforms into be beyond reach for several years or even decades. Differ-
iπ j k
iπ j k P
∆Bγj σγj
ent physical architectures are currently being investigated to
e 4 σα σβ →e 4 (1+ξD )σα σβ + j,γ=x,y,z . (20) perform quantum processing tasks, of which, those based on
superconducting circuits and trapped ions are leading in per-
formance and have potentially the brightest future. As stated
1.0 above, the main requirements that the physical implementa-
tion must meet is the (simultaneous) single-qubit addressing
0.9 to perform random-phase rotations, and a global entangling
0.8 dynamics.
Superconducting Qubits.— One of the most successful im-
0.7 plementations of qubits is based on superconducting circuits
0.6 with Josephson junctions; non-linear systems that play the
F

role of artificial atoms. Different configurations of junctions,


0.5 e.g., grounded (transmon qubits [66]) or in loops (flux qubits
0.4 DQC [67]), can be coupled directly, or indirectly through trans-

0.3
sDAQC mission line resonators, and effectively modeled with Ising
bDAQC Hamiltonians with transverse fields [68]
0.2 3 5 7 9 11 13 15 17 HSQ /~ ≈
X ωi
σzi +
X
gij σxi σxj . (22)
2
nTrotter i ij

Here ωi are the energies of each qubit system and gij are the
FIG. 9. Trotter evolution with errors: sDAQC vs bDAQC coupling parameters. Extra single-qubit drivings can be added
vs DQC. The DQC protocol (blue) is simulated with a Gaussian
by either coupling the qubits (i) magnetically (in SQUID con-
phase noise with deviation ξD = N (0, σD ) added to the π/4
phases, where σD = 0.009. sDAQC (black) and bDAQC (red) figurations) to external feed lines for σz rotations, or (ii) elec-
have Gaussian time noise in the analog blocks δs = N (0, rs ∆t) trically to the transmission line resonators as effective terms
and δb = N (0, rb ∆t) respectively, and rb = 0.9 = rs /2. of capacitive couplings for σx and σy rotations. Going to an
All simulations include random axis magnetic field noise ∆Bγ = interaction picture, one can turn on and off the local terms to
U(−rU ∆t/2, rU ∆t/2), with rU = 0.002. Rest of parameters are apply the single-qubit rotations when required [50], to match
equal to Fig. 6(a) where ∆t = 1/500J (orange line for bDAQC). the requirements of the above Sec. III.
Trapped Ions.— In the Lamb-Dicke regime, a trapped-ion
The bDAQC errors include: (i) Gaussian coherent noise in chain is also modeled with the Ising Hamiltonian [69]. Addi-
(s) (s) tional single-qubit addressing can be implemented by passing
analog block times tα → tα + δb , where δb = N (0, rb ∆t)
plus single qubit gate errors modeled as those in the DQC. We laser light through splitters and acousto-optic modulators to
have chosen a deviation ratio rb = 0.9 of the ∆t time required focus on single ions and engineer a.c.-Stark shifts [70]
to perform a SQR. The total evolution of an analog block in X X
the bDAQC becomes HIons /~ ≈ (Bi + Wi (t))σzi + Jij σxi σxj . (23)
(s)
i ij
j k
+δb )σzj σzk + j,γ=x,y,z ∆Bγj σγj
P
eiḡjk tα σz σz → eiḡjk (tα . (21)
The coupling term can be engineered to have a polynomial
Finally, the sDAQC analog blocks are transformed analo- decay Jij = Jmax /|i − j|α with 0 < α < 3. In practice, how-
gously to those in the bDAQC but the two qubit Gaussian ever, the parameter is typically set between 0.5 < α < 1.8, for
and coherent phase noise has a stronger value capturing the experimental issues regarding heating of motional harmonic
(s)
switching on-off errors expected in an experiment, i.e., tα → modes and an increase of decoherence [71, 72]. For exam-
(s)
tα +δs , with δs = N (0, rs ∆t) and rs = 2rb . Stochastic evo- ple, in [72], local static Bi and dynamic Wi (t) transverse
lutions of the fidelity averaged over 1000 runs show a compe- terms were engineered. Other experimental schemes achieve
tition between sDAQC and bDAQC methods, both of them simultaneous single-qubit addressing by putting the ions in
clearly above the DQC protocol. We emphasize here that the magnetic field gradients and using global microwave radiation
DQC simulation assumes that one can perform directly each [73–75].
of the ATA terms, i.e., a NN decomposition would perform
worse in terms of dephasing than blue line in Fig. 9 as it
would require increasingly linear number of two-qubit gates. VII. CONCLUSIONS

We have shown how to construct digital-analog quantum


VI. QUANTUM ARCHITECTURES algorithms based on a combination of single qubit rotations
and multi-qubit entangling dynamics. With this DAQC
The DAQC paradigm proposed in this article is intended approach, we have explicitly provided protocols to construct
to be implemented on NISQ [19] architectures where digi- generic Ising, two-body, and M -body Hamiltonians. Fur-
tal computation based on quantum error correction will still thermore, we have analysed a banged approach, bDAQC, as
9

an alternative possibility to the stepwise protocol, sDAQC. For N < 7 we observe the following identity
In this way, to improve the fidelity of the global quantum
dynamics, one can reduce the effect of switching on/off the Mαβ (tα + |tmin |e1 − |tmin |e1 ) =
entangling evolution. Numerical simulations performed in a = Mαβ (tα + |tmin |e1 ) − λ1 |tmin |e1
XZ model with 5 qubits suggest the advantage of DAQC over = Mαβ t̃α + |λ1 tmin |e1 (A1)
DQC protocols in terms of fidelity and computational time,
both in ideal and realistic scenarios. This alternative paradigm which corresponds to an evolution with N (N − 1)/2 − 1
paves the way for the implementation of useful quantum blocks of times t̃α . One block has zero time (tmin + |tmin | =
algorithms beyond the current state-of-the-art in the NISQ era. 0), and there is an extra analog block of time |λ1 tmin | not
sandwiched by any SQR. The evolution decomposes into

gMαβ t̃α σzj σzk ) (i|λ1 tmin | gσzj σzk )


P P
UZZ (tF ) = e(i β e β , (A2)

ACKNOWLEDGEMENTS where the dependence of j, k on β has not been explicitly writ-


ten and is the same as in Eq. (4).

We thank I. Arrazola and J. Casanova for very fruitful,


and encouraging discussions. We thank Giancarlo Gatti, APPENDIX B: UNIVERSALITY
Ana Martin, and Takahiro Tsunoda for critical reading of the
manuscript. The authors acknowledge support from Basque We briefly recall that a machine able to implement single
Government IT986-16, and Ph.D. Grant No. PRE-2016-1- qubit rotations and an entangling gate, e.g., a controlled-phase
0284, Spanish MINECO/FEDER FIS2015-69983-P, Ramón y gate, has the ability to perform universal quantum compu-
Cajal Grant RYC-2012-11391, the projects QMiCS (820505) tation efficiently. It can be easily proven that a two-qubit
and OpenSuperQ (820363) of the EU Flagship on Quantum i j
ZZ gate, ZZij (Φ) = e−iΦσz σz , combined with single qubit
Technologies, and EU FET Open Grant Quromorphic. This
rotations can be used to implement a controlled-phase gate
material is also based upon work supported by the U.S. De-
CZij (φ) = (Zi (−φ) ⊗ Zj (−φ))ZZij (φ/2) (up to a general
partment of Energy, Office of Science, Office of Advance Sci-
phase) where
entific Computing Research (ASCR), Quantum Algorithms
Teams project under field work proposal ERKJ335.
1 0 0 0
 
 
1 0 0 1 0 0 
Z(φ) = , CZ(φ) =  . (B1)
0 eiφ 0 0 1 0 
−i2φ
0 0 0 e
APPENDIX A: NEGATIVE TIMES IN THE ISING MODEL

APPENDIX C: INDEPENDENT COUPLING PARAMETERS


Some of the times tα = M−1 αβ gβ (tF /g) of the analog IN XZ MODEL
blocks to implement the Ising model can be negative. In
a sDAQC protocol, one solution would be to do such ana-
log evolutions with inverted coupling signs. However, in the The implementation of the XZ model with the protocol of
bDAQC paradigm, we must keep untouched the base entan- Subsec. III B requires the solution of the following linear sys-
gling Hamiltonian H̄ZZ . There is a simple way to mimic such tem
behaviour by using a tantamount set of times that produces the  (1) 
same evolution. g12  XX 
g12
 (2) 
 g12   g12 XZ 
Given that the vector of times tα = (t1 , t2 , ..., tmin , ...) with  (3)   ZX 
tmin < 0 and tmin < tα ∀α, there is an equivalent evolution i  g12   g12
   
(µ,s) (ν,s)  g (4)  ZZ 
h 
with N (N − 1)/2 − 1 blocks of times t̃α = tα + |tmin |e1  g12
αj αk  12  =  XX  , (C1)
and an extra analog block with time |tmin |λ1 , where λ1 is  (1)   g13 
 g13  
 .   .. 

the eigenvalue of a matrix Mαβ with corresponding constant  .   . 
eigenvector e1 = γ(1, 1, 1...)T .  .  ZZ
(4) gN −1,N
Let us first focus on the properties of the matrix Mαβ de- gN −1,N
fined in Eq. (3), created from the signs of applying sequen-
tially gates σxn σxm before and after the analog block evolu- with the matrix
tions. This matrix has an eigenvector e1 = γ(1, 1, 1...)T Sθ1j Sθ1k

Sθ2j Sθ2k Sθ3j Sθ3k Sθ4j Sθ42

which corresponds to the eigenvalue λ1 = N (N − 9)/2 + 8, h i N
 Sθ1 Cθ1 Sθ2j Cθ2k Sθ3j Cθ3k Sθ4j Cθ4k 
(µ,s) (ν,s)
M
that is negative for N ∈ {3, 5, 6}, and positive thereafter αj αk =  1j 1k ,
 Cθ Sθ Cθ2j Sθ2k Cθ3j Sθ3k Cθ4j Sθ4k 
N ∈ Z ≥ 7. Notice that we omit the case for N = 4 as j<k j k

the matrix is non-invertible and different set of gates must be Cθ1j Cθ1k Cθ2j Cθ2k Cθ3j Cθ3k Cθ4j Cθ4k
performed. (C2)
10

(s)
where we have defined the parameters Sθsj = sin(θj ) = qubits it looks like
(x,s) (s) (z,s)
αj and Cθsj = cos(θj ) = αj .
This matrix is invert- H1 = g11 cos(2θ2 )σz1 σz2 + g11 sin(2θ2 )σz1 σy2 σx3
ible for a dense set of phase values. That is, the sets of phases
+ g21 σz2 σz3 + g31 cos(2θ2 ) cos(2θ4 )σz3 σz4
that make it singular has measure zero. From a practical per-
spective, we do not want eigenvalues close to zero, because + g31 sin(2θ2 ) cos(2θ4 )σx2 σy3 σz4
after inversion we would have long simulating times. One use- + g31 cos(2θ2 ) sin(2θ4 )σz2 σy3 σx4
(s) sπ(w)
ful and well-behaved array of phases is θw = 2(w+1) , with + g31 sin(2θ2 ) sin(2θ4 )σx2 σy3 σy4 σx5
distance between two nearest-neighbour qubit phases scaling
(s) (s) sπ + g41 σz4 σz5 + g51 cos(2θ4 ) cos(2θ6 )σz5 σz6
polynomially d(s, w) = |θw − θw+1 | = 2(w2 +3w+2) .
+ g51 sin(2θ4 ) cos(2θ6 )σx4 σy5 σz6
+ g51 cos(2θ4 ) sin(2θ6 )σz4 σy5 σx6
+ g51 sin(2θ4 ) sin(2θ6 )σx4 σy5 σy6 σx7
+ g61 σz6 σz7 + g71 cos(2θ6 )σz7 σz8
APPENDIX D: M-BODY HAMILTONIANS + g71 sin(2θ6 )σx6 σy7 σz8 . (D4)
On the other hand, H2 contains (again) terms in all supports
for two-body and three-body interactions and the complemen-
We extend here the steps explained in Subsec. III C to sim-
tary four-body terms
ulate a NN Hamiltonian evolution with up to 4-body interac-
tions like H2 =g12 σz1 σz2 + g22 cos(2θ1 ) cos(2θ3 )σz2 σz3
+ g22 sin(2θ1 ) cos(2θ3 )σx1 σy2 σz3
X χη
X χηγ j j+1 j+2
+ g22 cos(2θ1 ) sin(2θ3 )σz2 σy3 σx4
H4b = g(2,j) σχj σηj+1 + g(3,j) σχ ση σγ
j,χη j,χηγ
+ g22 cos(2θ1 ) cos(2θ3 )σx1 σy2 σy3 σx4
X χηγρ j j+1 j+2 j+3 g32 σz3 σz4 + g42 cos(2θ3 ) cos(2θ5 )σz4 σz5
+ g(4,j) σχ ση σγ σρ , (D1)
j,χηγρ + g42 sin(2θ3 ) cos(2θ5 )σx3 σy4 σz5
+ g42 cos(2θ3 ) sin(2θ5 )σz4 σy5 σx6
+ g42 cos(2θ3 ) cos(2θ5 )σx3 σy4 σy5 σx6
where {χ, η, γ, ρ} = {x, y, z} and j = {1, ..., N }, starting g52 σz5 σz6 + g62 cos(2θ5 ) cos(2θ7 )σz6 σz7
with NN fixed coupling ZZ Ising models. To create terms
with support in all interactions by a generalized Mølmer- + g62 sin(2θ5 ) cos(2θ7 )σx5 σy6 σz7
Sørensen type of gate, we need to interleave inhomogeneous + g62 cos(2θ5 ) sin(2θ7 )σz6 σy7 σx8
Ising Hamiltonians with two different and rotated XX-Ising + g62 sin(2θ5 ) sin(2θ7 )σx5 σy6 σy7 σx8
evolutions as
+ g72 σy7 σz8 . (D5)

1 1
The constant coefficients of operators in (D4) and (D5) are
H1 = e−iOXX HZZ
1
eiOXX , (D2) entangled in groups of maximum size 4. For the simulation
2 2 of the four-body generalized Hamiltonian, it is thus enough
H2 = e−iOXX HZZ
2
eiOXX , (D3) P4 (k) (k)
to sum 4 of each of the blocks H0 = k=1 H1 + H2
to decouple the parameters of at least one term operating in
each support. We have again a dense set of phases such that
1
where OXX = Φ1 σx1 σx2 +Φ3 σx3 σx4 +Φ5 σx5 σx6 +... and its trans- randomly chosen ones would make the system of equations
2
lationally shifted OXX = Φ2 σx2 σx3 + Φ4 σx4 σx5 + Φ6 σx6 σx7 + ... invertible. A particular choice of sets that would work are
are built from evolutions of ZZ models rotatedwith SQRs in (k) (k) (k) (k) (k)
θ1 = θ1+4n = θ2 = θ2+4n = (2πk/3) and θ3 =
all qubits R = ⊗N j cos(π/4)σzj + sin(π/4)σxj . For M = 4, (k) (k) (k)
1 2 θ3+4n = θ4 = θ4+4n = (2πk/5) with n = {1, . . . , [N/4]}
OXX and OXX contain interacting operators separated by the and k = {1, . . . 4}.
1
interaction length L = M/2 = 2, e.g., OXX has a term σx1 σx2 Finally, we use more local rotations to generate the arbitrary
2 3
but not σx σx , see Fig. 10. Had we wanted to simulate a M ≤ 4 Hamiltonian. In particular, we need to concatenate
five-/six- (seven-/eight-) body Hamiltonian, we would need 3M = 81 H0 blocks, maximum number of independent pa-
a different decomposition with 3 (4) translationally invariant rameters in an M -body interaction,interleaved by generalized
sets of blocks, see Fig. 10. The ZZ-Ising NN Hamiltonians (l) j (l) j (l) j
HZZs
= j gjs σzj σzj+1 , with s = {1, 2}.
P SQRs R(l) = ⊗N j rj σx + sj σy + tj σz

H1 contains all two-body and three-body terms with differ- (l)


X
H4b = R(l) H0 R(l) , (D6)
ent supports but not in four-body terms, i.e., for a chain of 8 l
11

(l) (l) (l)


where (rj , sj , tj ) are unit-sphere cartesian decomposi-
1 (l) (l) (l)
OXX tions that fulfill the constraint |rj |2 + |sj |2 + |tj |2 = 1.
σx1 σx2 σx3 σx4 σx5 σx6 σx7 σx8 As it is common when simulating non-commuting Hamiltoni-
2 ans, we need to repeat the whole process for each Trotter step
OXX e−iH4b t ≈ (e−iH4b t/nT )nT to approximate the evolution.
σx2 σx3 σx4 σx5 σx6 σx7

1
OXX
σx1 σx2 σx2 σx3 σx4 σx5 σx5 σx6 σx7 σx8
2
OXX
σx2 σx3 σx3 σx4 σx5 σx6 σx6 σx7
3
OXX
σx1 σx2 σx3 σx4 σx4 σx5 σx6 σx7 σx7 σx8

s
FIG. 10. Sets of engineered interactions OXX for creating all-
support interactions. (Green) Two sets of generalized Hamiltoni-
ans required to create interactions in all supports for M ≤ 4. (Red)
Three sets of generalized Hamiltonians required to create all interac-
tions with support M ≤ 6.

[1] P. Benioff, J. Stat. Phys. 22, 563 (1980). [23] S. Boixo, S. V. Isakov, V. N. Smelyanskiy, R. Babbush, N. Ding,
[2] P. Benioff, Phys. Rev. Lett. 48, 1581 (1982). Z. Jiang, M. J. Bremner, J. M. Martinis, and H. Neven, Nat.
[3] R. P. Feynman, Int. J. Theor. Phys. 21, 467 (1982). Phys. 14, 595 (2018).
[4] P. W. Shor, SIAM J. Comput., 26, 1484 (1996). [24] D. Ballester, G. Romero, J. J. Garcı́a-Ripoll, F. Deppe, and E.
[5] L. K. Grover, Proceedings of the 28th Annual ACM Symposium Solano, Phys. Rev. X 2, 021007 (2012).
on the Theory of Computing (STOC) (ACM, New York, 1996), [25] J. Braumüller, M. Marthaler, A. Schneider, A. Stehli, H.
212. Rotzinger, M. Weides, and A. V. Ustinov, Nat. Commun. 8, 779
[6] D. Deutsch, Proc. Roy. Soc. A 400, 97 (1985). (2017).
[7] T. H. Johnson, S. Clark, and D. Jaksch, EPJ Quant. Tech. 1, 10 [26] J. S. Pedernales, I. Lizuain, S. Felicetti, G. Romero, L. Lamata,
(2014). and E. Solano, Sci. Rep. 5, 15472 (2015).
[8] P. W. Shor, Phys. Rev. A 52, 2493 (1995). [27] D. Lv, S. An, Z. Liu, J.-N. Zhang, J. S. Pedernales, L. Lamata,
[9] A. Y. Kitaev, Ann. Phys. (Amsterdam) 303, 2 (2003). E. Solano, and K. Kim, Phys. Rev. X 8, 021027 (2018).
[10] C. H. Bennett, D. P. DiVincenzo, J. A. Smolin, and W. K. Woot- [28] S. Felicetti, M. Sanz, L. Lamata, G. Romero, G. Johansson, P.
ters, Phys. Rev. A 54, 3824 (1996). Delsing, and E. Solano, Phys. Rev. Lett. 113, 093602 (2014).
[11] A. Yao, Quantum circuit complexity in Proc. 34th IEEE Symp. [29] D. Z. Rossatto, S. Felicetti, H. Eneriz, E. Rico, M. Sanz, and E.
on Foundations of Computer science, 352 (1993). Solano, Phys. Rev. B 93, 094514 (2016).
[12] D. Deutsch, Proc. R. Soc. A 425, 73 (1989). [30] M. Sanz, W. Wieczorek, S. Gröblacher, and E. Solano, Quan-
[13] D. DAlessandro, Introduction to Quantum Control and Dynam- tum 2, 91 (2018).
ics (Taylor and Francis Group, Boca Raton, 2007). [31] I. Carusotto and C. Ciuti, Rev. Mod. Phys. 85, 299 (2013).
[14] D. Dong, and I. R. Petersen, IET Control Theory Appl. 4, 2651 [32] M. J. Hartmann, F. G. S. Brandão, and M. B. Plenio, Nat. Phys.
(2010). 2, 849 (2006).
[15] A. M. Childs, D. Maslov, Y. Nam, N. J. Ross, and Y. Su, Proc. [33] M. J. Hartmann and M. B. Plenio, Phys. Rev. Lett. 99 103601
Natl. Acad. Sci. USA 115, 9456 (2018). (2007).
[16] C. Song,J. Cui,H. Wang,J. Hao,H. Feng,Y. Li, arXiv: [34] A. D. Greentree, C. Tahan, J. H. Cole, and L. C. L. Hollenberg,
1812.10903 (2018). Nat. Phys. 2, 856 (2006).
[17] V. Ramakrishna and H. Rabitz, Phys. Rev. A54, 1715 (1996). [35] S. Lloyd, Science 273, 1073 (1996).
[18] J. Preskill, arXiv:1203.5813 (2012). [36] M. Suzuki, Commun. Math. Phys. 51, 183 (1976).
[19] J. Preskill, Quantum 2, 79 (2018). [37] R. Barends, L. Lamata, J. Kelly, L. Garcı́a-Álvarez, A. G.
[20] S. Aaronson and A. Arkhipov, Theory Comput. 9, 143 (2013). Fowler, A Megrant, E. Jeffrey, T. C. White, D. Sank, J. Y. Mu-
[21] B. T. Gard, R. M. Cross, P. M. Anisimov, H. Lee, and J. P. tus, B. Campbell, Yu Chen, Z. Chen, B. Chiaro, A. Dunsworth,
Dowling, J. Opt. Soc. Am. B 30, 1538 (2013). I.-C. Hoi, C. Neill, P. J. J. O’Malley, C. Quintana, P. Roushan,
[22] C. Neill, P. Roushan, K. Kechedzhi, S. Boixo, S. V. Isakov, V. A. Vainsencher, J. Wenner, E. Solano, and John M. Martinis,
Smelyanskiy, R. Barends, B. Burkett, Y. Chen, Z. Chen, B. Nat. Commun. 6, 7654 (2015).
Chiaro, A. Dunsworth, A. Fowler, B. Foxen, R.Graff, E. Jef- [38] Y. Salathé, M. Mondal, M. Oppliger, J. Heinsoo, P. Kurpiers, A.
frey, J. Kelly, E. Lucero, A. Megrant, J. Mutus, M. Neeley, C. Potocnik, A. Mezzacapo, U. Las Heras, L. Lamata, E. Solano,
Quintana, D. Sank, A. Vainsencher, J. Wenner, T. C. White, H. S. Filipp, and A. Wallraff, Phys. Rev. X 5, 021027 (2015).
Neven, J. M. Martinis, Science 360, 6385 (2018).
12

[39] R. Barends, A. Shabani, L. Lamata, J. Kelly, A. Mezzacapo, U. [55] D. Porras and J. I. Cirac, Phys. Rev. Lett. 92, 207901 (2004).
Las Heras, R. Babbush, A. G. Fowler, B. Campbell, Yu Chen, [56] R. H. Lehmberg, Phys. Rev. A 2, 883 (1970).
Z. Chen, B. Chiaro, A. Dunsworth, E. Jeffrey, E. Lucero, A. [57] R. H. Lehmberg, Phys. Rev. A 2, 889 (1970).
Megrant, J. Y. Mutus, M. Neeley, C. Neill, P. J. J. O’Malley, [58] A. González-Tudela, C.-L. Hung, D. E. Chang, J. I. Cirac, and
C. Quintana, P. Roushan, D. Sank, A. Vainsencher, J. Wenner, H. J. Kimble, Nat. Photon. 9, 320 (2015).
T. C. White, E. Solano, H. Neven, and J. M. Martinis, Nature [59] F. Solgun, D. P. DiVincenzo, J. M. Gambetta, IEEE Trans. Mi-
(London) 534, 222 (2016). crow. Theory Tech. 67, 3 (2019).
[40] N. Klco, E. F. Dumitrescu, A. J. McCaskey, T. D. Morris, R. [60] M. Van den Nest, W. Dür, and H. J. Briegel, Phys. Rev. Lett.
C. Pooser, M. Sanz, E. Solano, P. Lougovski, and M. J. Savage, 100, 110501 (2008).
Phys. Rev. A 98, 032331 (2018). [61] L. Lapidus and R. Luus, Optimal Control of Engineering Pro-
[41] B. P. Lanyon, C. Hempel, D. Nigg, M. Müller, R. Gerritsma, F. cesses, (Blaisdell Publishing, Waltham, MA, 1967).
Zähringer, P. Schindler, J. T. Barreiro, M. Rambach, G. Kirch- [62] Y. Takahashi, M. J. Rabins, and D. M. Auslander, Control and
mair, M. Hennrich, P. Zoller, R. Blatt, and C. F. Roos, Science Dynamic Systems, (Addison-Wesley, Reading, MA, 1970).
334, 57 (2011). [63] L. Viola and S. Lloyd, Phys. Rev. A 58, 2733 (1998).
[42] E. A. Martinez, C. A. Muschik, P. Schindler, D. Nigg, A. Er- [64] J. J. L. Morton, A. M. Tyryshkin, A. Ardavan, S. C. Benjamin,
hard, M. Heyl, P. Hauke, M. Dalmonte, T. Monz, P. Zoller, and K. Porfyrakis, S. A. Lyon and G. A. D. Briggs, Nat. Phys. 2, 40
R. Blatt, Nature (London) 534, 516 (2016). (2006).
[43] A. Mezzacapo, U. Las Heras, J. S. Pedernales, L. DiCarlo, E. [65] U. Las Heras, U. Alvarez-Rodriguez, E. Solano, and M. Sanz,
Solano, L. Lamata, Sci. Rep. 4, 7482 (2014). Phys. Rev. Lett. 116, 230504 (2016).
[44] L. Garcı́a-Álvarez, J. Casanova, A. Mezzacapo, I. L. Egusquiza, [66] J. Koch, T. M. Yu, Jay Gambetta, A. A. Houck, D. I. Schus-
L. Lamata, G. Romero, and E. Solano, Phys. Rev. Lett. 114, ter, J. Majer, A. Blais, M. H. Devoret, S. M. Girvin, and R. J.
070502 (2015). Schoelkopf Phys. Rev. A 76, 042319 (2007).
[45] A. Mezzacapo, M. Sanz, L. Lamata, I. L. Egusquiza, S. Succi, [67] I. Chiorescu, Y. Nakamura, C. J. P. M. Harmans, J. E. Mooij,
and E. Solano, Sci. Rep. 5, 13153 (2015). Science 299, 5614 (2003).
[46] I. Arrazola, J. S. Pedernales, L. Lamata and E. Solano, Sci. Rep. [68] G. Wendin, Rep. Prog. Phys. 80, 106001 (2017).
6, 30534 (2016). [69] D. Porras and J. I. Cirac, Phys. Rev. Lett. 92, 207901 (2004).
[47] R. Sweke, M. Sanz, I. Sinayskiy, F. Petruccione, and E. Solano, [70] S. Debnath, N. M. Linke, C. Figgatt, K. A. Landsman, K.
Phys. Rev. A 94, 022317 (2016). Wright, and C. Monroe, Nature (London) 536, 63 (2016).
[48] L. Garcı́a-Álvarez, U. Las Heras, A. Mezzacapo, M. Sanz, E. [71] J. Zhang, G. Pagano, P. W. Hess, A. Kyprianidis, P. Becker, H.
Solano, and L. Lamata, Sci. Rep. 6, 27836 (2016). Kaplan, A. V. Gorshkov, Z.-X. Gong, and C. Monroe, Nature
[49] N. K. Langford, R. Sagastizabal, M. Kounalakis, C. Dickel, A. (London) 551, 601(2017).
Bruno, F. Luthi, D. J. Thoen, A. Endo, and L. DiCarlo, Nat. [72] C. Maier, T. Brydges, P. Jurcevic, N. Trautmann, C. Hempel, B.
Commun. 8, 1715 (2017). P. Lanyon, P. Hauke, R. Blatt, and C. F. Roos, Phys. Rev. Lett.
[50] L. Lamata, A. Parra-Rodriguez, M. Sanz and E. Solano, Adv. 122, 050501 (2019).
Phys: X 3, 1457981 (2018). [73] M. Johanning, A. Braun, N. Timoney, V. Elman, W. Neuhauser,
[51] J. L. Dodd, Michael A. Nielsen, M. J. Bremner, and R. T. Thew, and C. Wunderlich, Phys. Rev. Lett. 102, 073004 (2009).
Phys. Rev. A 65, 040301(R) (2002). [74] S. X. Wanga, J. Labaziewicz, Y. Ge, R. Shewmon, and I. L.
[52] Ll. Masanes, G. Vidal and J. I. Latorre, Quant. Inf. and Comp. Chuang, Appl. Phys. Lett. 94, 094103 (2009).
2, 285 (2002). [75] S. Weidt, J. Randall, S. C. Webster, K. Lake, A. E. Webb, I. Co-
[53] C. H. Bennett, J. I. Cirac, M. S. Leifer, D. W. Leung, N. Linden, hen, T. Navickas, B. Lekitsch, A. Retzker, and W. K. Hensinger,
S. Popescu, and G. Vidal, Phys. Rev. A 66, 012305 (2002). Phys. Rev. Lett. 117, 220501 (2016).
[54] E. Jané, G. Vidal, W. Dür, P. Zoller, and J. I. Cirac, Quantum
Inf. Comput. 3, 15 (2003).

You might also like