• Tidak ada hasil yang ditemukan

Formulation of QITE

Dalam dokumen intermediate-scale quantum computers (Halaman 43-49)

Chapter II: Quantum imaginary time evolution (QITE) for the determination

2.3 Formulation of QITE

The quantum imaginary time evolution algorithm (QITE) was proposed by our collaborators [49] as an alternative to treat the Hamiltonian ground state problem on NISQ devices. QITE is a quantum analogue to the imaginary time evolution [66],

Figure 2.2: Implementation of VQE to solve for the ground state energy of BeH2. (Left) Hardware-efficient quantum circuit for trial state preparation and energy estimation, shown here for 6 qubits. The circuit is composed of a sequence of interleaved single-qubit rotations, and entangling unitary operations UENT that entangle all the qubits in the circuit. A final set of post-rotations prior to qubit readout are used to measure the expectation values of the terms in the qubit Hamiltonian, and estimate the energy of the trial state. (Right) energy minimization for the six-qubit Hamiltonian describing BeH2. The figure is reproduced from [63].

an approach commonly employed on classical computers to find the ground state wavefunction and energy of a system of interest [67]. The method does not require the deep circuits commonly found in quantum phase estimation algorithms, and does not need to solve the high-dimensional optimization problem that is encountered frequently in VQE.

2.3.1 Imaginary time evolution

For a system described by the Hamiltonian ˆ𝐻, the imaginary time dynamics of a state|πœ“βŸ©is governed by

βˆ’πœ•π›½|πœ“βŸ©=𝐻ˆ|πœ“βŸ© (2.3)

where𝛽=𝑖𝑑withℏis taken to be one for convenience. Assuming that the Hamilto- nian is time-independent, then for an initial state |πœ“(0)⟩, the normalized imaginary time evolution to imaginary time𝜏is given by

|πœ“(𝜏)⟩ =Nβˆ’1/2(𝜏)π‘’βˆ’πœπ»Λ†|πœ“(0)⟩, N = βŸ¨πœ“(0) |π‘’βˆ’2πœπ»Λ†|πœ“(0)⟩ (2.4) where the normalization factorN (𝜏)arises due to the fact that the propagatorπ‘’βˆ’πœ 𝐻 is non-unitary. The ground state wavefunction and energy of ˆ𝐻 can be obtained

using imaginary time evolution as

|πœ“βŸ©π‘”π‘Ÿ π‘œπ‘’π‘›π‘‘ 𝑠𝑑 π‘Žπ‘‘ 𝑒 =limπ›½β†’βˆžπ‘’βˆ’π›½π»Λ†|πœ“βŸ©/||π‘’βˆ’π›½π»Λ†|πœ“βŸ© || (2.5) 2.3.2 QITE

The challenge in implementing imaginary time evolution on a quantum computer arises from the fact that the imaginary time propagator is non-unitary. The difficulty can be circumvented as such: First, consider a geometric k-local Hamiltonian ˆ𝐻 = Í

π‘Ÿ β„ŽΛ†π‘Ÿ(where each term Λ†β„Žπ‘Ÿ acts on at most π‘˜ neighbouring qubits) and perform a first-order Trotter decomposition of the imaginary time propagator:

π‘’βˆ’πœπ»Λ† =(π‘’Ξ”πœπ»Λ†)𝑛+ O (Ξ”πœ), Ξ”πœ= 𝜏 𝑛

(2.6) At the(π‘š+1)th Trotter step, the normalized state|πœ“(π‘š+1)⟩is given by

|πœ“(π‘š+1)⟩ =𝑐(π‘š+1)βˆ’1/2π‘’βˆ’Ξ”πœπ»Λ†|πœ“(π‘š)⟩ (2.7) 𝑐(π‘š+1) =βŸ¨πœ“(π‘š) |π‘’βˆ’2Ξ”πœπ»Λ†|πœ“(π‘š)⟩ (2.8)

