How State-Vector Size Grows with Qubit Count
Count the amplitudes in a full state vector and calculate how adding one qubit changes its storage cost.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
A full state vector for \(n\) qubits has \(2^n\) entries, one for each computational basis label.
Trace small array sizes
Three qubits require eight amplitudes in the full representation. Four require sixteen. A product representation can sometimes describe special states more compactly. See product-state construction.
Connect to simulation cost
Dense state-vector storage grows exponentially with qubit count. A practical simulator may use other representations for restricted states or circuits. Counting bit patterns explains this particular dimension.[1][2]