← All measures
State-vector memory for n qubits
Quantum physics · Number of amplitudes and the memory a full state-vector simulation of n qubits needs at single or double precision.
M = 2n × b
Result
Turn on JavaScript to calculate.
How it works
A full simulation stores one complex amplitude per basis state, 2ⁿ of them. b is the bytes per amplitude. Every added qubit doubles the memory, so the need grows very fast with n.
Results are estimates for learning and planning. Check anything you rely on with a qualified professional.
