원시데이터 수집 시스템
선정목록으로

Shuffle-QUDIO: accelerate distributed VQE with trainability enhancement and measurement reduction

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Qian Yang — School of Computer Science, Faculty of Engineering, The University of Sydney, Darlington, NSW, 2008, Australia
  2. Yuxuan Du — School of Computer Science, Faculty of Engineering, The University of Sydney, Darlington, NSW, 2008, Australia
  3. Dacheng Tao — School of Computer Science, Faculty of Engineering, The University of Sydney, Darlington, NSW, 2008, Australia
DOI
10.1007/s42484-024-00167-y
저널
Quantum Machine Intelligence
발행년도
2024
발행기관
Springer Science+Business Media
피인용수
5
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s42484-024-00167-y
토픽
Advancements in Photolithography Techniques
OpenAlex ID
W4398776124

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract The variational quantum eigensolver (VQE) is a leading strategy that exploits noisy intermediate-scale quantum (NISQ) machines to tackle chemical problems. It is expected to demonstrate quantum advantage when handling a large number of qubits, where the density matrix cannot be processed efficiently on classical computers. To gain such computational advantages on large-scale problems, a feasible solution is the QU antum DI stributed O ptimization (QUDIO) scheme, which partitions the original problem into $$\varvec{K}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mi>K</mml:mi> </mml:mrow> </mml:math> subproblems and allocates them to $$\varvec{K}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mrow> <mml:mi>K</mml:mi> </mml:mrow> </mml:math> quantum machines followed by the parallel optimization. Despite the provable acceleration ratio, the efficiency of QUDIO may heavily degrade by the synchronization operation. To conquer this issue, here we propose Shuffle-QUDIO to involve shuffle operations into local Hamiltonians during the quantum distributed optimization. Compared with QUDIO, Shuffle-QUDIO significantly reduces the communication frequency among quantum processors and simultaneously achieves better trainability. Particularly, we prove that Shuffle-QUDIO enables a faster convergence rate over QUDIO. Extensive numerical experiments are conducted to verify that Shuffle-QUDIO allows both a wall-clock time speedup and low approximation error in the tasks of estimating the ground state energy of a molecule. We empirically demonstrate that our proposal can be seamlessly integrated with other acceleration techniques, such as operator grouping, to further improve the efficacy of VQE.

본문 45,504자