β‰ˆ 1βˆ’2Ξ”πœβŸ¨πœ“(π‘š) |𝐻ˆ|πœ“(π‘š)⟩ (2.9) Our collaborator’s approach is to find a unitary operatorπ‘’βˆ’π‘– 𝐴(π‘š) that maps|πœ“(π‘š)⟩

to|πœ“(π‘š+1)⟩. 𝐴(π‘š)can be expanded as a sum of Pauli basis that spans the system:

𝐴(π‘š)= βˆ‘οΈ

𝑖1,𝑖2,...,𝑖 π‘˜

π‘Ž(π‘š)𝑖1𝑖2...π‘–π‘˜πœŽπ‘–

1 βŠ—πœŽπ‘–

2...βŠ—πœŽπ‘–

π‘˜ (2.10)

withπ‘Ž(π‘š)𝑖1𝑖2...π‘–π‘˜ being the coefficient of the𝑖1𝑖2...π‘–π‘–π‘˜ Pauli basis at step m and π‘˜ is the size of the system.

To determine the weights, the rotated state|πœ“Λœ(π‘š+1)⟩ can be defined as

|πœ“Λœ(π‘š+1)⟩ =π‘’βˆ’π‘– 𝐴(π‘š)|πœ“(π‘š)⟩ (2.11) and define the difference between this rotated state and the previous state as

|Ξ”βŸ©=|πœ“Λœ(π‘š+1)⟩ βˆ’ |πœ“(π‘š)⟩ (2.12)

β‰ˆ βˆ’π‘– 𝐴(π‘š) |πœ“(π‘š)⟩

where the last line is obtained by making an approximation that the rotation is so small thatπ‘’βˆ’π‘– 𝐴(π‘š)|πœ“(π‘š)⟩ β‰ˆ |πœ“(π‘š)⟩ βˆ’π‘– 𝐴(π‘š) |πœ“(π‘š)⟩. Define the original difference as

|Ξ”0⟩ =|πœ“(π‘š+1)⟩ βˆ’ |πœ“(π‘š)⟩ (2.13)

The distance squared between the two states; 𝑓 =|| |Ξ”βŸ© βˆ’ |Ξ”0⟩ ||2is given by 𝑓 =𝑓0+ 𝑖

√︁

𝑐(π‘š+1)

βŸ¨Ξ”0|βˆ‘οΈ

𝐼

π‘ŽπΌπœŽπΌ|πœ“(π‘š)⟩ βˆ’ 𝑖

√︁

𝑐(π‘š+1)

βˆ‘οΈ

𝐼

π‘ŽπΌβŸ¨πœ“(π‘š) |πœŽβ€ 

𝐼|Ξ”0⟩ (2.14) +βˆ‘οΈ

𝐼 ,𝐽

π‘ŽπΌπ‘Žπ½βŸ¨πœ“(π‘š) |𝜎𝐼𝜎𝐽|πœ“(π‘š)⟩

where the index 𝐼 , 𝐽 is used to suppress the index 𝑖1𝑖2...π‘–π‘˜ and 𝑓0 = βŸ¨Ξ”0|Ξ”0⟩. To obtain the coefficients, minimize this distance with respect to the coefficients π‘ŽπΌ gives

(S+S𝑇)x=b (2.15)

𝑆𝐼 ,𝐽 =βŸ¨πœ“(π‘š) |𝜎𝐼𝜎𝐽|πœ“(π‘š)⟩ (2.16) 𝑏𝐼 = 2

√︁

𝑐(π‘š+1)

𝐼 π‘šβŸ¨πœ“(π‘š) |πœŽπΌπ»Λ†|πœ“(π‘š)⟩ (2.17) where π‘₯ is the vector of the desired coefficients π‘ŽπΌ. Solving this system of lin- ear equations requires measurement over the Pauli basis to obtain all the required expectation values as described in Chapter1.1.

2.3.3 Complexity analysis of QITE

