Skip to content
RESEARCH · EXPLAINER · QUANTUM BASICS

Your Quantum Program Gave a Different Answer. That May Be Good News.

Repeated results can look inconsistent even on a perfect quantum device. The useful answer often lives in the pattern that emerges across many runs.

Sources checked Published
My reading list
Three FMN Laboratory engineers in cleanroom clothing assemble the gold-colored cryogenic stages and wiring of a superconducting quantum computer
Photo: Sergey Kushlevich / FMNLab · CC BY 4.0

Engineers at FMN Laboratory, Bauman Moscow State Technical University, assemble cryogenic quantum-computing hardware in December 2019. Hardware context for the control and measurement of superconducting qubits. Image credit“Measuring a qubit leaves no room for error” by FMNLab; photographer Sergey Kushlevich, identified in the photograph’s metadata. CC BY 4.0, via Wikimedia Commons. Resized and converted to WebP by QubitWire; responsive cover display crops the visible frame. · https://creativecommons.org/licenses/by/4.0/

You press run, get a zero, then press run again and get a one. For many ordinary calculations, that would start a debugging session. For a quantum circuit, it may be exactly the intended behavior. The program can prepare a state whose measurement has several possible outcomes, with predictable probabilities.

Consider a prepared with equal chances of zero and one in the chosen measurement. A thousand repetitions should usually produce roughly equal totals, without promising exactly five hundred each. Each repetition prepares the state again. You are collecting fresh experiments, rather than repeatedly peeking at an unchanged hidden answer.

A small copper quantum-processor package containing a three-qubit chip rests in an open hand
A processor with three qubits and three readout cavities, fabricated at Chalmers University of Technology in 2017. This real device illustrates the physical hardware behind quantum algorithms; it is not a demonstration of the uncomputation example. Image credit“Quantum-computer-Chalmers 2017” by Anita Fors (Chalmers), CC BY-SA 4.0, via Wikimedia Commons. Resized and converted to WebP by QubitWire; responsive cover display crops the visible frame. This adaptation remains available under CC BY-SA 4.0. · https://creativecommons.org/licenses/by-sa/4.0/

Researchers call those repetitions shots. Software such as IBM’s Sampler returns the observed bit strings, which can be counted and compared. One result is a sample; the collection reveals how often different outcomes occur. In a useful algorithm, the question determines which features of that distribution actually carry the answer.

There is a second source of variation: imperfect hardware. Gates, readout and environmental disturbances can shift the observed distribution away from what the circuit intended. Taking more shots helps estimate the distribution being produced, but cannot automatically remove that bias. Error mitigation addresses certain effects, often requiring additional measurements and assumptions.

That changes how to read a quantum result. Look for the expected pattern, the number of repetitions and an account of uncertainty. A beginner’s circuit can display meaningful randomness without solving a useful industrial problem. Conversely, an impressive-looking single output tells you little about whether the underlying experiment is reliable.

READ NEXT

Continue exploring

All Research stories
  1. Explore measurement and sampling

    IBM Tests Built-In Checks in a 70-Logical-Qubit Sampling Experiment

    The reported experiment embeds error checks in a sampling circuit and uses postselection to improve measured output quality.

    Source date
  2. Explore the related question

    Quantinuum's 55-Qubit Game Makes Non-Classicality Easier to Check

    H2 beat the optimal classical score in an efficiently checked experiment, but this was a device test—not a useful computational speedup.

    Source date
THE QUANTUM BRIEFING

A clearer signal.
Straight to your inbox.

A little perspective on a fast-moving field.

Read a briefing preview →

Selected quantum coverage in a weekly briefing. Read the preview or register your interest.