How Many Shots Are Enough for a Quantum Circuit?

· Source: cs.SE updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering, Cloud Computing & IT Infrastructure · Depth: Expert, extended

Summary

The IncrementalExecution framework is introduced as a novel online method to dynamically determine the minimal number of "shots" (repeated circuit executions) required for quantum algorithms to achieve target output distribution accuracy. This black-box approach, which makes no assumptions about circuit structure or noise models, operates on the principle of diminishing returns, stopping when additional shots no longer significantly alter the empirical distribution. Evaluated across 33,750 configurations and 180 static quantum circuit–backend combinations, totaling 7.3 million experiments, the framework effectively approximates optimal shot counts. It supports customizable policies for shot management, enabling flexible trade-offs between execution cost and result fidelity, and is immediately deployable on current quantum cloud platforms.

Key takeaway

For AI Engineers optimizing quantum circuit execution costs, IncrementalExecution offers a robust method to dynamically manage shot counts. Implement this framework to avoid over-sampling by detecting the point of diminishing returns, especially for static, non-variational circuits. Consider using TVD for stringent accuracy needs and Hellinger distance for more permissive tolerances to balance cost and fidelity effectively. This approach can significantly reduce hardware resource consumption and queueing latency on cloud platforms.

Key insights

Dynamically stop quantum circuit shots when empirical distribution changes diminish, saving cost.

Principles

Method

IncrementalExecution iteratively performs small shot batches, updates empirical distribution, and checks for convergence using configurable stopping and stability criteria, dynamically allocating subsequent shots.

In practice

Topics

Code references

Best for: Research Scientist, AI Scientist, AI Engineer, MLOps Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.SE updates on arXiv.org.