Time-evolving block decimation

From testwiki
Jump to navigation Jump to search

Template:Use Canadian English Template:Short description Template:Refimprove The time-evolving block decimation (TEBD) algorithm is a numerical scheme used to simulate one-dimensional quantum many-body systems, characterized by at most nearest-neighbour interactions. It is dubbed Time-evolving Block Decimation because it dynamically identifies the relevant low-dimensional Hilbert subspaces of an exponentially larger original Hilbert space. The algorithm, based on the Matrix Product States formalism, is highly efficient when the amount of entanglement in the system is limited, a requirement fulfilled by a large class of quantum many-body systems in one dimension.

Introduction

Time-evolving block decimation (TEBD) is a numerical algorithm that can efficiently simulate the time evolution of one dimensional quantum systems having limited entanglement entropy. Naively, to time evolve a system characterized by a Hamiltonian H^ one would directly exponentiate the Hamiltonian to get the time evolution operator U^(t)=eiH^t/ and apply this to an initial state: ψ(t)=U^(t)ψ(t=0) However, as the number of degrees of freedom of the system grows it quickly becomes computationally infeasible to perform the associated matrix exponentiation and matrix-vector multiplication. For example, if ψ represents a system of n qubits then the Hilbert space in which ψ resides has dimension 2n, meaning matrix operations are effectively intractable for all but the smallest values of n. TEBD presents an efficient scheme for performing time evolution by limiting itself to a much smaller subspace of the configuration space. There are several other noteworthy examples of ways to get around this exponential scaling, including quantum Monte Carlo and the density matrix renormalization group.

Guifré Vidal proposed the scheme while at the Institute for Quantum Information, Caltech.[1] He asserts that "any quantum computation with pure states can be efficiently simulated with a classical computer provided the amount of entanglement involved is sufficiently restricted". This happens to be the case for a wide suite of Hamiltonians characterized by local interactions, for example, Hubbard-like Hamiltonians. The method exhibits a low-degree polynomial behavior in the increase of computational time with respect to the amount of entanglement present in the system. The algorithm is based on a scheme that exploits the fact that in these one-dimensional systems the eigenvalues of the reduced density matrix on a bipartite split of the system are exponentially decaying, thus allowing one to work in a re-sized space spanned by the eigenvectors corresponding to the selected eigenvalues.

The numerical method is efficient in simulating real-time dynamics or calculations of ground states using imaginary-time evolution or isentropic interpolations between a target Hamiltonian and a Hamiltonian with an already-known ground state. The computational time scales linearly with the system size, hence many-particles systems in 1D can be investigated.

A useful feature of the TEBD algorithm is that it can be reliably employed for time evolution simulations of time-dependent Hamiltonians, describing systems that can be realized with cold atoms in optical lattices, or in systems far from equilibrium in quantum transport. From this point of view, TEBD had a certain ascendance over DMRG, a very powerful technique, but until recently not very well suited for simulating time-evolutions. With the Matrix Product States formalism being at the mathematical heart of DMRG, the TEBD scheme was adopted by the DMRG community, thus giving birth to the time dependent DMRG [2]Template:Dead link, t-DMRG for short.

Other groups have developed similar approaches in which quantum information plays a predominant role: for example, in DMRG implementations for periodic boundary conditions [3], and for studying mixed-state dynamics in one-dimensional quantum lattice systems,.[2][3] Those last approaches actually provide a formalism that is more general than the original TEBD approach, as it also allows to deal with evolutions with matrix product operators; this enables the simulation of nontrivial non-infinitesimal evolutions as opposed to the TEBD case, and is a crucial ingredient to deal with higher-dimensional analogues of matrix product states.

The decomposition of state

Introducing the decomposition of State

Consider a chain of N qubits, described by the function |ΨHN. The most natural way of describing |Ψ would be using the local MN-dimensional basis |i1,i2,..,iN1,iN: |Ψ=i=1Mci1i2..iN|i1,i2,..,iN1,iN where M is the on-site dimension.

The trick of TEBD is to re-write the coefficients ci1i2..iN: ci1i2..iN=α1,..,αN1=0χΓα1[1]i1λα1[1]Γα1α2[2]i2λα2[2]Γα2α3[3]i3λα3[3]..ΓαN2αN1[N1]iN1λαN1[N1]ΓαN1[N]iN