Here, a summary of the complexity analysis presented in [49] is provided. The analysis begin by considering a state |Ψ⟩ with finite correlation length extending over𝐢qubits (that is, correlations between observables separated by distance𝐿that are bounded by exp(βˆ’πΏ/𝐢)) and a π‘˜βˆ’local Hamiltonian represented by Λ†β„Žπ‘š. It is argued [49] that the normalized stateπ‘’βˆ’Ξ”πœβ„ŽΛ†π‘š|Ψ⟩/||π‘’βˆ’Ξ”πœβ„ŽΛ†π‘š|Ψ⟩||can be generated by a unitary π‘’βˆ’π‘–Ξ”πœπ΄Λ†[π‘š] acting on a domain of width at most 𝑂(𝐢) qubits surrounded the qubits acted on by Λ†β„Žπ‘š.

As a result, the unitary can be determined by performing measurements and solving the least squares problem in this domain (Fig. 2.3). For example, for a nearest- neighbor local Hamiltonian on a 𝑑-dimension cubic lattice, the domain size 𝐷 is bounded by𝑂(𝐢𝑑).

In many physical systems, it is expected that the maximum correlation length throughout the Trotter steps should increase with 𝛽 and saturate for 𝐢max β‰ͺ 𝑁 [68]. Fig. 2.3 shows the mutual information between qubits𝑖 and 𝑗 as a function of imaginary time in the 1-D and 2-D ferromagnetic transverse field Ising models computed by tensor network simulation, demonstrating a monotonic increase and clear saturation.

Figure 2.3: Physical foundations of the quantum imaginary time evolution algorithm. (a) Schematic of the QITE algorithm. Top: imaginary-time evolution under a geometric π‘˜-local operator Λ†β„Ž[π‘š]can be reproduced by a unitary operation acting on 𝐷 > π‘˜ qubits. Bottom: exact imaginary-time evolution starting from a product state requires unitaries acting on a domain 𝐷that grows with correlations.

(b,c) Left: mutual information 𝐼(𝑖, 𝑗) between qubits𝑖, 𝑗 as a function of distance 𝑑(𝑖, 𝑗) and imaginary time 𝛽, for a 1-D (b) and a 2D (c) FM transverse-field Ising model, with β„Ž = 1.25, 50 qubits and β„Ž = 3.5, 21Γ—31 qubits respectively. 𝐼(𝑖, 𝑗) saturates at longer times. Right: relative error in the energy Δ𝐸 and fidelity 𝐹 = |⟨Φ(𝛽) |Ψ⟩|2 between the finite-time state Ξ¦(𝛽) and infinite-time state Ξ¨ as a function of 𝛽. The noise in the 2-D fidelity error at large 𝛽 arises from the approximate nature of the algorithm used. The figure is reproduced from [49].

To thus compare the algorithm with its classical counterpart, it is argued that the number of measurements and classical storage at a given time step (starting prop- agation from a product state) is bounded by exp(𝑂(𝐢𝑑)) (with𝐢 the correlation length at that time step), since each unitary at that step acts on at most𝑂(𝐢𝑑)sites;

classical solution of the least squares problem has a similar scaling exp(𝑂(𝐢𝑑)), as does the synthesis and application as a quantum circuit (composed of two-qubit gates) of the unitary π‘’βˆ’π‘–Ξ”πœπ΄Λ†[π‘š]. Thus, space and time requirements are bounded by exponentials in 𝐢𝑑, but are polynomial in 𝑁 when one is interested in a local approximation of the state (the polynomial in𝑁comes from the number of terms in 𝐻). Since 𝐢 saturates, compared with a direct classical implementation of imagi- nary time evolution, the cost of a QITE time step (for bounded𝐢) is linear in 𝑁 in space and polynomial in 𝑁 in time, thus giving an exponential reduction in space and time.

2.3.4 Lanczos algorithm on quantum computer

The Lanczos algorithm is an especially economical realization of a quantum sub- space method [69, 70]. The Lanczos algorithm typically converges much more quickly than imaginary time evolution, and often in physical simulations only tens of iterations are needed to converge to good precision. Thus, the implementation of the Lanczos algorithm with QITE [49] offer practical advantages in ground state computation. We present its formulation [49] here.

