For a fixed circuit and hardware target, more compilation time allows a search to explore alternative implementations. The useful question is how the quality of the returned circuit changes with the time available. A sequence of independent compilations and a stream of incumbents from one compilation are different ways to investigate it.

Run independent compilations at several budgets to estimate the distribution of final circuit quality at each budget. Reuse the same input and target, and predefine the number of runs and the seed policy. A longer independent search can return a circuit with more gates than a shorter one. A retained best-so-far trajectory from a single search is nonincreasing for a gate-count minimization objective.

A stream reports the results that arrive at the client. Record arrival time separately from search time; network delays, queueing and reporting frequency can affect the visible trajectory.

A small illustration of the distinction

# Synthetic independent final counts and one retained incumbent trace.
independent = [120, 96, 101, 90]
stream = [130, 112, 99, 91]
assert independent[2] > independent[1]
assert all(b <= a for a,b in zip(stream,stream[1:]))

Both sequences are possible. The first compares separate searches; the second represents the best circuit retained during one search. A plot should say which of the two is being shown.

Build a matched comparison

Choose a circuit family and define the native gate set, approximation policy, usable hardware connections and output equivalence criteria. For a target with unavailable couplers, check that every compared output uses only available instructions. A common calibration file alone does not ensure that two methods use the same permitted connections.

A budget allocated to one method needs an equivalent resource definition for the other. If several settings or random seeds are searched, account for their selection cost and the rule for accepting completed jobs. Record elapsed time and billed search time separately where they differ. Report gate count and depth for valid, appropriately checked outputs. Preserve the full comparison record for reproducibility.

Use the result in an experiment

The value of a smaller circuit depends on its execution cost, reuse and the observable being measured. Count and depth are structural measures. Hardware measurements answer a separate question about the result of the computation.

The developer documentation describes the time-budgeted compilation interface and how to inspect streamed results. A budget sweep on your own circuit can help choose a compilation policy for development or repeated execution.

Explore the 4colors Quantum Compiler.