How to Run Quantum Circuits on Real Hardware: Access, Costs, Queues, and Results
quantum hardwareIBM QuantumAzure QuantumAmazon Braketquantum cloud platformsquantum jobs

How to Run Quantum Circuits on Real Hardware: Access, Costs, Queues, and Results

SSharp Qbit Lab
2026-11-03
7 min read

A practical guide to estimating cost, queue time, hardware noise, and reproducible results when running quantum circuits on cloud processors.

Running a circuit on a simulator is useful for debugging, but real quantum hardware introduces device topology, calibration, queueing, measurement noise, and provider-specific costs. This field guide explains how to choose a platform, estimate the resources required, submit a controlled experiment, and record results so that hardware runs remain comparable when prices, device availability, and backend performance change.

Overview

Real quantum hardware access usually follows the same basic pattern: create an account with a quantum cloud provider, install or configure an SDK, select an available processor, translate your circuit into that processor's instruction set, submit a job, wait for execution, and retrieve the measurement results.

IBM Quantum, Azure Quantum, and Amazon Braket are examples of platforms that can connect developers to quantum processors and simulators. Their interfaces, account requirements, hardware catalogs, billing models, and job workflows differ, so the most suitable choice depends on the experiment rather than on a universal ranking.

A hardware run should be treated as an experiment with an explicit budget and a reproducible record. The number of qubits alone is not enough to choose a backend. You should also consider the gates used by the circuit, the connectivity required, the expected queue delay, supported shot counts, calibration information, regional or account constraints, and whether the platform charges for execution, simulator use, orchestration, or related cloud resources.

Before submitting, establish a baseline on a local simulator. A simulator can verify circuit construction and provide an ideal probability distribution. The hardware run then answers a different question: how does this circuit behave on a particular physical device under its current operating conditions? For a broader comparison of development environments, see this quantum simulator comparison.

How to estimate

Estimate a hardware experiment in four stages: circuit preparation, execution volume, platform overhead, and analysis.

1. Define the execution unit

Write down what one submitted job contains. It may be one circuit repeated for many shots, a batch of related circuits, or a parameterized circuit evaluated at several parameter values. Do not use “one run” ambiguously. A provider may treat a submitted job, a circuit, a shot, and a parameterized circuit evaluation as different units for queueing and billing.

A useful first calculation is:

Total shots = number of circuits × shots per circuit × number of repetitions

If an experiment contains 6 circuits, uses 2,000 shots per circuit, and is repeated 3 times for uncertainty analysis, the total is 36,000 circuit shots. This is not automatically the provider's billable quantity, but it gives you a clear execution-volume estimate.

2. Add development and validation jobs

Most experiments require more than the final submission. Include jobs for a small smoke test, compilation validation, baseline measurements, and any calibration or error-mitigation comparison. A practical planning formula is:

Planned jobs = test jobs + baseline jobs + production jobs + validation jobs

Keep test jobs deliberately small. Their purpose is to confirm authentication, circuit compatibility, measurement order, backend selection, and result parsing—not to produce publishable statistics.

3. Estimate cost by component

Use the platform's current pricing and account documentation at the time of submission. Separate the estimate into:

  • Quantum processor execution, if billed by the provider.
  • Simulator execution, if the selected simulator is a metered cloud resource.
  • Classical compute, storage, networking, or orchestration charges associated with the workflow.
  • Optional error-mitigation, compilation, or managed-service features.

Then calculate:

Estimated total = processor cost + simulator cost + classical cloud cost + contingency

Use a contingency rather than assuming the first estimate is exact. Retries, extra validation circuits, parameter sweeps, and failed submissions can increase consumption. Record the pricing page, currency, region, account type, and date used for the estimate because these inputs can change.

4. Estimate time separately from cost

Execution time and wall-clock time are different. Wall-clock time includes compilation, queue waiting, service delays, result transfer, and local analysis. For planning, record a range instead of a single promise:

Expected elapsed time = preparation time + queue time + execution time + result-processing time

Queue time is often the least predictable input. Avoid scheduling a demonstration, paper deadline, or production decision around an assumed queue duration unless the platform provides a reliable service commitment for your specific account and workload.

Inputs and assumptions

