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.
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.
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.
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.