본문 펼치기
The variational quantum eigensolver (VQE) is a leading strategy that exploits noisy intermediatescale quantum (NISQ) machines to tackle chemical problems outperforming classical approaches.To gain such computational advantages on large-scale problems, a feasible solution is the QUantum DIstributed Optimization (QUDIO) scheme, which partitions the original problem into K subproblems and allocates them to K quantum machines followed by the parallel optimization.Despite the provable acceleration ratio, the efficiency of QUDIO may heavily degrade by the synchronization operation.To conquer this issue, here we propose Shuffle-QUDIO to involve shuffle operations into local Hamiltonians during the quantum distributed optimization.Compared with QUDIO, Shuffle-QUDIO significantly reduces the communication frequency among quantum processors and simultaneously achieves better trainability.Particularly, we prove that Shuffle-QUDIO enables a faster convergence rate over QUDIO.Extensive numerical experiments are conducted to verify that Shuffle-QUDIO allows both a wall-clock time speedup and low approximation error in the tasks of estimating the ground state energy of molecule.We empirically demonstrate that our proposal can be seamlessly integrated with other acceleration techniques, such as operator grouping, to further improve the efficacy of VQE. I. INTRODUCTION Quantum computing is expected to demonstrate advantages over classical computers in dealing with certain tasks, such as boson sampling [1][2][3] and integer factorization [4,5].With the advent of noisy intermediatescale quantum (NISQ) era [6,7], Google has experimentally verified that when sampling the output of a pseudorandom quantum circuit, current NISQ devices can run faster than the state-of-the-art classical computers [8].Recently, USTC has achieved more difficult sampling tasks on Zuchongzhi 2.1 to further push the frontier of quantum computational advantages [9].However, the unavoidable system noise and the restricted coherence time prevent the execution of complicated quantum algorithms on NISQ devices.To accommodate the limitations of NISQ machines, variational quantum algorithms (VQAs) [10][11][12][13][14] which employ a classical optimizer to train a parametrized quantum circuit, have emerged.Concisely, VQAs alternately interact between quantum circuits and classical optimizers, while the former evolves the quantum state and outputs classical information by measurements, and the latter is responsible for seeking the best parameters of quantum circuit to minimize the discrepancy between the predictions and the targets.Pioneer studies have verified the power of VQAs in quantum finance [15,16], quantum chemistry [17][18][19][20][21][22][23][24][25][26][27], manybody physics [28][29][30], machine learning [31][32][33][34][35], and com-binational optimization [36][37][38][39][40][41] from both theoretical and experimental aspects. I. INTRODUCTION Although VQAs promise the practical applications of NISQ machines, they are challenged by the scalability issue.The required number of measurements for VQAs scales with O(poly(n, 1/ )) with n being the problem size and being the tolerable error, which implies an expensive runtime for large-scale problems.One canonical instance is the variational quantum eigensolver (VQE) [42], which is developed to estimate the low-lying energies and corresponding eigenstates of molecule systems.VQE contains two key steps.First, the electronic Hamiltonian is reformulated to the qubit Hamiltonian H = M i=1 α i H i through Jordan-Wigner, Bravyi-Kitaev, or parity transformations [43][44][45], where H i ∈ {σ X , σ Y , σ Z , σ I } ⊗n and α i ∈ R for ∀i ∈ [M ], and M is the number of Pauli operators.The property of H is then estimated by a variational quantum circuit whose parameters are updated by a classical optimizer.Principally, it requires O(poly(M, 1/ )) queries to the quantum circuit in each iteration to collect the updating information [46].With this regard, VQEs towards large-scale molecules request an intractable time expense on the measurements.This scalability issue impedes the journey of VQEs to the quantum advantages. I. INTRODUCTION Approaches for reducing the computational overhead of quantum measurements in VQE can be roughly classified into five categories, including operator grouping [47][48][49][50], ansatz adjustment [51,52], shot allocation [53][54][55], classical shadows [56,57], and distributed optimization [58][59][60][61].Specifically, the operator grouping strategy focuses on finding the commutativity between local Hamiltonian terms {H i } in H.The commutable Hamiltonians can be evaluated by the same measurements, which enable the measurement reduction [19,[47][48][49][50]. Ansatz adjustment targets to tailor the layout of ansatz to reduce the circuit depth [17,51,62] or the number of qubits [52].For example, Ref. [51] attempts to assign two qubits with stronger mutual information to the adjacent locations with direct connectivity on the physical quantum chips, leading to shallower circuits over the original VQEs to reach a desired accuracy.Shot allocation aims to assign the number of shots among {H i } in a more intelligent way.A typical solution is to allocate more shots to the terms with a larger coefficient |α i | and a larger variance of H i .Another measurement reduction method, classical shadows, constructs an approximate classical representation of a quantum state based on few measurements of the state [56].With this representation, O(log(M )) measurements are enough to estimate the expectation value of whole observable with high precision. I. INTRODUCTION On par with engineering the quantum part, we can accelerate the optimization of VQE by using multiple quantum processors (workers), inspired by the success of distributed optimization in deep learning and the growing number of available quantum chips.There are generally two types of distributed VQAs.The first paradigm is decomposing the primal quantum systems into multiple smaller circuits and running them in parallel [63,64].The second paradigm is utilizing the quantum cloud server in which the problem Hamiltonian can be pre-divided into several partitions and distributed into Q local quantum workers respectively.Each worker estimates the expectation value of partial local Hamiltonians with no more than O(poly(M/Q)) queries and delivers the result to the rest workers after a single iteration.Noticeably, such a methodology inevitably encounters the communication bottleneck, quantum circuit noise, and the risk of privacy leakage.As such, Ref. [60] devises the QUantum DIstributed Optimization (QUDIO), a novel distributed-VQA scheme in a lazy communication manner, to address this issue.Unfortunately, the naive allocation method is not suitable for VQEs since the coefficients {α i } of the local Hamiltonian terms {H i } are varied, leading to unbalanced contributions to the overall variance of Hamiltonian estimation.Such an estimation error can be exacerbated by the increased communication interval, which renders the trade-off between the acceleration ratio and the approximation error of VQEs. I. INTRODUCTION To maximally suppress the negative effects of large communication interval on the convergence rate, here we propose a new quantum distributed optimization framework, called Shuffle-QUDIO.Different from QUDIO, for every local worker, the local Hamiltonian terms are randomly shuffled and sampled without replacement according to the worker's rank before each iteration.From the statistically view, this operation alleviates the issue such that every local worker may only observe incomplete local Hamiltonians during the optimization.Moreover, the dynamic allocation of Hamiltonian terms alleviates the accumulated deviation with respect to the target Hamiltonian H after a large number of local updates.In this way, Shuffle-QUDIO achieves performance improvements while keeping low communication cost.Another advantage of our proposal is its compatibility with all types of quantum hardware.This assures its potential of unifying existing quantum devices to accelerate the training of VQEs. I. INTRODUCTION To theoretically exhibit the advance of our proposal, we prove that Shuffle-QUDIO allows a faster convergence rate than that of QUDIO.By leveraging the non-convex optimization theory, we exhibit that the dominate factors effecting the convergence rate are the number of distributed quantum machines K, the local updates (communication interval) W , and the global iterations T , i.e., O(poly(W, K, 1/T )).To benchmark the performance of Shuffle-QUDIO, we conduct systematic numerical experiments on VQEs under both fault-tolerant and noisy scenarios.The achieved results confirm that Shuffle-QUDIO achieves smaller approximation error over QUDIO, as well as lower communication overhead among clients and server, and sub-linear speedup ratio.In addition, we demonstrate that the performance of Shuffle-QUDIO under the noisy setting can be further boosted by combining the advanced operator grouping strategy. I. INTRODUCTION The remaining parts of this paper are organized as follows.Section II briefly introduces the preliminary knowledge about the optimization of variational quantum circuits.Section III presents the pipeline of the proposed algorithm and presents the convergence analysis.Section IV exhibits numerical simulation results.Section V gives a summary and discusses the outlook. II. PRELIMINARY The essence of VQE is tuning an n-qubit parameterized quantum state ρ(θ) = |ψ(θ) ψ(θ)| with θ ∈ R P to minimize the energy of a problem Hamiltonian II. PRELIMINARY where H i refers to the i-th local Hamiltonian term with the weight α i .The energy minimization is formulated by the loss function II. PRELIMINARY With a slight abuse of notation, we denote H i as α i H i and simplify the above loss function as II. PRELIMINARY Tr(ρ(θ)H i ). II. PRELIMINARY The parameterized quantum state is prepared by an ansatz with |ψ(θ) = U (θ) |φ and |φ being an initial quantum state.A generic form of U (θ) is II. PRELIMINARY where O i is a Hermitian matrix and U e denotes a fixed unitary composed of multi-qubit gates.By iteratively updating the circuit parameters θ to minimize the loss, the quantum state ρ(θ) is expected to approach the eigenstate of H with the minimum eigenvalue. A. Optimization of VQE Gradient descent (GD) based optimizers are widely used in previous literatures of VQE.The parameters θ t+1 at the (t + 1)-th iteration is updated alongside the steepest descent direction with learning rate η, i.e., θ t+1 = θ t − η∇L(θ t , H). A. Optimization of VQE ( A. Optimization of VQE Unlike classical neural networks that utilize gradient back-propagation to update parameters [65], VQE adopts the parameter-shift rule [66,67] to obtain the unbiased estimation of the gradient.The gradient with respect to the i-th parameter is A. Optimization of VQE where e i denotes the indicator vector for the i-th element of parameter vector θ.When the number of trainable parameters is P , the required number of measurements to complete the gradient computation scales with O(poly(P M )) without applying any measurement reduction strategies. B. Optimization of the distributed VQE To accelerate the training of VQA, Ref. [60] proposed the QUantum DIstributed Optimization (QUDIO) scheme.The key idea of QUDIO is to partition the problem Hamiltonian H in Eq. (1) into several groups and distribute them into multiple quantum processors to be manipulated in parallel.Mathematically, suppose that there are K available quantum processors {Q i } K i=1 , the Hamiltonian terms B. Optimization of the distributed VQE In the initialization process, the i-th subgroup S i is allocated to the i-th quantum processor B. Optimization of the distributed VQE All local processors share the same initial parameters θ 0 with θ (0,0) i = θ 0 for ∀i ∈ [K].The subsequent training process alternately switches between the local updates and the global synchronization.During the phase of local updates, each quantum processor follows the gradient descent rule to update the parameters to minimize the local loss function L(θ i , H Si ) = j∈Si Tr(ρ(θ i )H j ), i.e., the parameters of the i-th processor at the (t, w)-th step is updated as Eq.(3).After fulfilling W local updates, all parameters from distributed quantum processors are synchronized by averaging the collected parameters B. Optimization of the distributed VQE . Repeating the above two phases until the termination conditions (e.g. the maximum number of iterations) are met, the synchronized parameters are returned as the final parameters. B. Optimization of the distributed VQE Ignoring the communication overhead among quantum processors, QUDIO with W = 1 is expected to linearly accelerate the optimization of VQE.However, the communication bottleneck could degrade the acceleration efficiency.An optional solution is to increase W to reduce the communication frequency.As indicated in [60], the performance of VQA witnesses a rapid drop with the increased W . III. SHUFFLE-QUDIO FOR VQE The performance of QUDIO suffers from a high sensitivity of the communication interval.Intuitively, this issue originates from the fact that each quantum processor in QUDIO only perceives a static subset of the whole observable set during the entire training process.The i-th processor updates its local parameters based on the partial observations before communicating with other processors.Meantime, the coefficients {α i } and the variance of Pauli operators {H i } differ from each other, leading to different contributions to the expectation estimation of H.As a result, the local processor fails to characterize the full property of the problem Hamiltonian H.With multiple local updates, the accumulation of bias further degrades the performance of QUDIO.To tackle this issue, here we devise a novel quantum distributed optimization scheme, called Shuffle-QUDIO, to avoid the performance drop when synchronizing in a low frequency. A. Algorithm descriptions The paradigm of Shuffle-QUDIO is depicted in Fig. 1, which consists of three steps. Initialization. The variational quantum circuit U (θ) in Eq. ( 2) of each quantum processor is initialized with the same parameters θ (0,0) i = θ 0 for i = {1, ..., K} and all local Hamiltonian terms {H i } are distributed to each processor. Local updates. Each processor independently up- dates the parameters θ (t,w) i following the gradient descent principle.First, Shuffle-QUDIO randomly shuffles the sequence of local Hamiltonian terms.Note that the random number of each processor is generated from the same random seed.Assuming the permutation vector is denoted by π (t,w) , the visible Hamiltonians for the i-th processor at the t-th iteration are Local updates. Each processor independently up- Then each processor estimates the gradient g dient on the quantum device due to the finite number of measurements, while ∇L refers to the corresponding accurate gradient.The parameters are updated as Local updates. Each processor independently up- where η is the learning rate.Repeat the above local updates for W local steps. Local updates. Each processor independently up- 3. Global synchronization.Once the local updates are completed, the central server synchronizes parameters among all quantum processors in an averaged manner, i.e., Local updates. Each processor independently up- If the number of the global iterations reaches T , the parameters θ T are returned as the output; otherwise, return back to step 2. Local updates. Each processor independently up- The pseudo code of Shuffle-QUDIO is summarized in Fig. 2. Compared with conventional VQE which sequentially measures the expectation value of every single observable, the strategy of distributed parallel optimization accelerates the estimation of the complete observables by K times.Furthermore, the shuffling operation alleviates the deviation of the optimization direction during the local updates and thus warrants a stabler performance after increasing communication interval.This is because in a statistical view, each processor can leverage the information of all local Hamiltonian terms to update local parameters in the training process. Local updates. Each processor independently up- Let ρ(θ) be an n-qubit quantum state parameterized by θ.For any k ∈ {1, ..., M }, let H π(1) , ..., H π(k) be uniformly sampled without replace- Local updates. Each processor independently up- Refer to Appendix B for proof details.Lemma 1 implies that the direction of the expected gradient of each local quantum processor in Shuffle-QUDIO is unbiased.This guarantees that the local quantum circuits are individually optimized forward along the right direction when they do not communicate frequently with each other, which narrows the performance gap between a single processor and the synchronized model. Local updates. Each processor independently up- 1: Input: The initialized parameters θ (0) ∈ [0, 2π) P , the employed loss function L = Tr(ρ(θ)H), the given Hamilton Local updates. Each processor independently up- Hamiltonian term Hi in order 3: Local updates. Each processor independently up- for Quantum processor Qi, ∀i ∈ [K] in parallel do 5: Local updates. Each processor independently up- Obtain π (t,w) by randomly shuffling the elements of π (t,w−1) 9: Obtain the subset of Hamiltonian terms 9: Compute the estimated gradients g 9: end for B. Convergence analysis We next show the convergence guarantee of Shuffle-QUDIO.When running VQE on NISQ devices, the system imperfection introduces noise into the optimization.To this end, we consider the worst scenario in the convergence analysis, where the system noise is modeled by the depolarizing channel.Mathematically, the depolarizing channel N p transforms the quantum state ρ ∈ C 2 n ×2 n to N p (ρ) = (1 − p)ρ + pI/2 n , and with increasing the noise strength p, the quantum state finally evolves to the maximally mixed state.As proved in [68], the depolarizing channel applied on each circuit depth can be merged at the end of the quantum circuit.Therefore, without loss of generality, the estimated gradient with respect to the i-th parameter is B. Convergence analysis The convergence rate of Shuffle-QUDIO is summarized by the following theorem whose proof is provided in Appendix D. B. Convergence analysis Theorem 1.Let the gradient of loss function L be F -Lipschitz continuous, G be the upper bound of the gradient norm, η be the learning rate of optimizer, p be the strength of depolarizing noise, K and W be the number of distributed quantum processor and local iterations respectively, the convergence of Shuffle-QUDIO in the noisy scenario is summarized as B. Convergence analysis Theorem 1 reveals that an increased quantum noise rate p leads to poor convergence of Shuffle-QUDIO, which emphasizes the significance of error mitigation [69][70][71][72] in quantum optimization.Meantime, the shorter communication interval W among distributed quantum processors guarantees a better performance of Shuffle-QUDIO.Note that although a large W still hinders the distributed optimization, Shuffle-QUDIO achieves a relatively smaller sensitivity to W than that of QUDIO.From the technical view, although the proof of Theorem 1 is derived from the classical results on local SGD [73], there are some key differences between them.First, in classical local SGD, each worker independently samples a mini-batch from the whole dataset without other limitations.By contrast, the distributed quantum processors randomly sample the local Hamiltonian terms without replacement in each local iteration, which means that the Hamiltonian terms of each processor do not overlap and the union exactly constitutes the complete molecule Hamiltonians.This special sampling method guarantees the integrity of the problem Hamiltonian, but poses a challenge for theoretical analysis.Second, our analysis does not rely on the strong assumptions, such as convexity or Polyak-Lojasiewicz (PL) condition [74].Furthermore, the quantum noise in NISQ devices inevitably shifts the quantum state and biases the estimated gradients, which differentiates VQE from classical machine learning. IV. NUMERICAL RESULTS To verify the effectiveness of Shuffle-QUDIO, we apply it to estimate the ground state of several molecules with the lowest energy.Jordan-Wigner transformation [45] is employed to transform these electronic Hamiltonians into the qubit Hamiltonians represented by Pauli operators.For example, the LiH system is totally described by 12 qubits and 631 local Pauli terms {σ I , σ X , σ Y , σ Z } ⊗12 .The ansatz is designed in a hardware-efficient style inspired by [19], whose layout is shown in Fig. 3.We conduct numerical experiments on classical device with Intel(R) Xeon(R) Gold 6267C CPU @ 2.60GHz and 128 GB memory.For each setting, the experiment is repeated for 5 times with different random seeds to mitigate the effect of randomness.Stochastic gradient descent is used to update trainable parameters, where the learning rate is set as η = 0.4.The label 'W = a' refers that the number of local iterations is a.The label 'linear speedup' represents the reference line of the linear speedup. A. Acceleration ratio We first explore the speedup of Shuffle-QUDIO.Specifically, under the setting of K quantum processors and W local iterations, we record the time spent per iteration as t K,W 1 and the time spent training the model to reach a specific precision as t K,W 2 . The speedup to time s K,W 1 and the speedup to accuracy s K,W 2 are defined as 2 2 , respectively.Fig. 4 demonstrates the results when solving the ground state of LiH.As shown in the left panel of Fig. 4, with growing the number of the distributed quantum processors, the metric s 1 witnesses a linear growth (from K = 1 to K = 4, s 1 reaches 3 from 1) and then gradually trends gently (from K = 4 to K = 16, s 1 reaches around 4 from 3) because of the communication bottleneck for a large number of nodes.To alleviate the communication bottleneck, we can increase W to reduce the communication frequency and hence further improve the metric s 1 .However, an overwhelmingly larger W may lead to a poor convergence and then deteriorate the speedup to accuracy s 2 .As indicated by the right panel of Fig. 4, when W ≥ 16, the speedup to accuracy s 2 suffers from a rapid drop, which results from the worse convergence brought by a small number of global synchronization. B. Sensitivity to communication frequency We compare QUDIO with Shuffle-QUDIO to show how the increased number of local iterations W effects their performance under the ideal scenario.The molecules LiH with varied inter-atomic length, i.e, 0.3 Å to 1.9 Å with step size 0.2 Å, are explored.For QUDIO, the entire set of Pauli terms constituting the problem Hamiltonian is uniformly partitioned into 32 subsets and distributed into 32 local quantum processors.The accessible Hamiltonian terms for each local processor remain fixed during the whole training process.The number of local iterations W varies in {1, 2, 4, 8, 16, 32}. B. Sensitivity to communication frequency The simulation results of VQE for the molecule LiH with 0.5 Å are illustrated in Fig. 5.Because the number of local iterations W varies among different settings, we uniformly collect data point after every 32 iterations (i.e., the least common multiple of all W ) to guarantee the loss is obtained exactly after synchronization.The first row of Fig. 5 records the loss curves of QUDIO with respect to the training steps under different local iterations W . QUDIO experiences a severe drop of performance, and an evident gap between the estimated and the exact results appears when W ≥ 8.By contrast, as shown in the bottom row of Fig. 5, Shuffle-QUDIO well estimates the exact ground energy even when W = 32.Comparing the subplots of the same column, Shuffle-QUDIO shows a distinct advantage in improving the convergence of the distributed VQE when requiring a lower communication overhead.For example, Shuffle-QUDIO achieves −6.8Ha at the 96-th iteration with W = 8, while QUDIO only reaches −4.1Ha. B. Sensitivity to communication frequency The potential energy surface of LiH solved by the conventional VQE is shown in Fig. 6, where the left panel describes the results of QUDIO with the varied number of local iterations W and the right panel records the results of Shuffle-QUDIO.There exists a distinct boundary among the potential energy surfaces estimated by the different level of W in QUDIO.More precisely, the estimated potential energy surface is gradually away from the exact potential energy surface (black line) with the increased W , which reveals the vulnerability of QUDIO when reducing the communication frequency among distributed workers.By contrast, Shuffle-QUDIO exhibits a fairly stable performance even when increasing W from 1 to 32, drawn from the nearly coincident curves of potential energy surface at each setting of W .Note that the slight gap between the exact potential energy surface and the optimal estimated results originates from the re-stricted expressive power of the employed ansatz, which does not guarantee the prepared state definitely covers the ground state of LiH. B. Sensitivity to communication frequency To further quantify the stability of Shuffle-QUDIO, we statistically compute the mean and standard deviation of the approximation error Err = |E V QE − E ideal | over various bond distances and random seeds.As illustrated in the top subplot of Fig. 7, the average approximation error Err of QUDIO exponentially scales with increased W .When W ≥ 8, the approximation error estimated by QUDIO exceeds 2Ha, which fails to capture the ground state of LiH.Instead, Shuffle-QUDIO achieves an imperceptible increment (0.093) of the approximation error when W grows from 1 to 32, making it possible to largely reduce the communication overhead with a little performance drop.The bottom subplot of Fig. 7 depicts the standard deviation of the approximation error derived by both methods, showing that Shuffle-QUDIO enjoys a smaller variance and a stronger stability than those of QUDIO.These observations provide the convincing empirical evidence that Shuffle-QUDIO efficiently reduces the susceptibility to W in the quantum distributed optimization. C. Sensitivity to quantum noise To better characterize the ability of Shuffle-QUDIO run on NISQ devices, we benchmark its performance under the depolarizing noise and the realistic quantum noise modeled by PennyLane [75].The noise strength of the global depolarizing channel p ranges from 0 to 0.3 with step size 0.1.The realistic noise model is extracted from the 5-qubit IBM ibmq quito device.Note that the measurement error introduced by a finite number of shots is also considered. C. Sensitivity to quantum noise 1XPEHURIORFDOQRGHV. JURXS EDVH OLQHDUVSHHGXS FIG. 8: Speedup of operator grouping to VQE for H2.The label 'base' refers to the case that no operator grouping is applied.The label 'linear speedup' represents the reference line of linear speedup. JURXS EDVH OLQHDUVSHHGXS We first benchmark the performance of Shuffle-QUDIO with the operator grouping when the shot noise is considered.The results are shown in Fig. 8.After applying operator grouping to the molecule Hamiltonian, the trainable quantum state fast converges to the ground state of the molecule than that of the original measurement strategy.In the light of the speedup provided by the operator grouping, we can integrate this technique into the framework of Shuffle-QUDIO to gain better performance.On the other hand, with growing number of quantum processors, the acceleration rate with the operator grouping strategy gradually decays.This phenomenon partially results from the fact that a small number of Hamiltonian terms leads to a small proportion of operators that can be grouped together. JURXS EDVH OLQHDUVSHHGXS We next apply QUDIO, QUDIO with the operator grouping, Shuffle-QUDIO, and Shuffle-QUDIO with the operator grouping to estimate the ground energy of the H 2 molecule under both the system and shot noise.For each method, the hyper-parameters are set as K = 4, W = 32, and the number of measurements is 100.The simulation results are shown in Fig. 9.When the depolarizing noise is not big enough (p <= 0.2), Shuffle-QUDIO achieves much smaller approximation error than QUDIO.When p = 0.3, it appears that the overwhelming noise disables both Shuffle-QUDIO and QUDIO.Under the realistic noise setting, Shuffle-QUDIO still works well with a tolerable approximation error 0.063.By contrast, QUDIO is incapable of estimating the accurate ground state energy.Moreover, the operator grouping can further widen the performance gap between QUDIO and Shuffle-QUDIO, by inhibiting the negative effect of quantum noise on Shuffle-QUDIO. D. Aggregation strategy Shuffle-QUDIO narrows the discrepancy among distributed processors by randomly changing the observables of each processor in every local iteration, which partially guarantee the rationality of taking average of all models for synchronization.To further explore the effect of various aggregation strategy on the performance of Shuffle-QUDIO, we devise three additional model aggregation algorithms, named as random aggregation, median aggregation and weighted aggregation. D. Aggregation strategy • Random aggregation: randomly select a local processor and distribute its parameters of quantum circuit to other processors. D. Aggregation strategy • Median aggregation: rank all local processors by their loss value and select the median as the synchronized quantum circuit. D. Aggregation strategy • Weighted aggregation: combine all quantum circuits of local processors by loss-induced weighted summation.The smaller the value of the loss function for a local processor, the bigger contributions the processor makes to the synchronized quantum model. D. Aggregation strategy Refer to Appendix E for more details.We implement four quantum model aggregation methods in the framework of Shuffle-QUDIO to solve the ground state energy of molecule H 2 and LiH.The hyper-parameters are set as W ∈ {1, 2, 4, 8, 16, 32}, K ∈ {1, 2, 4, 8, 16}.Fig. 10 demonstrates the cumulative distribution function (CDF) of the approximation error to ground state energy.It appears no large cleavage of the approximation error among four aggregation strategies, indicating the strong robustness of Shuffle-QUDIO to quantum model aggregation.This stability may give credit to the introduction of the shuffle operation during distributed quantum computation, which diminishes the bias among different local quantum models.On the other hand, it is worth noting that average aggregation always achieves smaller approximation error with higher probability than random aggregation in the statistical sense.This difference of CDF implies that a superior aggregation algorithm for the quantum distributed optimization could further enhance the efficiency of Shuffle-QUDIO.We leave the design of an optimal aggregation method as the future work. V. DISCUSSION In this paper, we propose Shuffle-QUDIO, as a novel distributed optimization scheme for VQE with faster convergence and strong noise robustness.By introducing the shuffle operation into each iteration, the Hamiltonian terms received by each local processor are not fixed during the optimization.From the statistical view, the shuffle operation warrants that the gradients manipulated by all local processors are unbiased.In this way, Shuffle-QUDIO allows an improved convergence and a lower sensitivity to communication frequency as well as quantum noise.Meanwhile, the operator group strategy can be seamlessly embedded into Shuffle-QUDIO to reduce the number of measurements in each iteration.Theoretical analysis and extensive numerical experiments on VQE further verify the effectiveness and advantages in accelerating VQE and guaranteeing small approximation errors in both ideal and noisy scenarios. V. DISCUSSION Although the random shuffle operation performs well on the H 2 and LiH molecules, the performance can be further improved by developing more advanced shuffling strategies.First, instead of random shuffle, we can design a problem-specific and hardware-oriented Hamiltonian allocation tactic, which can eliminate the deviation of the optimization path of local models and better adapt to the limited quantum resources of various local processors.Second, due to the existence of barren plateau [76][77][78][79][80] in the optimization of ansatz, the training of local quantum models may get stuck.Inspired by the study that local observables enjoy a polynomially vanishing gradient [79], a promising direction is to group Hamiltonian terms with similar locality in QUDIO to avoid the barren plateau of some processors.Finally, a more fine-grained partition of the quantum circuit structure besides observables can be employed to reduce the number of parameters to be optimized for each local processor, as implemented in [52]. V. DISCUSSION Another feasible attempt to enhance the performance of distributed VQE in practice is to unify Shuffle-QUDIO with other measurement reduction techniques.One successful example is operator grouping, as discussed in Section IV C. Specifically, when optimizing the circuit run on each distributed quantum processor, we can utilize the operator grouping strategy to reduce the required number of measurements of the allocated Hamiltonian.In this way, the measurement noise in the framework of Shuffle-QUDIO is eliminated under finite budget of shot number.Other two methods, like shot allocation and classical shadows, can be also integrated into Shuffle-QUDIO in the similar manner. V. DISCUSSION Besides the potential improvements in convergence and speedup for Shuffle-QUDIO, the data privacy leakage during transmitting gradient information among local nodes should be avoided.One the one hand, the shuffle operation in Shuffle-QUDIO naturally adds randomness to the system, hindering the recovery of intact data.On the other hand, previous studies proposed differential privacy [81,82] and blind quantum computing [83] to protect data security.When combining these techniques and Shuffle-QUDIO, it remains open to explore the consequent influence on the convergence of optimization. V. DISCUSSION Apart from utilizing the quantum-specific properties to enhance Shuffle-QUDIO, we can also leverage the experience from classical distributed optimization, such as Elastic Averaging SGD [84], decentralized SGD [85].It is worth noting that the flexibility of Shuffle-QUDIO makes it easy to replace some components with advanced classical techniques, as discussed in Sec.IV D. Taken together, it is expected to utilize Shuffle-QUDIO and its variants to speed up the computation of variational quantum circuits and tackle real-world problems with NISQ devices. V. DISCUSSION The appendix is organized as follows.Appendix A introduces basic notations and properties of the loss function.Appendices B, C, and D present the proofs of Lemma 1, Lemma 2, and Theorem 1, respectively.Appendix E explains the aggregation methods discussed in Section IV D. Appendix F demonstrates the additional experiment results and analysis about Shuffle-QUDDIO. V. DISCUSSION Lemma 5 (F 2 -Lipschitz continuity of gradient).Define a map g : [0, 2π) P → R P formulated as g(θ) = ∂L(θ) ∂θ .Then V. DISCUSSION Proof of Lemma 5. Combining Eq.A2 and Lemma 4, we have V. DISCUSSION where the first inequality follows the triangle inequality |x + y| ≤ |x| + |y| and the second inequality is directly derived from Lemma 4. Therefore, for a quantum state controlled by P parameters, we have g(θ) − g(β) ≤ F 2 θ − β with F 2 = P F 1 . V. DISCUSSION Lemma 6 (Gradient of the noisy loss function).Let N p be the global depolarizing channel with the strength p.For a quantum state ρ(θ) parameterized by θ, the gradient after applying the depolarizing channel is V. DISCUSSION Proof of Lemma 6. Recalling the depolarizing channel N p (ρ) = (1 − p)ρ + pI/2 n , we have the noisy loss function V. DISCUSSION Following the parameter shift rule in Eq. (A2), the estimated gradient under the depolarizing noise is V. DISCUSSION where the first inequality follows (a − b) 2 ≤ 2(a 2 + b 2 ). V. DISCUSSION For Shuffle-QUDIO, the discrepancy V. DISCUSSION ] is quantified by taking expectation over the randomly shuffling Hamitonians H k given parameters θ t k , i.e., V. DISCUSSION where the second equality is derived by utilizing Lemma 1, the first inequality comes from the bound of gradient norm in Lemma 3, and the last inequality uses the induced bound of ||∇L(θ, H)|| 2 and holds when K ≥ 2 required by the condition 1 − 2 K ≥ 0. V. DISCUSSION Appendix D: Proof of Theorem 1 V. DISCUSSION Introduce the ancillary variables V. DISCUSSION According to the F -Lipschitz continuity of loss function in Lemma 4, we have V. DISCUSSION where V. DISCUSSION H k is a constant all the time, which is the reason why the superscript t is discarded.The first equality is derived by utilizing a, b = Next, the term T 1 in Eq. (D2) yields We first calculate the upper bound of ||θ t − θ t k || 2 .Assume the latest model synchronization happens at the iteration t c with t − t c < W , then θ tc+1 k = θ tc .According to the gradient descent rule, the parameter θ t k is derived as V. DISCUSSION where the subscript of parameters θ tc+1 in the second equality is discarded without ambiguity because θ tc+1 k = θ tc+1 l , ∀k, l ∈ {1, ..., K}.Then V. DISCUSSION Therefore, the deviation between local quantum model θ t l (note that we use notation θ t l instead of θ t k to avoid the confusion between a specified quantum worker l and the general representation of the k-th worker in the following derivation) and the average model θ t is measured as V. DISCUSSION where the first and second inequalities follows V. DISCUSSION , and the last inequality is deduced based on the bound of gradient. V. DISCUSSION We now derive the upper bound of the second term T 2 in the last inequality.Recall Lemma 3 such that the norm of the gradient of each worker is bounded by ||g V. DISCUSSION Convergence of QUDIO.For the case of QUDIO where each quantum processor is assigned fixed partial Hamiltonian terms at the beginning, T 2 is bounded by V. DISCUSSION (D7) V. DISCUSSION Combining Eqs.(D3), (D7) and (D6), we can quantify the progress of one global iteration under the fixed Hamiltonian partition strategy as V. DISCUSSION (D11) V. DISCUSSION Then the convergence of gradient is quantified by V. DISCUSSION (D12) Comparing Eqs.(D9) and (D12), especially for the terms highlighted by the bold face, it is obvious that Shuffle-QUDIO achieves faster convergence than original QUDIO. Appendix E: Aggregation methods for quantum distributed optimization The framework of QUDIO can be roughly deconstructed into two alternating operations, including local updates and global synchronization.While the former operation is upgraded by introducing the shuffle operation, the latter can be also modified by more advanced techniques.In the original Shuffle-QUDIO in Alg. 2, the average aggregation method is simply employed to merge the information from distributed nodes, which may be sub-optimal without considering the differences among these nodes.In this section, we give detailed descriptions about another three novel aggregation algorithms. Appendix E: Aggregation methods for quantum distributed optimization Random aggregation.For each distributed quantum model with parameter θ (t,W ) i after completing local updates, the synchronized parameter θ t+1 = θ (t,W ) j , where j ∈ [K] is randomly generated.Median aggregation.Different from average aggregation and random aggregation, median aggregation utilizes the loss value of every local quantum model as reference to determine the synchronized quantum model.To be concrete, assuming the loss of the i-th quantum processor at the t-th synchronization is denoted by L (t) i , the quantum model run on processor j whose loss value L (t) j is the median of {L (t) i } K i=1 is selected as the synchronized model θ t+1 = θ (t,W ) j .Weighted aggregation.Instead of simply utilizing a single local quantum model with median loss as the aggregated model, weighted aggregation merges all local quantum models in a weighted summation fashion.The direct motivation is that a local quantum model achieving lower loss should contribute more to the synchronized model.Similar to median aggregation method, we first collect the loss value of every local quantum model {L (t) i } K i=1 to compute the weights.Specifically, a monotone decreasing function is first applied to the loss and then a softmax function is adopted to obtained a normalized weight vector.The mathematical process is formulated as Appendix E: Aggregation methods for quantum distributed optimization . Appendix E: Aggregation methods for quantum distributed optimization (E1) Appendix E: Aggregation methods for quantum distributed optimization Based on the loss-induced weights, the synchronized quantum model is obtained as θ (t+1) = K i=1 w (t) i θ (t,W ) i . FIG. 1 : FIG. 1:The scheme of Shuffle-QUDIO.The Shuffle-QUDIO consists of three subroutines, including initialization, local updates and global synchronization.During the phase of initialization, multiple copies of the original ansatz and the corresponding problem Hamiltonian H are dispatched into each local processor.Note that each processor shares the same seed of the random number generator.For each iteration in the local updates, the set of observables {Hi} M i=1 is randomly shuffled and the i-th local processor picks the subset of whole observables according to the assigned random number.In this way, the observables of each processor do not overlap with each other and the union of their observables exactly constitutes the problem Hamiltonian H.After W local updates, the parameters of each local ansatz are aggregated and then reassigned to all local processors, which is called global synchronization.When the maximal number T of iterations is reached, Shuffle-QUDIO executes the final synchronization and outputs the trained parameters. FIG. 1 : FIG. 2:The Pseudocode of Shuffle-QUDIO. FIG. 5 :FIG. 6 : FIG. 5: Training process of VQE optimized by QUDIO and Shuffle-QUDIO respectively.Each data point is collected after the synchronization.The dashed black line denotes the exact ground state energy (GSE) at the same setting.The first row: the loss curve with respect to iterations in QUDIO.With exponentially increasing W , the convergence of training is severely degraded, as depicted in subplot at first row, sixth column.The second row: the loss curve with respect to the iterations in Shuffle-QUDIO.The speed of loss decrease sees a relatively slow decay with W growing.When W = 32 (second row, sixth column), the loss still converges to the same level of W = 1 within 200 iterations. FIG. 7 : FIG. 7: Mean value Err and standard deviation δ(Err) of the approximation error.Each data point is collected over various bond distances and random seeds.Shuffle-QUDIO outperforms QUDIO in achieving smaller approximation error and lower sensitivity to communication frequency W . FIG. 9 : FIG. 9: Performance comparison in NISQ era.ideal represents the fault-tolerant case without noise, p = a represents the case where there exists a depolarizing channel with strength a in the circuit, NISQ represents the case of running on a real NISQ device. FIG. 10 : FIG. 10: Performance comparison of various model aggregation algorithms.The closer the curve is to the upper left, the more accurate the estimated ground state energy is. 1 2 ( ||a|| 2 + ||b|| 2 − ||a − b|| 2 ).The second equality holds by merging the second term and the fourth term in the first equality. 1 2 ( D3) where the first inequality follows the Jensen's inequality || 1 n n i=1 a i || 2 ≤ 1 n n i=1 ||a i || 2 , the second inequality holds because of the triangle inequality ||a + b|| ≤ ||a|| + ||b||, the last inequality is derived by F -Lipschitz continuity condition of gradient function in Lemma 5. 1 2 ( ) where the last term in the last inequality follows|| n i=1 a i || 2 ≤ n n i=1 ||a i || 2 .Rearranging the inequality above and summing over t, we achieve 1 T 1 2 ( Convergence of Shuffle-QUDIO.For the case of Shuffle-QUDIO where the whole Hamiltonian terms are shuffled and reassigned to local processors during each iteration, we can obtain a tighter bound for T 2 by taking expectation over the random local Hamiltonians H k given parametersθ t k E H k |θ t k [||∇L(θ t k , H) − g t k (θ t k , H k )|| 2 ] =E H k |θ t k [||∇L(θ t k , H)|| 2 ] − 2E H k |θ t k [∇ T L(θ t || 2 + (1 − p) 2 G 2 ≤(K − 1 + p) 2 G 2 , (D10)where the first inequality is based on Lemma 1 and property of bounded gradients of each worker, and the second inequality is derived by applying the induced bound of ||∇L(θ t k , H)|| 2 .Note that we introduce the implicit constraint K > 2(1 − p) to assure the coefficient of ||∇L(θ t k , H)|| 2 in the first inequality is non-negative.On the other hand, when shuffling the Hamiltonian terms in every iteration, the loss reduction is bounded byE h|θ t [L(θ t+1 ) − L(θ t )] ≤ − η 2 ||∇L(θ t )|| 2 + η 2 E h|θ t [||∇L(θ t ) − 1 K ||θ t −θ t k || 2 + E h|θ t [||∇L(θ t k , H) − g t k (θ t k , H k )|| 2 ]]

섹션 본문 110문단 · 42,762자

(제목 없음)

1The variational quantum eigensolver (VQE) is a leading strategy that exploits noisy intermediatescale quantum (NISQ) machines to tackle chemical problems outperforming classical approaches.To gain such computational advantages on large-scale problems, a feasible solution is the QUantum DIstributed Optimization (QUDIO) scheme, which partitions the original problem into K subproblems and allocates them to K quantum machines followed by the parallel optimization.Despite the provable acceleration ratio, the efficiency of QUDIO may heavily degrade by the synchronization operation.To conquer this issue, here we propose Shuffle-QUDIO to involve shuffle operations into local Hamiltonians during the quantum distributed optimization.Compared with QUDIO, Shuffle-QUDIO significantly reduces the communication frequency among quantum processors and simultaneously achieves better trainability.Particularly, we prove that Shuffle-QUDIO enables a faster convergence rate over QUDIO.Extensive numerical experiments are conducted to verify that Shuffle-QUDIO allows both a wall-clock time speedup and low approximation error in the tasks of estimating the ground state energy of molecule.We empirically demonstrate that our proposal can be seamlessly integrated with other acceleration techniques, such as operator grouping, to further improve the efficacy of VQE.

I. INTRODUCTION

2Quantum computing is expected to demonstrate advantages over classical computers in dealing with certain tasks, such as boson sampling [1][2][3] and integer factorization [4,5].With the advent of noisy intermediatescale quantum (NISQ) era [6,7], Google has experimentally verified that when sampling the output of a pseudorandom quantum circuit, current NISQ devices can run faster than the state-of-the-art classical computers [8].Recently, USTC has achieved more difficult sampling tasks on Zuchongzhi 2.1 to further push the frontier of quantum computational advantages [9].However, the unavoidable system noise and the restricted coherence time prevent the execution of complicated quantum algorithms on NISQ devices.To accommodate the limitations of NISQ machines, variational quantum algorithms (VQAs) [10][11][12][13][14] which employ a classical optimizer to train a parametrized quantum circuit, have emerged.Concisely, VQAs alternately interact between quantum circuits and classical optimizers, while the former evolves the quantum state and outputs classical information by measurements, and the latter is responsible for seeking the best parameters of quantum circuit to minimize the discrepancy between the predictions and the targets.Pioneer studies have verified the power of VQAs in quantum finance [15,16], quantum chemistry [17][18][19][20][21][22][23][24][25][26][27], manybody physics [28][29][30], machine learning [31][32][33][34][35], and com-binational optimization [36][37][38][39][40][41] from both theoretical and experimental aspects.

3Although VQAs promise the practical applications of NISQ machines, they are challenged by the scalability issue.The required number of measurements for VQAs scales with O(poly(n, 1/ )) with n being the problem size and being the tolerable error, which implies an expensive runtime for large-scale problems.One canonical instance is the variational quantum eigensolver (VQE) [42], which is developed to estimate the low-lying energies and corresponding eigenstates of molecule systems.VQE contains two key steps.First, the electronic Hamiltonian is reformulated to the qubit Hamiltonian H = M i=1 α i H i through Jordan-Wigner, Bravyi-Kitaev, or parity transformations [43][44][45], where H i ∈ {σ X , σ Y , σ Z , σ I } ⊗n and α i ∈ R for ∀i ∈ [M ], and M is the number of Pauli operators.The property of H is then estimated by a variational quantum circuit whose parameters are updated by a classical optimizer.Principally, it requires O(poly(M, 1/ )) queries to the quantum circuit in each iteration to collect the updating information [46].With this regard, VQEs towards large-scale molecules request an intractable time expense on the measurements.This scalability issue impedes the journey of VQEs to the quantum advantages.

4Approaches for reducing the computational overhead of quantum measurements in VQE can be roughly classified into five categories, including operator grouping [47][48][49][50], ansatz adjustment [51,52], shot allocation [53][54][55], classical shadows [56,57], and distributed optimization [58][59][60][61].Specifically, the operator grouping strategy focuses on finding the commutativity between local Hamiltonian terms {H i } in H.The commutable Hamiltonians can be evaluated by the same measurements, which enable the measurement reduction [19,[47][48][49][50]. Ansatz adjustment targets to tailor the layout of ansatz to reduce the circuit depth [17,51,62] or the number of qubits [52].For example, Ref. [51] attempts to assign two qubits with stronger mutual information to the adjacent locations with direct connectivity on the physical quantum chips, leading to shallower circuits over the original VQEs to reach a desired accuracy.Shot allocation aims to assign the number of shots among {H i } in a more intelligent way.A typical solution is to allocate more shots to the terms with a larger coefficient |α i | and a larger variance of H i .Another measurement reduction method, classical shadows, constructs an approximate classical representation of a quantum state based on few measurements of the state [56].With this representation, O(log(M )) measurements are enough to estimate the expectation value of whole observable with high precision.

5On par with engineering the quantum part, we can accelerate the optimization of VQE by using multiple quantum processors (workers), inspired by the success of distributed optimization in deep learning and the growing number of available quantum chips.There are generally two types of distributed VQAs.The first paradigm is decomposing the primal quantum systems into multiple smaller circuits and running them in parallel [63,64].The second paradigm is utilizing the quantum cloud server in which the problem Hamiltonian can be pre-divided into several partitions and distributed into Q local quantum workers respectively.Each worker estimates the expectation value of partial local Hamiltonians with no more than O(poly(M/Q)) queries and delivers the result to the rest workers after a single iteration.Noticeably, such a methodology inevitably encounters the communication bottleneck, quantum circuit noise, and the risk of privacy leakage.As such, Ref. [60] devises the QUantum DIstributed Optimization (QUDIO), a novel distributed-VQA scheme in a lazy communication manner, to address this issue.Unfortunately, the naive allocation method is not suitable for VQEs since the coefficients {α i } of the local Hamiltonian terms {H i } are varied, leading to unbalanced contributions to the overall variance of Hamiltonian estimation.Such an estimation error can be exacerbated by the increased communication interval, which renders the trade-off between the acceleration ratio and the approximation error of VQEs.

6To maximally suppress the negative effects of large communication interval on the convergence rate, here we propose a new quantum distributed optimization framework, called Shuffle-QUDIO.Different from QUDIO, for every local worker, the local Hamiltonian terms are randomly shuffled and sampled without replacement according to the worker's rank before each iteration.From the statistically view, this operation alleviates the issue such that every local worker may only observe incomplete local Hamiltonians during the optimization.Moreover, the dynamic allocation of Hamiltonian terms alleviates the accumulated deviation with respect to the target Hamiltonian H after a large number of local updates.In this way, Shuffle-QUDIO achieves performance improvements while keeping low communication cost.Another advantage of our proposal is its compatibility with all types of quantum hardware.This assures its potential of unifying existing quantum devices to accelerate the training of VQEs.

7To theoretically exhibit the advance of our proposal, we prove that Shuffle-QUDIO allows a faster convergence rate than that of QUDIO.By leveraging the non-convex optimization theory, we exhibit that the dominate factors effecting the convergence rate are the number of distributed quantum machines K, the local updates (communication interval) W , and the global iterations T , i.e., O(poly(W, K, 1/T )).To benchmark the performance of Shuffle-QUDIO, we conduct systematic numerical experiments on VQEs under both fault-tolerant and noisy scenarios.The achieved results confirm that Shuffle-QUDIO achieves smaller approximation error over QUDIO, as well as lower communication overhead among clients and server, and sub-linear speedup ratio.In addition, we demonstrate that the performance of Shuffle-QUDIO under the noisy setting can be further boosted by combining the advanced operator grouping strategy.

8The remaining parts of this paper are organized as follows.Section II briefly introduces the preliminary knowledge about the optimization of variational quantum circuits.Section III presents the pipeline of the proposed algorithm and presents the convergence analysis.Section IV exhibits numerical simulation results.Section V gives a summary and discusses the outlook.

II. PRELIMINARY

9The essence of VQE is tuning an n-qubit parameterized quantum state ρ(θ) = |ψ(θ) ψ(θ)| with θ ∈ R P to minimize the energy of a problem Hamiltonian

10where H i refers to the i-th local Hamiltonian term with the weight α i .The energy minimization is formulated by the loss function

11With a slight abuse of notation, we denote H i as α i H i and simplify the above loss function as

12Tr(ρ(θ)H i ).

13The parameterized quantum state is prepared by an ansatz with |ψ(θ) = U (θ) |φ and |φ being an initial quantum state.A generic form of U (θ) is

14where O i is a Hermitian matrix and U e denotes a fixed unitary composed of multi-qubit gates.By iteratively updating the circuit parameters θ to minimize the loss, the quantum state ρ(θ) is expected to approach the eigenstate of H with the minimum eigenvalue.

A. Optimization of VQE

15Gradient descent (GD) based optimizers are widely used in previous literatures of VQE.The parameters θ t+1 at the (t + 1)-th iteration is updated alongside the steepest descent direction with learning rate η, i.e., θ t+1 = θ t − η∇L(θ t , H).

16(

17Unlike classical neural networks that utilize gradient back-propagation to update parameters [65], VQE adopts the parameter-shift rule [66,67] to obtain the unbiased estimation of the gradient.The gradient with respect to the i-th parameter is

18where e i denotes the indicator vector for the i-th element of parameter vector θ.When the number of trainable parameters is P , the required number of measurements to complete the gradient computation scales with O(poly(P M )) without applying any measurement reduction strategies.

B. Optimization of the distributed VQE

19To accelerate the training of VQA, Ref. [60] proposed the QUantum DIstributed Optimization (QUDIO) scheme.The key idea of QUDIO is to partition the problem Hamiltonian H in Eq. (1) into several groups and distribute them into multiple quantum processors to be manipulated in parallel.Mathematically, suppose that there are K available quantum processors {Q i } K i=1 , the Hamiltonian terms

20In the initialization process, the i-th subgroup S i is allocated to the i-th quantum processor

21All local processors share the same initial parameters θ 0 with θ (0,0) i = θ 0 for ∀i ∈ [K].The subsequent training process alternately switches between the local updates and the global synchronization.During the phase of local updates, each quantum processor follows the gradient descent rule to update the parameters to minimize the local loss function L(θ i , H Si ) = j∈Si Tr(ρ(θ i )H j ), i.e., the parameters of the i-th processor at the (t, w)-th step is updated as Eq.(3).After fulfilling W local updates, all parameters from distributed quantum processors are synchronized by averaging the collected parameters

22. Repeating the above two phases until the termination conditions (e.g. the maximum number of iterations) are met, the synchronized parameters are returned as the final parameters.

23Ignoring the communication overhead among quantum processors, QUDIO with W = 1 is expected to linearly accelerate the optimization of VQE.However, the communication bottleneck could degrade the acceleration efficiency.An optional solution is to increase W to reduce the communication frequency.As indicated in [60], the performance of VQA witnesses a rapid drop with the increased W .

III. SHUFFLE-QUDIO FOR VQE

24The performance of QUDIO suffers from a high sensitivity of the communication interval.Intuitively, this issue originates from the fact that each quantum processor in QUDIO only perceives a static subset of the whole observable set during the entire training process.The i-th processor updates its local parameters based on the partial observations before communicating with other processors.Meantime, the coefficients {α i } and the variance of Pauli operators {H i } differ from each other, leading to different contributions to the expectation estimation of H.As a result, the local processor fails to characterize the full property of the problem Hamiltonian H.With multiple local updates, the accumulation of bias further degrades the performance of QUDIO.To tackle this issue, here we devise a novel quantum distributed optimization scheme, called Shuffle-QUDIO, to avoid the performance drop when synchronizing in a low frequency.

A. Algorithm descriptions

25The paradigm of Shuffle-QUDIO is depicted in Fig. 1, which consists of three steps.

Initialization. The variational quantum circuit

26U (θ) in Eq. ( 2) of each quantum processor is initialized with the same parameters θ (0,0) i = θ 0 for i = {1, ..., K} and all local Hamiltonian terms {H i } are distributed to each processor.

Local updates. Each processor independently up-

27dates the parameters θ (t,w) i following the gradient descent principle.First, Shuffle-QUDIO randomly shuffles the sequence of local Hamiltonian terms.Note that the random number of each processor is generated from the same random seed.Assuming the permutation vector is denoted by π (t,w) , the visible Hamiltonians for the i-th processor at the t-th iteration are

28Then each processor estimates the gradient g dient on the quantum device due to the finite number of measurements, while ∇L refers to the corresponding accurate gradient.The parameters are updated as

29where η is the learning rate.Repeat the above local updates for W local steps.

303. Global synchronization.Once the local updates are completed, the central server synchronizes parameters among all quantum processors in an averaged manner, i.e.,

31If the number of the global iterations reaches T , the parameters θ T are returned as the output; otherwise, return back to step 2.

32The pseudo code of Shuffle-QUDIO is summarized in Fig. 2. Compared with conventional VQE which sequentially measures the expectation value of every single observable, the strategy of distributed parallel optimization accelerates the estimation of the complete observables by K times.Furthermore, the shuffling operation alleviates the deviation of the optimization direction during the local updates and thus warrants a stabler performance after increasing communication interval.This is because in a statistical view, each processor can leverage the information of all local Hamiltonian terms to update local parameters in the training process.

33Let ρ(θ) be an n-qubit quantum state parameterized by θ.For any k ∈ {1, ..., M }, let H π(1) , ..., H π(k) be uniformly sampled without replace-

34Refer to Appendix B for proof details.Lemma 1 implies that the direction of the expected gradient of each local quantum processor in Shuffle-QUDIO is unbiased.This guarantees that the local quantum circuits are individually optimized forward along the right direction when they do not communicate frequently with each other, which narrows the performance gap between a single processor and the synchronized model.

351: Input: The initialized parameters θ (0) ∈ [0, 2π) P , the employed loss function L = Tr(ρ(θ)H), the given Hamilton

36Hamiltonian term Hi in order 3:

37for Quantum processor Qi, ∀i ∈ [K] in parallel do 5:

38Obtain π (t,w) by randomly shuffling the elements of π (t,w−1)

9:

39Obtain the subset of Hamiltonian terms

40Compute the estimated gradients g

41end for

B. Convergence analysis

42We next show the convergence guarantee of Shuffle-QUDIO.When running VQE on NISQ devices, the system imperfection introduces noise into the optimization.To this end, we consider the worst scenario in the convergence analysis, where the system noise is modeled by the depolarizing channel.Mathematically, the depolarizing channel N p transforms the quantum state ρ ∈ C 2 n ×2 n to N p (ρ) = (1 − p)ρ + pI/2 n , and with increasing the noise strength p, the quantum state finally evolves to the maximally mixed state.As proved in [68], the depolarizing channel applied on each circuit depth can be merged at the end of the quantum circuit.Therefore, without loss of generality, the estimated gradient with respect to the i-th parameter is

43The convergence rate of Shuffle-QUDIO is summarized by the following theorem whose proof is provided in Appendix D.

44Theorem 1.Let the gradient of loss function L be F -Lipschitz continuous, G be the upper bound of the gradient norm, η be the learning rate of optimizer, p be the strength of depolarizing noise, K and W be the number of distributed quantum processor and local iterations respectively, the convergence of Shuffle-QUDIO in the noisy scenario is summarized as

45Theorem 1 reveals that an increased quantum noise rate p leads to poor convergence of Shuffle-QUDIO, which emphasizes the significance of error mitigation [69][70][71][72] in quantum optimization.Meantime, the shorter communication interval W among distributed quantum processors guarantees a better performance of Shuffle-QUDIO.Note that although a large W still hinders the distributed optimization, Shuffle-QUDIO achieves a relatively smaller sensitivity to W than that of QUDIO.From the technical view, although the proof of Theorem 1 is derived from the classical results on local SGD [73], there are some key differences between them.First, in classical local SGD, each worker independently samples a mini-batch from the whole dataset without other limitations.By contrast, the distributed quantum processors randomly sample the local Hamiltonian terms without replacement in each local iteration, which means that the Hamiltonian terms of each processor do not overlap and the union exactly constitutes the complete molecule Hamiltonians.This special sampling method guarantees the integrity of the problem Hamiltonian, but poses a challenge for theoretical analysis.Second, our analysis does not rely on the strong assumptions, such as convexity or Polyak-Lojasiewicz (PL) condition [74].Furthermore, the quantum noise in NISQ devices inevitably shifts the quantum state and biases the estimated gradients, which differentiates VQE from classical machine learning.

IV. NUMERICAL RESULTS

46To verify the effectiveness of Shuffle-QUDIO, we apply it to estimate the ground state of several molecules with the lowest energy.Jordan-Wigner transformation [45] is employed to transform these electronic Hamiltonians into the qubit Hamiltonians represented by Pauli operators.For example, the LiH system is totally described by 12 qubits and 631 local Pauli terms {σ I , σ X , σ Y , σ Z } ⊗12 .The ansatz is designed in a hardware-efficient style inspired by [19], whose layout is shown in Fig. 3.We conduct numerical experiments on classical device with Intel(R) Xeon(R) Gold 6267C CPU @ 2.60GHz and 128 GB memory.For each setting, the experiment is repeated for 5 times with different random seeds to mitigate the effect of randomness.Stochastic gradient descent is used to update trainable parameters, where the learning rate is set as η = 0.4.The label 'W = a' refers that the number of local iterations is a.The label 'linear speedup' represents the reference line of the linear speedup.

A. Acceleration ratio

47We first explore the speedup of Shuffle-QUDIO.Specifically, under the setting of K quantum processors and W local iterations, we record the time spent per iteration as t K,W 1 and the time spent training the model to reach a specific precision as t K,W

2

48. The speedup to time s K,W 1 and the speedup to accuracy s K,W 2 are defined as

492 , respectively.Fig. 4 demonstrates the results when solving the ground state of LiH.As shown in the left panel of Fig. 4, with growing the number of the distributed quantum processors, the metric s 1 witnesses a linear growth (from K = 1 to K = 4, s 1 reaches 3 from 1) and then gradually trends gently (from K = 4 to K = 16, s 1 reaches around 4 from 3) because of the communication bottleneck for a large number of nodes.To alleviate the communication bottleneck, we can increase W to reduce the communication frequency and hence further improve the metric s 1 .However, an overwhelmingly larger W may lead to a poor convergence and then deteriorate the speedup to accuracy s 2 .As indicated by the right panel of Fig. 4, when W ≥ 16, the speedup to accuracy s 2 suffers from a rapid drop, which results from the worse convergence brought by a small number of global synchronization.

B. Sensitivity to communication frequency

50We compare QUDIO with Shuffle-QUDIO to show how the increased number of local iterations W effects their performance under the ideal scenario.The molecules LiH with varied inter-atomic length, i.e, 0.3 Å to 1.9 Å with step size 0.2 Å, are explored.For QUDIO, the entire set of Pauli terms constituting the problem Hamiltonian is uniformly partitioned into 32 subsets and distributed into 32 local quantum processors.The accessible Hamiltonian terms for each local processor remain fixed during the whole training process.The number of local iterations W varies in {1, 2, 4, 8, 16, 32}.

51The simulation results of VQE for the molecule LiH with 0.5 Å are illustrated in Fig. 5.Because the number of local iterations W varies among different settings, we uniformly collect data point after every 32 iterations (i.e., the least common multiple of all W ) to guarantee the loss is obtained exactly after synchronization.The first row of Fig. 5 records the loss curves of QUDIO with respect to the training steps under different local iterations W . QUDIO experiences a severe drop of performance, and an evident gap between the estimated and the exact results appears when W ≥ 8.By contrast, as shown in the bottom row of Fig. 5, Shuffle-QUDIO well estimates the exact ground energy even when W = 32.Comparing the subplots of the same column, Shuffle-QUDIO shows a distinct advantage in improving the convergence of the distributed VQE when requiring a lower communication overhead.For example, Shuffle-QUDIO achieves −6.8Ha at the 96-th iteration with W = 8, while QUDIO only reaches −4.1Ha.

52The potential energy surface of LiH solved by the conventional VQE is shown in Fig. 6, where the left panel describes the results of QUDIO with the varied number of local iterations W and the right panel records the results of Shuffle-QUDIO.There exists a distinct boundary among the potential energy surfaces estimated by the different level of W in QUDIO.More precisely, the estimated potential energy surface is gradually away from the exact potential energy surface (black line) with the increased W , which reveals the vulnerability of QUDIO when reducing the communication frequency among distributed workers.By contrast, Shuffle-QUDIO exhibits a fairly stable performance even when increasing W from 1 to 32, drawn from the nearly coincident curves of potential energy surface at each setting of W .Note that the slight gap between the exact potential energy surface and the optimal estimated results originates from the re-stricted expressive power of the employed ansatz, which does not guarantee the prepared state definitely covers the ground state of LiH.

53To further quantify the stability of Shuffle-QUDIO, we statistically compute the mean and standard deviation of the approximation error Err = |E V QE − E ideal | over various bond distances and random seeds.As illustrated in the top subplot of Fig. 7, the average approximation error Err of QUDIO exponentially scales with increased W .When W ≥ 8, the approximation error estimated by QUDIO exceeds 2Ha, which fails to capture the ground state of LiH.Instead, Shuffle-QUDIO achieves an imperceptible increment (0.093) of the approximation error when W grows from 1 to 32, making it possible to largely reduce the communication overhead with a little performance drop.The bottom subplot of Fig. 7 depicts the standard deviation of the approximation error derived by both methods, showing that Shuffle-QUDIO enjoys a smaller variance and a stronger stability than those of QUDIO.These observations provide the convincing empirical evidence that Shuffle-QUDIO efficiently reduces the susceptibility to W in the quantum distributed optimization.

C. Sensitivity to quantum noise

54To better characterize the ability of Shuffle-QUDIO run on NISQ devices, we benchmark its performance under the depolarizing noise and the realistic quantum noise modeled by PennyLane [75].The noise strength of the global depolarizing channel p ranges from 0 to 0.3 with step size 0.1.The realistic noise model is extracted from the 5-qubit IBM ibmq quito device.Note that the measurement error introduced by a finite number of shots is also considered.

551XPEHURIORFDOQRGHV.

JURXS EDVH OLQHDUVSHHGXS

56FIG. 8: Speedup of operator grouping to VQE for H2.The label 'base' refers to the case that no operator grouping is applied.The label 'linear speedup' represents the reference line of linear speedup.

57We first benchmark the performance of Shuffle-QUDIO with the operator grouping when the shot noise is considered.The results are shown in Fig. 8.After applying operator grouping to the molecule Hamiltonian, the trainable quantum state fast converges to the ground state of the molecule than that of the original measurement strategy.In the light of the speedup provided by the operator grouping, we can integrate this technique into the framework of Shuffle-QUDIO to gain better performance.On the other hand, with growing number of quantum processors, the acceleration rate with the operator grouping strategy gradually decays.This phenomenon partially results from the fact that a small number of Hamiltonian terms leads to a small proportion of operators that can be grouped together.

58We next apply QUDIO, QUDIO with the operator grouping, Shuffle-QUDIO, and Shuffle-QUDIO with the operator grouping to estimate the ground energy of the H 2 molecule under both the system and shot noise.For each method, the hyper-parameters are set as K = 4, W = 32, and the number of measurements is 100.The simulation results are shown in Fig. 9.When the depolarizing noise is not big enough (p <= 0.2), Shuffle-QUDIO achieves much smaller approximation error than QUDIO.When p = 0.3, it appears that the overwhelming noise disables both Shuffle-QUDIO and QUDIO.Under the realistic noise setting, Shuffle-QUDIO still works well with a tolerable approximation error 0.063.By contrast, QUDIO is incapable of estimating the accurate ground state energy.Moreover, the operator grouping can further widen the performance gap between QUDIO and Shuffle-QUDIO, by inhibiting the negative effect of quantum noise on Shuffle-QUDIO.

D. Aggregation strategy

59Shuffle-QUDIO narrows the discrepancy among distributed processors by randomly changing the observables of each processor in every local iteration, which partially guarantee the rationality of taking average of all models for synchronization.To further explore the effect of various aggregation strategy on the performance of Shuffle-QUDIO, we devise three additional model aggregation algorithms, named as random aggregation, median aggregation and weighted aggregation.

60• Random aggregation: randomly select a local processor and distribute its parameters of quantum circuit to other processors.

61• Median aggregation: rank all local processors by their loss value and select the median as the synchronized quantum circuit.

62• Weighted aggregation: combine all quantum circuits of local processors by loss-induced weighted summation.The smaller the value of the loss function for a local processor, the bigger contributions the processor makes to the synchronized quantum model.

63Refer to Appendix E for more details.We implement four quantum model aggregation methods in the framework of Shuffle-QUDIO to solve the ground state energy of molecule H 2 and LiH.The hyper-parameters are set as W ∈ {1, 2, 4, 8, 16, 32}, K ∈ {1, 2, 4, 8, 16}.Fig. 10 demonstrates the cumulative distribution function (CDF) of the approximation error to ground state energy.It appears no large cleavage of the approximation error among four aggregation strategies, indicating the strong robustness of Shuffle-QUDIO to quantum model aggregation.This stability may give credit to the introduction of the shuffle operation during distributed quantum computation, which diminishes the bias among different local quantum models.On the other hand, it is worth noting that average aggregation always achieves smaller approximation error with higher probability than random aggregation in the statistical sense.This difference of CDF implies that a superior aggregation algorithm for the quantum distributed optimization could further enhance the efficiency of Shuffle-QUDIO.We leave the design of an optimal aggregation method as the future work.

V. DISCUSSION

64In this paper, we propose Shuffle-QUDIO, as a novel distributed optimization scheme for VQE with faster convergence and strong noise robustness.By introducing the shuffle operation into each iteration, the Hamiltonian terms received by each local processor are not fixed during the optimization.From the statistical view, the shuffle operation warrants that the gradients manipulated by all local processors are unbiased.In this way, Shuffle-QUDIO allows an improved convergence and a lower sensitivity to communication frequency as well as quantum noise.Meanwhile, the operator group strategy can be seamlessly embedded into Shuffle-QUDIO to reduce the number of measurements in each iteration.Theoretical analysis and extensive numerical experiments on VQE further verify the effectiveness and advantages in accelerating VQE and guaranteeing small approximation errors in both ideal and noisy scenarios.

65Although the random shuffle operation performs well on the H 2 and LiH molecules, the performance can be further improved by developing more advanced shuffling strategies.First, instead of random shuffle, we can design a problem-specific and hardware-oriented Hamiltonian allocation tactic, which can eliminate the deviation of the optimization path of local models and better adapt to the limited quantum resources of various local processors.Second, due to the existence of barren plateau [76][77][78][79][80] in the optimization of ansatz, the training of local quantum models may get stuck.Inspired by the study that local observables enjoy a polynomially vanishing gradient [79], a promising direction is to group Hamiltonian terms with similar locality in QUDIO to avoid the barren plateau of some processors.Finally, a more fine-grained partition of the quantum circuit structure besides observables can be employed to reduce the number of parameters to be optimized for each local processor, as implemented in [52].

66Another feasible attempt to enhance the performance of distributed VQE in practice is to unify Shuffle-QUDIO with other measurement reduction techniques.One successful example is operator grouping, as discussed in Section IV C. Specifically, when optimizing the circuit run on each distributed quantum processor, we can utilize the operator grouping strategy to reduce the required number of measurements of the allocated Hamiltonian.In this way, the measurement noise in the framework of Shuffle-QUDIO is eliminated under finite budget of shot number.Other two methods, like shot allocation and classical shadows, can be also integrated into Shuffle-QUDIO in the similar manner.

67Besides the potential improvements in convergence and speedup for Shuffle-QUDIO, the data privacy leakage during transmitting gradient information among local nodes should be avoided.One the one hand, the shuffle operation in Shuffle-QUDIO naturally adds randomness to the system, hindering the recovery of intact data.On the other hand, previous studies proposed differential privacy [81,82] and blind quantum computing [83] to protect data security.When combining these techniques and Shuffle-QUDIO, it remains open to explore the consequent influence on the convergence of optimization.

68Apart from utilizing the quantum-specific properties to enhance Shuffle-QUDIO, we can also leverage the experience from classical distributed optimization, such as Elastic Averaging SGD [84], decentralized SGD [85].It is worth noting that the flexibility of Shuffle-QUDIO makes it easy to replace some components with advanced classical techniques, as discussed in Sec.IV D. Taken together, it is expected to utilize Shuffle-QUDIO and its variants to speed up the computation of variational quantum circuits and tackle real-world problems with NISQ devices.

69The appendix is organized as follows.Appendix A introduces basic notations and properties of the loss function.Appendices B, C, and D present the proofs of Lemma 1, Lemma 2, and Theorem 1, respectively.Appendix E explains the aggregation methods discussed in Section IV D. Appendix F demonstrates the additional experiment results and analysis about Shuffle-QUDDIO.

70Lemma 5 (F 2 -Lipschitz continuity of gradient).Define a map g : [0, 2π) P → R P formulated as g(θ) = ∂L(θ) ∂θ .Then

71Proof of Lemma 5. Combining Eq.A2 and Lemma 4, we have

72where the first inequality follows the triangle inequality |x + y| ≤ |x| + |y| and the second inequality is directly derived from Lemma 4. Therefore, for a quantum state controlled by P parameters, we have g(θ) − g(β) ≤ F 2 θ − β with F 2 = P F 1 .

73Lemma 6 (Gradient of the noisy loss function).Let N p be the global depolarizing channel with the strength p.For a quantum state ρ(θ) parameterized by θ, the gradient after applying the depolarizing channel is

74Proof of Lemma 6. Recalling the depolarizing channel N p (ρ) = (1 − p)ρ + pI/2 n , we have the noisy loss function

75Following the parameter shift rule in Eq. (A2), the estimated gradient under the depolarizing noise is

76where the first inequality follows (a − b) 2 ≤ 2(a 2 + b 2 ).

77For Shuffle-QUDIO, the discrepancy

78] is quantified by taking expectation over the randomly shuffling Hamitonians H k given parameters θ t k , i.e.,

79where the second equality is derived by utilizing Lemma 1, the first inequality comes from the bound of gradient norm in Lemma 3, and the last inequality uses the induced bound of ||∇L(θ, H)|| 2 and holds when K ≥ 2 required by the condition 1 − 2 K ≥ 0.

80Appendix D: Proof of Theorem 1

81Introduce the ancillary variables

82According to the F -Lipschitz continuity of loss function in Lemma 4, we have

83where

84H k is a constant all the time, which is the reason why the superscript t is discarded.The first equality is derived by utilizing a, b = Next, the term T 1 in Eq. (D2) yields We first calculate the upper bound of ||θ t − θ t k || 2 .Assume the latest model synchronization happens at the iteration t c with t − t c < W , then θ tc+1 k = θ tc .According to the gradient descent rule, the parameter θ t k is derived as

85where the subscript of parameters θ tc+1 in the second equality is discarded without ambiguity because θ tc+1 k = θ tc+1 l , ∀k, l ∈ {1, ..., K}.Then

86Therefore, the deviation between local quantum model θ t l (note that we use notation θ t l instead of θ t k to avoid the confusion between a specified quantum worker l and the general representation of the k-th worker in the following derivation) and the average model θ t is measured as

87where the first and second inequalities follows

88, and the last inequality is deduced based on the bound of gradient.

89We now derive the upper bound of the second term T 2 in the last inequality.Recall Lemma 3 such that the norm of the gradient of each worker is bounded by ||g

90Convergence of QUDIO.For the case of QUDIO where each quantum processor is assigned fixed partial Hamiltonian terms at the beginning, T 2 is bounded by

91(D7)

92Combining Eqs.(D3), (D7) and (D6), we can quantify the progress of one global iteration under the fixed Hamiltonian partition strategy as

93(D11)

94Then the convergence of gradient is quantified by

95(D12) Comparing Eqs.(D9) and (D12), especially for the terms highlighted by the bold face, it is obvious that Shuffle-QUDIO achieves faster convergence than original QUDIO.

Appendix E: Aggregation methods for quantum distributed optimization

96The framework of QUDIO can be roughly deconstructed into two alternating operations, including local updates and global synchronization.While the former operation is upgraded by introducing the shuffle operation, the latter can be also modified by more advanced techniques.In the original Shuffle-QUDIO in Alg. 2, the average aggregation method is simply employed to merge the information from distributed nodes, which may be sub-optimal without considering the differences among these nodes.In this section, we give detailed descriptions about another three novel aggregation algorithms.

97Random aggregation.For each distributed quantum model with parameter θ (t,W ) i after completing local updates, the synchronized parameter θ t+1 = θ (t,W ) j , where j ∈ [K] is randomly generated.Median aggregation.Different from average aggregation and random aggregation, median aggregation utilizes the loss value of every local quantum model as reference to determine the synchronized quantum model.To be concrete, assuming the loss of the i-th quantum processor at the t-th synchronization is denoted by L (t) i , the quantum model run on processor j whose loss value L (t) j is the median of {L (t) i } K i=1 is selected as the synchronized model θ t+1 = θ (t,W ) j .Weighted aggregation.Instead of simply utilizing a single local quantum model with median loss as the aggregated model, weighted aggregation merges all local quantum models in a weighted summation fashion.The direct motivation is that a local quantum model achieving lower loss should contribute more to the synchronized model.Similar to median aggregation method, we first collect the loss value of every local quantum model {L (t) i } K i=1 to compute the weights.Specifically, a monotone decreasing function is first applied to the loss and then a softmax function is adopted to obtained a normalized weight vector.The mathematical process is formulated as

98.

99(E1)

100Based on the loss-induced weights, the synchronized quantum model is obtained as θ (t+1) = K i=1 w (t) i θ (t,W ) i .

FIG. 1 :

101FIG. 1:The scheme of Shuffle-QUDIO.The Shuffle-QUDIO consists of three subroutines, including initialization, local updates and global synchronization.During the phase of initialization, multiple copies of the original ansatz and the corresponding problem Hamiltonian H are dispatched into each local processor.Note that each processor shares the same seed of the random number generator.For each iteration in the local updates, the set of observables {Hi} M i=1 is randomly shuffled and the i-th local processor picks the subset of whole observables according to the assigned random number.In this way, the observables of each processor do not overlap with each other and the union of their observables exactly constitutes the problem Hamiltonian H.After W local updates, the parameters of each local ansatz are aggregated and then reassigned to all local processors, which is called global synchronization.When the maximal number T of iterations is reached, Shuffle-QUDIO executes the final synchronization and outputs the trained parameters.

102FIG. 2:The Pseudocode of Shuffle-QUDIO.

FIG. 5 :FIG. 6 :

103FIG. 5: Training process of VQE optimized by QUDIO and Shuffle-QUDIO respectively.Each data point is collected after the synchronization.The dashed black line denotes the exact ground state energy (GSE) at the same setting.The first row: the loss curve with respect to iterations in QUDIO.With exponentially increasing W , the convergence of training is severely degraded, as depicted in subplot at first row, sixth column.The second row: the loss curve with respect to the iterations in Shuffle-QUDIO.The speed of loss decrease sees a relatively slow decay with W growing.When W = 32 (second row, sixth column), the loss still converges to the same level of W = 1 within 200 iterations.

FIG. 7 :

104FIG. 7: Mean value Err and standard deviation δ(Err) of the approximation error.Each data point is collected over various bond distances and random seeds.Shuffle-QUDIO outperforms QUDIO in achieving smaller approximation error and lower sensitivity to communication frequency W .

FIG. 9 :

105FIG. 9: Performance comparison in NISQ era.ideal represents the fault-tolerant case without noise, p = a represents the case where there exists a depolarizing channel with strength a in the circuit, NISQ represents the case of running on a real NISQ device.

FIG. 10 :

106FIG. 10: Performance comparison of various model aggregation algorithms.The closer the curve is to the upper left, the more accurate the estimated ground state energy is.

1 2 (

107||a|| 2 + ||b|| 2 − ||a − b|| 2 ).The second equality holds by merging the second term and the fourth term in the first equality.

108D3) where the first inequality follows the Jensen's inequality || 1 n n i=1 a i || 2 ≤ 1 n n i=1 ||a i || 2 , the second inequality holds because of the triangle inequality ||a + b|| ≤ ||a|| + ||b||, the last inequality is derived by F -Lipschitz continuity condition of gradient function in Lemma 5.

109) where the last term in the last inequality follows|| n i=1 a i || 2 ≤ n n i=1 ||a i || 2 .Rearranging the inequality above and summing over t, we achieve 1 T

110Convergence of Shuffle-QUDIO.For the case of Shuffle-QUDIO where the whole Hamiltonian terms are shuffled and reassigned to local processors during each iteration, we can obtain a tighter bound for T 2 by taking expectation over the random local Hamiltonians H k given parametersθ t k E H k |θ t k [||∇L(θ t k , H) − g t k (θ t k , H k )|| 2 ] =E H k |θ t k [||∇L(θ t k , H)|| 2 ] − 2E H k |θ t k [∇ T L(θ t || 2 + (1 − p) 2 G 2 ≤(K − 1 + p) 2 G 2 , (D10)where the first inequality is based on Lemma 1 and property of bounded gradients of each worker, and the second inequality is derived by applying the induced bound of ||∇L(θ t k , H)|| 2 .Note that we introduce the implicit constraint K > 2(1 − p) to assure the coefficient of ||∇L(θ t k , H)|| 2 in the first inequality is non-negative.On the other hand, when shuffling the Hamiltonian terms in every iteration, the loss reduction is bounded byE h|θ t [L(θ t+1 ) − L(θ t )] ≤ − η 2 ||∇L(θ t )|| 2 + η 2 E h|θ t [||∇L(θ t ) − 1 K ||θ t −θ t k || 2 + E h|θ t [||∇L(θ t k , H) − g t k (θ t k , H k )|| 2 ]]

참고문헌 60건

  1. Introduction to Quantum Information and Computation for Chemistry Advances in chemical physics · Wiley · 2014 10.1002/9781118742631.ch01
  2. Fermionic Quantum Computation Annals of Physics · Elsevier BV · 2002 10.1006/aphy.2002.6254
  3. The Bravyi-Kitaev transformation for quantum computation of electronic structure The Journal of Chemical Physics · American Institute of Physics · 2012 10.1063/1.4768229
  4. Boson Sampling on a Photonic Chip Science · American Association for the Advancement of Science · 2012 10.1126/science.1231692
  5. A variational eigenvalue solver on a photonic quantum processor Nature Communications · Nature Portfolio · 2014 10.1038/ncomms5213
  6. Solving strongly correlated electron models on a quantum computer Physical Review A · American Physical Society · 2015 10.1103/physreva.92.062318
  7. The theory of variational hybrid quantum-classical algorithms New Journal of Physics · IOP Publishing · 2016 10.1088/1367-2630/18/2/023023
  8. High-efficiency multiphoton boson sampling Nature Photonics · Nature Portfolio · 2017 10.1038/nphoton.2017.63
  9. Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets Nature · Nature Portfolio · 2017 10.1038/nature23879
  10. Variational Quantum Simulation of General Processes Physical Review Letters · American Physical Society · 2020 10.1103/physrevlett.125.010501
  11. Quantum Computation of Electronic Transitions Using a Variational Quantum Eigensolver Physical Review Letters · American Physical Society · 2019 10.1103/physrevlett.122.230401
  12. Accelerated Variational Quantum Eigensolver Physical Review Letters · American Physical Society · 2019 10.1103/physrevlett.122.140504
  13. An adaptive variational algorithm for exact molecular simulations on a quantum computer Nature Communications · Nature Portfolio · 2019 10.1038/s41467-019-10988-2
  14. Strategies for quantum computing molecular energies using the unitary coupled cluster ansatz Quantum Science and Technology · IOP Publishing · 2018 10.1088/2058-9565/aad3e4
  15. Automated distribution of quantum circuits via hypergraph partitioning Physical review. A/Physical review, A · American Physical Society · 2019 10.1103/physreva.100.032308
  16. Measurement reduction in variational quantum algorithms Physical review. A/Physical review, A · American Physical Society · 2020 10.1103/physreva.101.062322
  17. Quantum supremacy using a programmable superconducting processor Nature · Nature Portfolio · 2019 10.1038/s41586-019-1666-5
  18. Quantum noise protects quantum classifiers against adversaries Physical Review Research · American Physical Society · 2021 10.1103/physrevresearch.3.023153
  19. Measurements of Quantum Hamiltonians with Locally-Biased Classical Shadows Communications in Mathematical Physics · Springer Science+Business Media · 2022 10.1007/s00220-022-04343-8
  20. Quantum Differentially Private Sparse Regression Learning IEEE Transactions on Information Theory · Institute of Electrical and Electronics Engineers · 2022 10.1109/tit.2022.3164726
  21. Correlation-Informed Permutation of Qubits for Reducing Ansatz Depth in the Variational Quantum Eigensolver PRX Quantum · American Physical Society · 2021 10.1103/prxquantum.2.020337
  22. Meta-Variational Quantum Eigensolver: Learning Energy Profiles of Parameterized Hamiltonians for Quantum Simulation PRX Quantum · American Physical Society · 2021 101103prxquantum2020329
  23. Improving the Performance of Deep Quantum Optimization Algorithms with Continuous Gate Sets PRX Quantum · American Physical Society · 2020 10.1103/prxquantum.1.020304
  24. Quantum computation of molecular response properties Physical Review Research · American Physical Society · 2020 10.1103/physrevresearch.2.033324
  25. Hartree-Fock on a superconducting qubit quantum computer Science · American Association for the Advancement of Science · 2020 10.1126/science.abb9811
  26. Predicting many properties of a quantum system from very few measurements Nature Physics · Nature Portfolio · 2020 10.1038/s41567-020-0932-7
  27. Stochastic gradient descent for hybrid quantum-classical optimization Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2020 10.22331/q-2020-08-31-314
  28. An Adaptive Optimizer for Measurement-Frugal Variational Algorithms Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2020 10.22331/q-2020-05-11-263
  29. Effect of barren plateaus on gradient-free optimization Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2021 10.22331/q-2021-10-05-558
  30. Variational quantum algorithms Nature Reviews Physics · Nature Portfolio · 2021 10.1038/s42254-021-00348-9
  31. Anomalous collapses of Nares Strait ice arches leads to enhanced export of Arctic sea ice Nature Communications · Nature Portfolio · 2021 10.1038/s41467-020-20314-w
  32. Measuring Analytic Gradients of General Quantum Evolution with the Stochastic Parameter Shift Rule Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2021 10.22331/q-2021-01-25-386
  33. Hybrid quantum-classical algorithms and quantum error mitigation Oxford University Research Archive (ORA) (University of Oxford) · University of Oxford · 2021
  34. Quantum approximate optimization of non-planar graph problems on a planar superconducting processor Nature Physics · Nature Portfolio · 2021 10.1038/s41567-020-01105-y
  35. Resource-efficient quantum algorithm for protein folding npj Quantum Information · Nature Portfolio · 2021 10.1038/s41534-021-00368-4
  36. Cost function dependent barren plateaus in shallow parametrized quantum circuits Nature Communications · Nature Portfolio · 2021 10.1038/s41467-021-21728-w
  37. Qubit-ADAPT-VQE: An Adaptive Algorithm for Constructing Hardware-Efficient Ansätze on a Quantum Processor PRX Quantum · American Physical Society · 2021 10.1103/prxquantum.2.020310
  38. Neural-network variational quantum algorithm for simulating many-body dynamics Physical Review Research · American Physical Society · 2021 10.1103/physrevresearch.3.023095
  39. Variational Quantum Fidelity Estimation Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2020 10.22331/q-2020-03-26-248
  40. Parallel quantum simulation of large systems on small NISQ computers UCL Discovery (University College London) · University College London · 2021
  41. Measurement Cost of Metric-Aware Variational Quantum Algorithms PRX Quantum · American Physical Society · 2021 10.1103/prxquantum.2.030324
  42. The boundary for quantum advantage in Gaussian boson sampling Science Advances · American Association for the Advancement of Science · 2022 10.1126/sciadv.abl9236
  43. Quantum federated learning through blind quantum computing Science China Physics Mechanics and Astronomy · Springer Science+Business Media · 2021 10.1007/s11433-021-1753-3
  44. Identifying optimal cycles in quantum thermal machines with reinforcement-learning npj Quantum Information · Nature Portfolio · 2022 10.1038/s41534-021-00512-0
  45. Implementation of measurement reduction for the variational quantum eigensolver Physical Review Research · American Physical Society · 2021 10.1103/physrevresearch.3.033195
  46. Entanglement-Induced Barren Plateaus OSTI OAI (U.S. Department of Energy Office of Scientific and Technical Information) · Office of Scientific and Technical Information · 2021 10.1103/prxquantum.2.040316
  47. Quantum computational advantage via 60-qubit 24-cycle random circuit sampling Science Bulletin · Elsevier BV · 2021 10.1016/j.scib.2021.10.017
  48. Learning-Based Quantum Error Mitigation PRX Quantum · American Physical Society · 2021 10.1103/prxquantum.2.040330
  49. Learnability of Quantum Neural Networks PRX Quantum · American Physical Society · 2021 10.1103/prxquantum.2.040337
  50. Quantum advantage in learning from experiments Science · American Association for the Advancement of Science · 2022 10.1126/science.abn7293
  51. Quantum Machine Learning for Finance ICCAD Special Session Paper 2015 IEEE/ACM International Conference on Computer-Aided Design (ICCAD) · 2021 10.1109/iccad51958.2021.9643469
  52. Noisy intermediate-scale quantum algorithms Reviews of Modern Physics · American Physical Society · 2022 10.1103/revmodphys.94.015004
  53. General parameter-shift rules for quantum gradients Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2022 10.22331/q-2022-03-30-677
  54. Über das Paulische Äquivalenzverbot Springer eBooks · Springer Nature · 1993 10.1007/978-3-662-02781-3_9
  55. Provably efficient machine learning for quantum many-body problems Science · American Association for the Advancement of Science · 2022 10.1126/science.abk3333
  56. QAOA-in-QAOA: Solving Large-Scale MaxCut Problems on Small Quantum Machines Physical Review Applied · American Physical Society · 2023 10.1103/physrevapplied.19.024027
  57. Latency considerations for stochastic optimizers in variational quantum algorithms Quantum · Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften · 2023 10.22331/q-2023-03-16-949
  58. Accelerating the variational quantum eigensolver using parallelism Quantum Science and Technology · IOP Publishing · 2023 10.1088/2058-9565/acd0d2
  59. Recent Advances for Quantum Neural Networks in Generative Learning IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2023 10.1109/tpami.2023.3272029
  60. Do quantum circuit Born machines generalize? Quantum Science and Technology · IOP Publishing · 2023 10.1088/2058-9565/acd578