Python and the cloud
You write a circuit in Python, usually with Qiskit, and send it to a simulator on your laptop or to a machine in someone else's lab through a cloud.
Read first: Circuits and gates
An analogy
Writing SQL against SQLite, then pointing the same client at a hosted database. The call looks similar. The failures do not. A simulator is ordinary arithmetic on a classical CPU. It is exact for a few qubits and impossible for many. The cloud chip is the noisy real thing.
In the news
"Available on the cloud" often means a simulator, or a queue on a small real chip. Read which one.
What this is not
Importing Qiskit does not make your laptop a quantum computer.
Later, the math
The simulator stores one weight per possible bitstring. Two qubits is four numbers. Ten is about a thousand. Thirty is about a billion. That is why simulators stop.