Accelerating variational quantum algorithms with multiple quantum processors

Yuxuan Du, Yang Qian, Dacheng Tao

TL;DR

This paper introduces QUDIO, a novel distributed optimization scheme that leverages multiple quantum processors to accelerate Variational Quantum Algorithms (VQAs). By partitioning tasks and synchronizing updates across several quantum-classical nodes, QUDIO demonstrates significant speedups, even achieving superlinear gains in certain scenarios, making VQAs more practical for complex problems.

What Problem Does This Paper Address?

Variational Quantum Algorithms (VQAs) hold immense promise for achieving quantum advantage in various fields, from drug discovery to materials science. However, a major bottleneck hindering their practical application is the substantial computational overhead, primarily due to the reliance on a single quantum processor for complex tasks. This limitation becomes particularly acute when dealing with large datasets or intricate problems, leading to prohibitively long training times. The authors aim to overcome this by developing a distributed approach that can harness the power of multiple quantum processors simultaneously.

Methods

The core innovation is the QUDIO (QUantum Distributed Optimization) scheme. QUDIO operates with a classical central server and multiple "local nodes." Each local node comprises a quantum processor and a classical optimizer. The process involves:

  1. Problem Partitioning: The central server divides the overall learning problem into smaller subproblems.
  2. Parallel Optimization: These subproblems are distributed to the local nodes, which then perform optimization tasks in parallel using their respective quantum processors.
  3. Synchronization: The central server periodically collects and synchronizes the optimization parameters from all local nodes.

This distributed approach is designed to be compatible with various types of quantum hardware and VQA frameworks, including Quantum Neural Networks (QNNs) and Variational Quantum Eigensolvers (VQEs). The authors also provide theoretical convergence analysis for QUDIO, considering both ideal scenarios and the imperfections of Noisy Intermediate-Scale Quantum (NISQ) devices.

Datasets

  • MNIST Dataset: A subset of handwritten digit images (labeled '0' and '1') was used for image classification tasks. Specifically, 256 training examples and 500 test examples were sampled and down-sampled to 8x8 pixels.
  • Hydrogen Molecule (H₂): Used for ground state energy estimation, with a Hamiltonian involving 15 local terms and requiring 4 qubits.

No new benchmarks were introduced; existing datasets were utilized.

Key Insights and Ideas

  • Distributed VQAs are feasible and effective: QUDIO demonstrates that a distributed approach can significantly accelerate VQAs, moving beyond the single-processor limitation.
  • Superlinear speedups are achievable: In the NISQ regime, QUDIO can achieve speedups that exceed the number of processors used, a surprising result attributed to the insensitivity to communication bottlenecks compared to classical distributed methods.
  • System noise and measurement count matter: The theoretical analysis and simulations highlight that NISQ imperfections (noise and limited measurements) can degrade convergence. This suggests the importance of error mitigation techniques.
  • Local iteration count (W) is critical: A smaller number of local iterations (W) generally leads to better performance and faster convergence, a finding consistent across both ideal and NISQ scenarios. This contrasts with classical distributed optimization, where larger W is often preferred.
  • Compatibility is a strength: QUDIO's ability to work with diverse quantum hardware and VQA types makes it a versatile framework.

Key Results

  • Runtime Speedup: QUDIO achieved significant speedups. For image classification, it demonstrated a superlinear speedup of 5.355x for Q=4 local nodes when W=32. For VQE, a speedup of 1.469x was observed with Q=8 local nodes and W=1 local update.
  • Accuracy: In image classification, QUDIO consistently achieved test accuracies above 95% across various settings, demonstrating robustness. For VQE, the accuracy was very close to the exact eigensolver for W=1, with errors increasing for larger W.
  • Convergence Analysis: Theoretical analysis showed sublinear convergence in the ideal scenario. In the NISQ case, convergence rate degrades with increased noise and fewer measurements, but is improved by reducing local iterations (W).

Limitations and Future Work

  • NISQ Imperfections: The paper acknowledges that system noise and a limited number of measurements can lead to divergent optimization in the NISQ scenario. This suggests a need for integrating error mitigation techniques.
  • Gap to Linear Speedup: For the VQE task on the hydrogen molecule, a clear gap to linear speedup was observed, attributed to the simplicity of the problem where communication overhead dominated. The authors expect better speedups for larger-scale tasks.
  • Asynchronous Schemes: The authors suggest exploring asynchronous distributed-VQAs schemes to further reduce communication overhead and better utilize processors with distinct qualities.
  • Measurement Reduction: Integrating effective measurement reduction algorithms is proposed as a way to further reduce runtime costs.
  • Security: The use of cloud computing for QUDIO raises security concerns (adversarial attacks, private information leakage), and the authors suggest exploring solutions like differential privacy, hypothesis testing, and blind quantum computing, while noting the need to understand their impact on convergence.

Summary updated

BibTeX
@misc{du2021accelerating,
  author = {Yuxuan Du and Yang Qian and Dacheng Tao},
  title = {{Accelerating variational quantum algorithms with multiple quantum processors}},
  year = {2021},
  eprint = {2106.12819},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.12819},
}
Figure