This form, known as a Matrix product state, simplifies the calculations greatly.

To understand why, one can look at the Schmidt decomposition of a state, which uses singular value decomposition to express a state with limited entanglement more simply.

The Schmidt decomposition

Consider the state of a bipartite system |ΨHAHB. Every such state |Ψ can be represented in an appropriately chosen basis as: |Ψ=i=1MA|Bai|ΦiAΦiB where |ΦiAΦiB=|ΦiA|ΦiB are formed with vectors |ΦiA that make an orthonormal basis in HA and, correspondingly, vectors |ΦiB, which form an orthonormal basis in HB, with the coefficients ai being real and positive, i=1MA|Bai2=1. This is called the Schmidt decomposition (SD) of a state. In general the summation goes up to MA|B=min(dim(HA),dim(HB)). The Schmidt rank of a bipartite split is given by the number of non-zero Schmidt coefficients. If the Schmidt rank is one, the split is characterized by a product state. The vectors of the SD are determined up to a phase and the eigenvalues and the Schmidt rank are unique.

For example, the two-qubit state: |Ψ=122(|00+3|01+3|10+|11) has the following SD: |Ψ=3+122|ϕ1Aϕ1B+3122|ϕ2Aϕ2B with |ϕ1A=12(|0A+|1A),  |ϕ1B=12(|0B+|1B),  |ϕ2A=12(|0A|1A),  |ϕ2B=12(|1B|0B)

On the other hand, the state: |Φ=13|00+16|01i3|10i6|11 is a product state: |Φ=(13|0Ai3|1A)(|0B+12|1B)

Building the decomposition of state