Starting from a trial wavefunction|πœ™βŸ©, the Lanczos iteration constructs the Hamil- tonian matrixHΛ† in a successively enlarged Krylov subspace{|πœ™βŸ©,𝐻ˆ|πœ™βŸ©,𝐻ˆ2|πœ™βŸ©, ...};

diagonalizingHˆ yields an estimate of the ground state energies that practically con- verges much more quickly than direct imaginary time evolution. In addition, the method provides an estimate of the excited state energies.

The QITE subroutine can be used to construct a quantum analogue of the Lanczos scheme. Starting from a trial wavefunction|πœ™βŸ©, QITE can be used to generate a set of wavefunctions given by

|πœ™π‘™βŸ© =π‘’βˆ’π‘™Ξ”πœπ»Λ†|πœ™βŸ©/||π‘’βˆ’π‘™Ξ”πœπ»Λ†|πœ™βŸ© ||, 0≀ 𝑙 < πΏπ‘š π‘Žπ‘₯

β‰‘π‘›π‘™π‘’βˆ’π‘™Ξ”πœπ»Λ†|πœ™βŸ© (2.18)

where𝑛𝑙 is the normalization constant. The matricesSΛ† andHΛ† are defined with the following matrix elements

Λ†

𝑆𝑙 ,𝑙′ = βŸ¨πœ™π‘™|πœ™π‘™β€²βŸ©, 𝐻ˆ𝑙 ,𝑙′ = βŸ¨πœ™π‘™|𝐻ˆ|πœ™π‘™β€²βŸ© (2.19) Let 2π‘Ÿ =𝑙+𝑙′, the matrix elements can be expressed as

Λ†

𝑆𝑙 ,𝑙′ = 𝑛𝑙𝑛𝑙′

𝑛2π‘Ÿ

, 𝐻ˆ𝑙 ,𝑙′ = 𝑛𝑙𝑛𝑙′

𝑛2π‘Ÿ

βŸ¨πœ™π‘Ÿ|𝐻|πœ™π‘ŸβŸ© (2.20) Since the normalization factorπ‘›π‘Ÿ can be computed recursively by

1 𝑛2

π‘Ÿ+1

= βŸ¨πœ™π‘Ÿ|π‘’βˆ’2Ξ”πœπ»Λ†|πœ™π‘ŸβŸ© 𝑛2π‘Ÿ

(2.21) the matrices ˆ𝑆 and ˆ𝐻 can be constructed by performing sequential imaginary time steps and storing the energy and norm at each step.

The generalized eigenvalue equationHxΛ† = 𝐸SxΛ† can be solved to find an approxi- mation to the ground state |πœ™

β€²βŸ© = Í

𝑙π‘₯𝑙|πœ™π‘™βŸ© for the ground state. In practice, this eigenvalue equation can be numerically ill-conditioned because S can contain small

and negative eigenvalues for the following reasons: (i) |πœ™π‘™βŸ© can become linearly- dependent and (ii) simulations have finite precision as well as noise arising from sampling and hardware imperfections.

To regularize the problem, out of the set of time-evolved states, a well-behaved sequence can be extracted by the following: (i) start from |πœ™π‘™ π‘Ž π‘ π‘‘βŸ© = |πœ™0⟩, (ii) add the next |πœ™π‘™βŸ© in the set of time-evolved states s.t. |βŸ¨πœ™π‘™|πœ™π‘™ π‘Ž π‘ π‘‘βŸ©| < 𝑠, where s is a regularization parameter 0< 𝑠 < 1, (iii) repeat (i) and (ii) by setting|πœ™π‘™ π‘Ž π‘ π‘‘βŸ©= |πœ™π‘™βŸ© The generalized eigenvalue equation Hx˜ = 𝐸˜Sx spanned by this regularized se- quence can then be solved.

2.4 Demonstration of QITE and Lanczos on Aspen-1 quantum processor

Dalam dokumen intermediate-scale quantum computers (Halaman 43-49)