Abstract
Variational quantum algorithms (VQAs) have attracted remarkable interest over the past few years because of their potential computational advantages on near-term quantum devices. They leverage a hybrid approach that integrates classical and quantum computing resources to solve high-dimensional problems that are challenging for classical approaches alone. In the training process of variational circuits, constructing an accurate probability distribution for each epoch is not always necessary, creating opportunities to reduce computational costs through shot reduction. However, existing shot-allocation methods that capitalize on this potential often lack adaptive feedback or are tied to specific classical optimizers, which limits their applicability to common VQAs and broader optimization techniques. Our observations indicate that the information entropy of a quantum circuit's output distribution exhibits an approximately exponential relationship with the number of shots needed to achieve a target Hellinger distance. In this work, we propose a distribution-adaptive dynamic shot (DDS) framework that efficiently adjusts the number of shots per iteration in VQAs using the entropy distribution from the prior training epoch. Our results demonstrate that the DDS framework sustains inference accuracy while achieving a ~50% reduction in average shot count compared to fixed-shot training, and ~60% higher accuracy than recently proposed tiered shot allocation methods. Furthermore, in noisy simulations that reflect the error rates of actual IBM quantum systems, DDS achieves approximately a ~30% reduction in the total number of shots compared to the fixed-shot method with minimal degradation in accuracy, and offers about ~70% higher computational accuracy than tiered shot allocation methods.
Introduction: The Bottleneck of Quantum Measurement
In the current "Noisy Intermediate-Scale Quantum" (NISQ) era, running quantum algorithms is a balancing act between precision and cost. Every time we want to know the state of a quantum computer, we have to "measure" it—a process that must be repeated hundreds or thousands of times (called "shots") to build a reliable probability distribution.
Variational Quantum Algorithms (VQAs), such as VQE and QAOA, are the workhorses of near-term quantum computing. These algorithms work in loops: a quantum circuit runs, measurements are taken, and a classical optimizer tweaks the circuit parameters to improve the result. The bottleneck is the shot count. To get an accurate picture of the quantum state, researchers typically use a high, fixed number of shots for every single iteration of the loop, which is incredibly expensive in terms of time and cloud computing costs.
The Entropy-Shot Relationship
A critical discovery in this work is the approximately exponential relationship between the information entropy of a quantum distribution and the number of shots needed to reach a target accuracy (measured by Hellinger distance).
As shown in the figure above, higher entropy distributions—which are more uniform and "uncertain"—require significantly more shots to characterize accurately. Conversely, as a VQA converges and the distribution becomes "peakier" (lower entropy), the number of shots required to maintain the same level of precision drops exponentially.
The Distribution-Adaptive Dynamic Shot (DDS) Framework
The DDS framework leverages this insight to dynamically adjust the number of measurement shots at each training epoch. Instead of a "blind" reduction schedule (like linear or step-function tiers), DDS uses adaptive feedback from the quantum circuit itself:
- Entropy Calculation: At each iteration, the algorithm calculates the Shannon entropy ($H$) of the resulting probability distribution.
- Adaptive Feedback: DDS uses the entropy from the previous iteration to determine the shots ($S$) for the next iteration using the formula: $S = k \times 2^H$.
- Dynamic Scaling: In early training stages where entropy is high, DDS maintains a high shot count. As the algorithm converges, it automatically dials back the shots, saving significant computational resources.
Experimental Results and Benchmarks
The researchers evaluated DDS across QAOA (Optimization) and VQE (Chemistry) domains using the qiskit-aer simulator and noise profiles from real IBM Quantum systems (ibm_marrakesh and ibm_yonsei).
- Shot Reduction: DDS achieved an average 50.69% reduction in total shots for QAOA and a 47.09% reduction for VQE compared to the standard fixed-shot approach.
- Superior Accuracy: While simple tiered methods also save shots, they often lead to massive accuracy loss because they don't account for the actual state of convergence. DDS provided ~60-70% higher accuracy than these tiered methods by ensuring the shot budget is spent only when the distribution complexity requires it.
- Robustness to Noise: In noisy simulations reflecting real hardware, DDS still managed a ~30% shot reduction while maintaining accuracy levels nearly identical to the fixed-shot baseline.
Conclusion and Future Directions
DDS represents a major step forward in making VQAs more efficient. By using entropy as a mathematically sound proxy for distribution complexity, it avoids the pitfalls of "blind" shot reduction. Future work will focus on automating the selection of the scaling constant $k$, integrating DDS with a wider variety of classical optimizers, and validating the framework on live quantum hardware to account for real-time feedback latency.
Paper Citation: Youngmin Kim et al., "Distribution-Adaptive Dynamic Shot Optimization for Variational Quantum Algorithms," arXiv:2412.17485v1 [quant-ph], Dec 2024.
Summary updated