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
  1. Trace small array sizes
  2. Connect to simulation cost

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]

References

  1. John Watrous, The Theory of Quantum Information ↩
  2. John Watrous, IBM Quantum Learning: Basics of Quantum Information ↩