A repeatable estimate starts with a small experiment worksheet. Capture the following fields before you submit:

  • Provider and account: Identify the cloud platform, subscription or account type, region, and project or resource group where relevant.
  • Backend: Record the processor or simulator name, qubit count, supported operations, connectivity, and availability as shown when selected.
  • Circuit shape: Note qubit count, circuit depth, two-qubit gate count, measurement locations, parameter count, and whether mid-circuit measurement or control flow is used.
  • Compilation settings: Save the SDK version, transpiler or compiler options, optimization level, target instruction set, and resulting depth.
  • Shots: Record shots per circuit and the reason for choosing that value.
  • Repetitions: Distinguish statistical repetitions from independent hardware submissions. They may have different operational consequences.
  • Cost inputs: Record the applicable execution rate or pricing rule, included credits if any, simulator charges, and classical resource assumptions.
  • Result metadata: Save job identifiers, submission time, completion time, backend information, circuit hash, and raw counts or samples.

Hardware selection should be noise-aware. A processor with more qubits is not automatically better for a small circuit. Prefer a device whose available connectivity reduces routing overhead and whose current characteristics are suitable for the gates your circuit uses. If the experiment depends on a narrow chain of entangling operations, map the logical qubits to a physically connected region when the SDK and platform allow that choice.

Keep the ideal simulator result, a noisy simulator result when available, and the hardware result together. This three-way comparison helps distinguish circuit bugs from hardware effects. The article Quantum Circuit Simulators vs Real Hardware provides useful context for deciding which environment to use at each stage.

Worked examples

Example 1: A small measurement experiment

Suppose you want to compare an ideal Bell-state circuit with hardware output. You prepare one circuit, use 4,000 shots, and repeat the submission twice on the same processor. The execution volume is:

1 circuit × 4,000 shots × 2 repetitions = 8,000 circuit shots

Your estimate should also include one small test submission and one simulator baseline. The test confirms that the account, backend, measurements, and result parser work. The simulator baseline gives you an expected distribution before noise. In the results table, report both hardware submissions separately rather than merging them immediately. Differences between submissions may reveal changing device conditions or sampling variation.

Example 2: A variational circuit sweep

Now consider a variational quantum circuit with 8 parameter settings. Each setting uses 3 circuits and 1,500 shots, and the full sweep is repeated twice:

8 settings × 3 circuits × 1,500 shots × 2 repetitions = 72,000 circuit shots

This estimate excludes compilation and validation jobs. It also assumes that every parameter setting uses the same circuit structure. If the workflow recompiles each setting or adds measurement groups, the actual job count and processing time may be higher.

For this type of experiment, track the parameter vector, objective value, circuit depth after compilation, backend, shots, and submission identifier for every evaluation. Without that record, a later optimization result may be impossible to reproduce. For a complete workflow, see Hybrid Quantum Machine Learning Workflow.

Example 3: Comparing two platforms

If you compare IBM Quantum, Azure Quantum, and Amazon Braket, keep the algorithm and shot budget constant where practical, but do not assume the submitted circuits are identical at the hardware level. Each platform may compile the logical circuit differently. Record both the original logical circuit and the provider-specific compiled circuit metrics.

Compare at least these outcomes: total submitted shots, elapsed time, estimated and actual cost, compiled depth, two-qubit gate count, success metric, and result variability across repetitions. This produces a platform comparison rather than an anecdotal “it ran” report. A framework comparison can help with the software choice, but hardware results still need their own controlled measurement.

When to recalculate

Recalculate your estimate whenever a pricing input, backend, circuit, or execution plan changes. In particular, revisit it when:

  • The provider changes execution, simulator, storage, or orchestration pricing.
  • Your account, subscription, credits, region, or billing arrangement changes.
  • You switch processors or the platform changes the available backend configuration.
  • Compilation increases circuit depth, routing operations, or two-qubit gate count.
  • You increase shots, add parameter values, or repeat the experiment for uncertainty estimates.
  • You introduce error mitigation, calibration circuits, post-selection, or additional baselines.
  • Your queue observations change enough to affect the project schedule.

Before every meaningful submission, run a short checklist: confirm the current backend status, verify the pricing inputs, compile once and inspect the resulting circuit, calculate total shots, set a spending limit where the platform supports one, and save the job configuration. After execution, export raw results and metadata before beginning analysis.

Finally, review the estimate against actual usage. Record the difference between planned and consumed shots, the predicted and observed elapsed time, and any unexpected retries or extra jobs. Over several experiments, this becomes a project-specific planning model. That model is more useful than a generic claim about which platform is cheapest or fastest, because it reflects your circuit sizes, compilation choices, statistical requirements, and account conditions. Revisit it whenever those inputs move.

Related Topics

#quantum hardware#IBM Quantum#Azure Quantum#Amazon Braket#quantum cloud platforms#quantum jobs
S

Sharp Qbit Lab

Quantum Computing Editor

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.