ZKSF logo, a neon quantum brainZKSF
← All articles

The 34-Qubit Wall: Why Free Quantum Simulators Stop, and How to Go Past It

· 4 min read · ZKSF team

Every free quantum simulation tier caps at close to the same number: 34 qubits. This is not a coordinated product decision. It is arithmetic.

Interactive diagramThe wall, and three routes past itStatevector memory doubling with every qubit, next to the routing tree that sends a circuit to whichever method actually reaches it

The left chart plots exact statevector memory on a log scale, crossing a typical free-tier ceiling around 34 qubits, that's arithmetic, not a product decision. The right side is the routing question that actually matters: a Clifford-heavy circuit goes to a stabilizer engine at thousands of qubits, a shallow circuit needing one expectation value goes to Pauli propagation, a modestly entangled circuit goes to a tensor-network method, and a circuit that's deep, wide, and highly entangled hits the real classical frontier, not a platform limit. The bottom-left chart shows what a trustworthy approximate result looks like: rerunning at double the bond dimension until the answer stops moving.

A statevector simulator stores one complex number per basis state, and n qubits have 2^n basis states. At 16 bytes per complex number, 34 qubits require roughly 256 GB of RAM, near the practical ceiling of a well-provisioned cloud server. Every additional qubit doubles the requirement.

Qubits   Memory required (statevector, exact)
30       17 GB
34       256 GB   <- typical free-tier ceiling
35       512 GB
40       16 TB
45       0.5 PB

Hardware improvements do not rescue this. Available memory grows roughly linearly over time; the requirement grows exponentially with qubit count. No amount of engineering closes that gap for an arbitrary circuit.

The wall is real for arbitrary circuits. It is largely irrelevant for the circuits most researchers actually run, because those circuits have structure, and structure can be exploited by methods other than brute-force statevector simulation.

That structure takes familiar forms: QAOA layers, ansatz patterns, Clifford sections, bounded entanglement. Statevector, stabilizer, and tensor-network methods exploit it automatically, so structured circuits often run in seconds on modest, widely available hardware. And for the circuits that genuinely call for a physical device, Rigetti superconducting and IonQ trapped-ion processors are reachable through the same interface, which makes the choice between simulation and hardware a routing decision rather than a change of tools.

Three routes past the wall

  • Clifford circuits. Built from Hadamard, S, CNOT, and related gates, these are the backbone of quantum error correction research. The Gottesman-Knill theorem shows they simulate in polynomial time; stabilizer engines such as Stim handle thousands of qubits in milliseconds. A 5,000-qubit Clifford circuit runs in about half a second on this platform.
  • Low-entanglement circuits. A matrix product state (MPS) representation compresses the quantum state, spending memory only on the entanglement a circuit actually generates. QAOA instances, hardware-efficient ansatze, and Trotterized dynamics often carry modest entanglement even past 100 qubits; a 100-qubit, depth-304 QAOA circuit runs in under six seconds on a laptop CPU.
  • Shallow circuits targeting expectation values. Pauli propagation, the method that reproduced IBM's 127-qubit 'utility' experiment on a laptop within weeks of publication, tracks an observable backward through the circuit rather than the full state forward.

What accuracy requires

Each of these methods is approximate outside its comfort zone, so the operative question is always how far a given answer might be from the truth. A responsible platform measures this directly, for example by re-running an MPS job at double the bond dimension and reporting how much the answer moved. No movement means the compression captured the state; movement means more resources, or a different method, are needed.

Some circuits pass through none of these doors. Deep, wide, highly entangled circuits defeat statevector, stabilizer, and tensor-network methods at once. This is not a platform limitation; it is the actual frontier of classical computation, and a claim to the contrary should be treated with suspicion.

The practical conclusion: the 34-qubit figure on a pricing page describes one method, not a given circuit. The better questions are whether the circuit is Clifford-heavy, shallow, or modestly entangled. When the answer is yes, 100 qubits and beyond can be inexpensive. Routing should follow circuit structure, not headline qubit counts.

Run your own 100-qubit circuit, with an error bar.