← All tools
QUANTIBIT / 07 · Experimental

How many qubits can your computer simulate?

Explore how memory grows when simulating qubits. Enter a RAM budget or choose a qubit count to see the result.

Memory reserved for simulation

Use only the memory you plan to reserve for the simulator, not necessarily all installed RAM.

Quick examples

Choose a budget to get started.

1 GiB = 1,073,741,824 bytes; 1 GB = 1,000,000,000 bytes. Binary and decimal units differ.

Theoretical state-vector maximum29 Number of qubits
Minimum vector memory8 GiBExact bytes: 8,589,934,592
Complex amplitudes536,870,912

Memory for one more qubit: 16 GiB

This is a theoretical RAM limit for a dense state vector, not a test of your computer. The operating system, temporary copies, software and processing time may reduce actual capacity. Other simulation methods can use less memory in special cases. This is not the memory of a real quantum computer.

Every qubit doubles memory

Adding one qubit requires twice as many amplitudes.

27 · Number of qubits2 GiB
Fits theoretical budget
28 · Number of qubits4 GiB
Fits theoretical budget
29 · Number of qubits · Selected8 GiB
Fits theoretical budget
30 · Number of qubits16 GiB
Exceeds theoretical budget
31 · Number of qubits32 GiB
Exceeds theoretical budget

How is it calculated?

A pure state of n qubits has 2ⁿ complex amplitudes. Each amplitude uses two 64-bit numbers (16 bytes). Multiply the amplitude count by 16.

16 × 2ⁿ B20 → 16 MiB24 → 256 MiB30 → 16 GiB

What this number does not guarantee

This is a theoretical RAM limit for a dense state vector, not a test of your computer. The operating system, temporary copies, software and processing time may reduce actual capacity. Other simulation methods can use less memory in special cases. This is not the memory of a real quantum computer.

1 GiB = 1,073,741,824 bytes; 1 GB = 1,000,000,000 bytes. Binary and decimal units differ.

Keep exploring

My first qubit →