At this point we know enough to try to see how we explicitly build the decomposition (let's call it D).

Consider the bipartite splitting [1]:[2..N]. The SD has the coefficients λα1[1] and eigenvectors |Φα1[1]|Φα1[2..N]. By expanding the |Φα1[1]'s in the local basis, one can write:

|Ψ=i1,α1=1M,χΓα1[1]i1λα1[1]|i1|Φα1[2..N]

The process can be decomposed in three steps, iterated for each bond (and, correspondingly, SD) in the chain: Step 1: express the |Φα1[2..N]'s in a local basis for qubit 2: |Φα1[2..N]=i2|i2|τα1i2[3..N]

The vectors |τα1i2[3..N] are not necessarily normalized.

Step 2: write each vector |τα1i2[3..N] in terms of the at most (Vidal's emphasis) χ Schmidt vectors |Φα2[3..N] and, correspondingly, coefficients λα2[2]: |τα1i2[3..N]=α2Γα1α2[2]i2λα2[2]|Φα2[3..N]

Step 3: make the substitutions and obtain: |Ψ=i1,i2,α1,α2Γα1[1]i1λα1[1]Γα1α2[2]i2λα2[2]|i1i2|Φα2[3..N]

Repeating the steps 1 to 3, one can construct the whole decomposition of state D. The last Γ's are a special case, like the first ones, expressing the right-hand Schmidt vectors at the (N1)th bond in terms of the local basis at the Nth lattice place. As shown in,[1] it is straightforward to obtain the Schmidt decomposition at kth bond, i.e. [1..k]:[k+1..N], from D.

The Schmidt eigenvalues, are given explicitly in D:

|Ψ=αkλαk[k]|Φαk[1..k]|Φαk[k+1..N]

The Schmidt eigenvectors are simply:

|Φαk[1..k]=α1,α2..αk1Γα1[1]i1λα1[1]Γαk1αk[k]ik|i1i2..ik and

|Φαk[k+1..N]=αk+1,αk+2..αNΓαkαk+1[k+1]ik+1λαk+1[k+1]λαN1N1ΓαN1[N]iN|ik+1ik+2..iN

Rationale

Now, looking at D, instead of MN initial terms, there are χ2M(N2)+2χM+(N1)χ. Apparently this is just a fancy way of rewriting the coefficients ci1i2..iN, but in fact there is more to it than that. Assuming that N is even, the Schmidt rank χ for a bipartite cut in the middle of the chain can have a maximal value of MN/2; in this case we end up with at least MN+1(N2) coefficients, considering only the χ2 ones, slightly more than the initial MN! The truth is that the decomposition D is useful when dealing with systems that exhibit a low degree of entanglement, which fortunately is the case with many 1D systems, where the Schmidt coefficients of the ground state decay in an exponential manner with α:

λαl[l]eKαl, K>0.

Therefore, it is possible to take into account only some of the Schmidt coefficients (namely the largest ones), dropping the others and consequently normalizing again the state:

|Ψ=1αl=1χc|λαl[l]|2αl=1χcλαl[l]|Φαl[1..l]|Φαl[l+1..N],

where χc is the number of kept Schmidt coefficients.

Let's get away from this abstract picture and refresh ourselves with a concrete example, to emphasize the advantage of making this decomposition. Consider for instance the case of 50 fermions in a ferromagnetic chain, for the sake of simplicity. A dimension of 12, let's say, for the χc would be a reasonable choice, keeping the discarded eigenvalues at 0.0001% of the total, as shown by numerical studies,[4] meaning roughly 214 coefficients, as compared to the originally 250 ones.

Even if the Schmidt eigenvalues don't have this exponential decay, but they show an algebraic decrease, we can still use D to describe our state ψ. The number of coefficients to account for a faithful description of ψ may be sensibly larger, but still within reach of eventual numerical simulations.

The update of the decomposition

One can proceed now to investigate the behaviour of the decomposition D when acted upon with one-qubit gates (OQG) and two-qubit gates (TQG) acting on neighbouring qubits. Instead of updating all the MN coefficients ci1i2..iN, we will restrict ourselves to a number of operations that increase in χ as a polynomial of low degree, thus saving computational time.

One-qubit gates acting on qubit k

The OQGs are affecting only the qubit they are acting upon, the update of the state |ψ after a unitary operator at qubit k does not modify the Schmidt eigenvalues or vectors on the left, consequently the Γ[k1]'s, or on the right, hence the Γ[k+1]'s. The only Γ's that will be updated are the Γ[k]'s (requiring only at most O(M2χ2) operations), as

Γαk1αk'[k]ik=jUjkikΓαk1αk[k]jk.

Two-qubit gates acting on qubits k, k+1

The changes required to update the Γ's and the λ's, following a unitary operation V on qubits k, k+1, concern only Γ[k], and Γ[k+1]. They consist of a number of O(Mχ3) basic operations.

Following Vidal's original approach, |ψ can be regarded as belonging to only four subsystems:

H=JHCHDK.

The subspace J is spanned by the eigenvectors of the reduced density matrix ρJ=TrCDK|ψψ|:

ρ[1..k1]=α(λα[k1])2|Φα[1..k1]Φα[1..k1]|=α(λα[k1])2|αα|.

In a similar way, the subspace K is spanned by the eigenvectors of the reduced density matrix:

ρ[k+2..N]=γ(λγ[k+1])2|Φγ[k+2..N]Φγ[k+2..N]|=γ(λγ[k+1])2|γγ|.

The subspaces HC and HD belong to the qubits k and k + 1. Using this basis and the decomposition D, |ψ can be written as:

|ψ=α,β,γ=1χi,j=1Mλα[C1]Γαβ[C]iλβ[C]Γβγ[D]jλγ[D]|αijγ

Using the same reasoning as for the OQG, the applying the TQG V to qubits k, k + 1 one needs only to update Γ[C], λ and Γ[D].

We can write |ψ=V|ψ as: |ψ=α,γ=1χi,j=1MλαΘαγijλγ|αijγ where Θαγij=β=1χm,n=1MVmnijΓαβ[C]mλβΓβγ[D]n.

To find out the new decomposition, the new λ's at the bond k and their corresponding Schmidt eigenvectors must be computed and expressed in terms of the Γ's of the decomposition D. The reduced density matrix ρ'[DK] is therefore diagonalized: ρ'[DK]=TrJC|ψψ|=j,j,γ,γργγjj|jγjγ|.

The square roots of its eigenvalues are the new λ's. Expressing the eigenvectors of the diagonalized matrix in the basis: {|jγ} the Γ[D]'s are obtained as well: |Φ'[DK]=j,γΓβγ'[D]jλγ|jγ.

From the left-hand eigenvectors, λβ'|Φβ'[JC]=Φβ'[DK]|ψ=i,j,α,γ(Γβγ'[D]j)*Θαγij(λγ)2λα|αi after expressing them in the basis {|iα}, the Γ[C]'s are: |Φ'[JC]=i,αΓαβ'[C]iλα|αi.

The computational cost

The dimension of the largest tensors in D is of the order O(Mχ2); when constructing the Θαγij one makes the summation over β, 𝑚 and 𝑛 for each γ,α,𝑖,𝑗, adding up to a total of O(M4χ3) operations. The same holds for the formation of the elements ργγjj, or for computing the left-hand eigenvectors λβ'|Φβ'[𝐽𝐶], a maximum of 𝑂(M3χ3), respectively 𝑂(M2χ3) basic operations. In the case of qubits, M=2, hence its role is not very relevant for the order of magnitude of the number of basic operations, but in the case when the on-site dimension is higher than two it has a rather decisive contribution.

The numerical simulation

The numerical simulation is targeting (possibly time-dependent) Hamiltonians of a system of N particles arranged in a line, which are composed of arbitrary OQGs and TQGs:

HN=l=1NK1[l]+l=1NK2[l,l+1].

It is useful to decompose HN as a sum of two possibly non-commuting terms, HN=F+G, where

Feven l(K1l+K2l,l+1)=even lF[l],Godd l(K1l+K2l,l+1)=odd lG[l].

Any two-body terms commute: [F[l],F[l]]=0, [G[l],G[l]]=0 This is done to make the Suzuki–Trotter expansion (ST)[5] of the exponential operator, named after Masuo Suzuki and Hale Trotter.

The Suzuki–Trotter expansion

The Suzuki–Trotter expansion of the first order (ST1) represents a general way of writing exponential operators: eA+B=limn(eAneBn)n or, equivalently eδ(A+B)=eδAeδB+𝑂(δ2).

The correction term vanishes in the limit δ0

For simulations of quantum dynamics it is useful to use operators that are unitary, conserving the norm (unlike power series expansions), and there's where the Trotter-Suzuki expansion comes in. In problems of quantum dynamics the unitarity of the operators in the ST expansion proves quite practical, since the error tends to concentrate in the overall phase, thus allowing us to faithfully compute expectation values and conserved quantities. Because the ST conserves the phase-space volume, it is also called a symplectic integrator.

The trick of the ST2 is to write the unitary operators eiHt as: eiHNT=[eiHNδ]T/δ=[eδ2FeδGeδ2F]n where n=Tδ. The number n is called the Trotter number.

Simulation of the time-evolution

The operators eδ2F, eδG are easy to express, as:

eδ2F=even leδ2F[l] eδG=odd leδG[l]

since any two operators F[l],F[l] (respectively, G[l],G[l]) commute for ll and an ST expansion of the first order keeps only the product of the exponentials, the approximation becoming, in this case, exact.

The time-evolution can be made according to

|ψ~t+δ=eiδ2FeiδGeiδ2F|ψ~t.

For each "time-step" δ, eiδ2F[l] are applied successively to all odd sites, then eiδG[l] to the even ones, and eiδ2F[l] again to the odd ones; this is basically a sequence of TQG's, and it has been explained above how to update the decomposition 𝐷 when applying them.

Our goal is to make the time evolution of a state |ψ0 for a time T, towards the state |ψT using the n-particle Hamiltonian Hn.

It is rather troublesome, if at all possible, to construct the decomposition 𝐷 for an arbitrary n-particle state, since this would mean one has to compute the Schmidt decomposition at each bond, to arrange the Schmidt eigenvalues in decreasing order and to choose the first χc and the appropriate Schmidt eigenvectors. Mind this would imply diagonalizing somewhat generous reduced density matrices, which, depending on the system one has to simulate, might be a task beyond our reach and patience. Instead, one can try to do the following: Template:Ordered list

Error sources

The errors in the simulation are resulting from the Suzuki–Trotter approximation and the involved truncation of the Hilbert space.

Errors coming from the Suzuki–Trotter expansion

In the case of a Trotter approximation of 𝑝𝑡 order, the error is of order δp+1. Taking into account n=Tδ steps, the error after the time T is: ϵ=Tδδp+1=Tδp

The unapproximated state |ψ~Tr is:

|ψ~Tr=1ϵ2|ψTr+ϵ|ψTr

where |ψTr is the state kept after the Trotter expansion and |ψTr accounts for the part that is neglected when doing the expansion.

The total error scales with time T as: ϵ(T)=1|ψTr~|ψTr|2=11+ϵ2=ϵ2

The Trotter error is independent of the dimension of the chain.

Errors coming from the truncation of the Hilbert space

Considering the errors arising from the truncation of the Hilbert space comprised in the decomposition D, they are twofold.

First, as we have seen above, the smallest contributions to the Schmidt spectrum are left away, the state being faithfully represented up to: ϵ(𝐷)=1n=1N1(1ϵn) where ϵn=α=χcχ(λα[n])2 is the sum of all the discarded eigenvalues of the reduced density matrix, at the bond 𝑛. The state |ψ is, at a given bond 𝑛, described by the Schmidt decomposition: |ψ=1ϵn|ψD+ϵn|ψD where |ψD=11ϵnαn=1χcλαn[n]|Φαn[1..n]|Φαn[n+1..N] is the state kept after the truncation and |ψD=1ϵnαn=χcχλαn[n]|Φαn[1..n]|Φαn[n+1..N] is the state formed by the eigenfunctions corresponding to the smallest, irrelevant Schmidt coefficients, which are neglected. Now, ψD|ψD=0 because they are spanned by vectors corresponding to orthogonal spaces. Using the same argument as for the Trotter expansion, the error after the truncation is: ϵn=1|ψ|ψD|2=α=χcχ(λα[n])2

After moving to the next bond, the state is, similarly: |ψD=1ϵn+1|ψD+ϵn+1|ψD The error, after the second truncation, is: ϵ=1|ψ|ψ'D|2=1(1ϵn+1)|ψ|ψD|2=1(1ϵn+1)(1ϵn) and so on, as we move from bond to bond.

The second error source enfolded in the decomposition D is more subtle and requires a little bit of calculation.

As we calculated before, the normalization constant after making the truncation at bond l ([1..l]:[l+1..N]) is: R=αl=1χc|λαl[l]|2=1ϵl

Now let us go to the bond 𝑙1 and calculate the norm of the right-hand Schmidt vectors Φαl1[l1..N]; taking into account the full Schmidt dimension, the norm is: n1=1=αl=1χc(cαl1αl)2(λαl[l])2+αl=χcχ(cαl1αl)2(λαl[l])2=S1+S2,


where (cαl1αl)2=il=1d(Γαl1αl[l]il)*Γαl1αl[l]il.

Taking into account the truncated space, the norm is: n2=αl=1χc(cαl1αl)2(λαl[l])2=αl=1χc(cαl1αl)2(λαl[l])2R=S1R

Taking the difference, ϵ=n2n1=n21, we get: ϵ=S1R11RR=ϵl1ϵl0  as  ϵl0

Hence, when constructing the reduced density matrix, the trace of the matrix is multiplied by the factor: |ψD|ψD|2=1ϵl1ϵl=12ϵl1ϵl

The total truncation error

The total truncation error, considering both sources, is upper bounded by: ϵ(D)=1n=1N1(1ϵn)n=1N112ϵn1ϵn=1n=1N1(12ϵn)

When using the Trotter expansion, we do not move from bond to bond, but between bonds of same parity; moreover, for the ST2, we make a sweep of the even ones and two for the odd. But nevertheless, the calculation presented above still holds. The error is evaluated by successively multiplying with the normalization constant, each time we build the reduced density matrix and select its relevant eigenvalues.

"Adaptive" Schmidt dimension

One thing that can save a lot of computational time without loss of accuracy is to use a different Schmidt dimension for each bond instead of a fixed one for all bonds, keeping only the necessary amount of relevant coefficients, as usual. For example, taking the first bond, in the case of qubits, the Schmidt dimension is just two. Hence, at the first bond, instead of futilely diagonalizing, let us say, 10 by 10 or 20 by 20 matrices, we can just restrict ourselves to ordinary 2 by 2 ones, thus making the algorithm generally faster. What we can do instead is set a threshold for the eigenvalues of the SD, keeping only those that are above the threshold.

TEBD also offers the possibility of straightforward parallelization due to the factorization of the exponential time-evolution operator using the Suzuki–Trotter expansion. A parallel-TEBD has the same mathematics as its non-parallelized counterpart, the only difference is in the numerical implementation.

References