← Back to section · Software & Developer Tools
Simulators and Real Hardware: Which Questions Belong on Which Side
Simulators and real quantum hardware are not substitutes but a division of labour. This article draws the line by question type: intermediate-state observability, noiseless baselines, and free parameter scans belong to simulators; true noise behaviour, classically unsimulable scale, and end-to-end system validation belong to hardware — plus a troubleshooting order for when the two sides disagree, and a pragmatic workflow.
In everyday quantum development, simulators and real machines are often described as a transitional arrangement — make do with the simulator now, move to hardware once it matures. That is a misreading. The capability profiles of the two are nearly complementary: a simulator sees things hardware can never see, and hardware enters territory a simulator can never compute. Putting a question on the wrong side is one of the most common sources of wasted hours in quantum development. This article draws the dividing line by question type.
The simulator’s territory: observability and baselines
The first thing hardware cannot do is intermediate-state observability. Measurement collapses the quantum state, so the amplitude distribution midway through a circuit can never be read out on a real machine; in a simulator the state vector (or density matrix) is in hand throughout, and any amplitude at any step, or the reduced state of any subsystem, can be inspected directly — the breakpoint-and-print-statement toolset of quantum algorithm debugging. The second is the noiseless baseline: a simulator supplies the ideal result, so the deviation of the hardware result from that baseline can be attributed cleanly to the machine; without a baseline, a bug in the algorithm and drift in the hardware tangle into something un-diagnosable. The third is freedom to repeat and scan: parameter scans, gradient estimation for variational optimization, and comparisons of compilation options all need hundreds or thousands of runs — on a simulator that costs electricity, on hardware it costs queue time, quota, and real run budgets.
One more is easily underestimated: reproducibility. A simulation result is fully determined by code and parameters, so anyone re-running the same version obtains bit-identical output; teaching demonstrations, paper verification, and regression tests all rest on this. Hardware results carry an intrinsic timestamp — device state changes with calibration cycles, and last week’s run may not reproduce this week. A corollary for the division of labour: expected values written into textbooks, documentation, and automated tests should come from simulation, while any claim of the form 「a device achieved a performance at a time」 must come from hardware with run conditions stated; the two kinds of evidence cannot impersonate each other.
Hardware’s territory: reality and scale
Conversely, the first thing simulators cannot replace is real noise behaviour. A noise model is a simplification built from calibration parameters; crosstalk, drift, leakage, and correlated errors — everything not written into the model — only shows up when hardware runs. Any engineering question of the form 「how does this machine actually behave」 must ultimately be evidenced on the machine. The second is scale: beyond forty to fifty qubits with substantial entanglement, the classical simulation bill is exponential, and hardware is the only laboratory — the entire point of quantum-advantage experiments rests on this boundary. The third is end-to-end validation: the full chain from high-level circuit through transpilation, layout and routing, and pulse compilation down to control electronics can only be proven as a system on hardware; simulators validate the mathematics, hardware validates the engineering. There is also an implicit fourth: hardware-specific failure modes — a qubit suddenly degrading, a coupler behaving anomalously — are encountered only by running hardware over time, and no model enumerates that long tail exhaustively.
When they disagree: check the middle layers first
Disagreement between simulation and hardware is the norm, and troubleshooting has a fixed order. First, transpilation differences: hardware runs the circuit after layout, routing, and gate decomposition, and the added SWAPs and gate count materially change the result — confirm the two sides ran the same logical circuit. Second, noise-model staleness: which day’s calibration parameters did the noise simulation use, and how far is that from the hardware run date — drift explains a large share of deviations. Third, readout error: state-preparation and measurement error is often the single largest contributor to distribution distortion; check whether hardware data had readout correction applied and whether the simulation modelled it, and align the conventions. Last, sampling statistics: hardware yields a finite-sample draw while simulation gives exact probabilities, so compute the sampling-noise scale before comparing — an 「inconsistency」 inside statistical fluctuation is no inconsistency at all. Only the residual left after these four steps deserves suspicion directed at the algorithm implementation or a hardware anomaly.
A pragmatic workflow
Division of labour becomes a workflow as a classic four-step staircase: first verify logical correctness on a noiseless simulation; then rehearse scale and depth limits with noise simulation and fix the compilation strategy; then run small on hardware and cross-check against the noise simulation; only then spend hardware quota on the full-scale production run. Each step eliminates one class of error for the next, and skipping steps is the most expensive route — debugging a logic error on hardware means doing the cheapest work with the scarcest resource.
The staircase is not one-way. Anomalies exposed by hardware trial runs — a qubit pair whose gate error is markedly above its calibrated value, a circuit family whose deviation exceeds model expectations — should flow back into the noise simulation as updated model parameters, making the next rehearsal closer to reality. Mature teams maintain a noise model that is refreshed in step with device calibration, and treat 「the simulation–hardware deviation」 itself as a monitored metric: a sudden widening is often an early signal of device-state change or a compilation-chain modification. The division of labour is therefore not a one-time venue assignment but a continuously calibrated loop.
Conclusion: the question chooses the venue
To decide which side a question belongs on, ask two things: does it need intermediate states or an ideal baseline — if so, the simulator; does it ask how a real machine actually behaves, or has the scale crossed the classically simulable boundary — if so, hardware. Neither side is a rehearsal or a replacement for the other; they are two halves of one methodology: the simulator is for understanding, the hardware is for proof.
Tags: simulatorsquantum hardwareverification