From the Circuit Builder to real hardware
What changes when a circuit leaves the ideal simulator: compilation, native gates, noise and queues.
8 min read · reviewed December 2026
Ideal versus real
The Circuit Builder and the converter describe an ideal circuit. A real quantum computer has limited connections between qubits, a fixed set of native gates and errors on every operation. Before running, software compiles the circuit into native operations. The result is usually longer than what you wrote.
Compilation
- Gates such as the Toffoli or controlled phase are broken into native one- and two-qubit gates.
- If two qubits that must interact are not connected, extra SWAP gates are inserted.
- The compiler may merge or cancel gates to shorten the circuit.
What this does to results
Every added gate adds error, so deeper compiled circuits give noisier output. The ideal probabilities from the lab are the target to compare against, and the gap grows with circuit size. Error correction, covered in a separate lab, is the long-term remedy.
Practical path
- Build and understand the circuit in the Circuit Builder.
- Convert it to your framework and run it on a simulator.
- Only then try cloud hardware, with a small number of shots and the smallest version of your circuit.
- Expect results to differ from the ideal, and read the provider’s documentation for available devices, which change often.
This guide gives no figures for device error rates or availability, because they change quickly. See the Companies page and the providers’ own documentation.
Try it
Questions
Do I need an account to run on hardware?
Usually yes, with the provider whose device you want. Terms and free tiers change, so check their sites.
Will my Bell circuit give exactly 50-50 on hardware?
No. You will also see 01 and 10 occasionally, because of errors.
Why keep the circuit small?
Error grows with every gate, and small circuits keep results readable.
Read next
Sources and further reading
- A. W. Cross, L. S. Bishop, J. A. Smolin and J. M. Gambetta, “Open quantum assembly language” (2017)
- A. Cross et al., “OpenQASM 3: A broader and deeper quantum assembly language” (2022)
- Qiskit, Cirq and PennyLane documentation
- Frameworks overview on this site
- Circuit Builder gate reference
Check the original sources for exact citations.