Qubit State Space (Dimension) Calculator
Dimensionality of the Hilbert space for n qubits.
Formula first
Overview
This formula defines the dimensionality of the Hilbert space for a system of n qubits, representing the total number of mutually orthogonal basis states available. It illustrates the fundamental principle that the state space of a quantum system grows exponentially with the number of components.
Symbols
Variables
D = Dimension, n = Num. Qubits
Apply it well
When To Use
When to use: Use this equation when calculating the size of the state vector or the dimensions of a Hamiltonian matrix in a quantum simulation. It assumes each unit in the system is a two-level quantum bit.
Why it matters: This exponential scaling is the source of quantum supremacy, as it allows a relatively small number of qubits to represent a vast amount of information. For example, 300 qubits can represent more states than there are atoms in the observable universe.
Avoid these traps
Common Mistakes
- Thinking n qubits only store n bits of info (they store 2^n amplitudes).
One free problem
Practice Problem
A quantum computing student is working with a register of 8 qubits. What is the dimension of the resulting state space?
Solve for:
Hint: The dimension is found by raising 2 to the power of the number of qubits.
The full worked solution stays in the interactive walkthrough.
References
Sources
- Michael A. Nielsen, Isaac L. Chuang. Quantum Computation and Quantum Information. Cambridge University Press.
- Wikipedia: Qubit
- Wikipedia: Hilbert space
- Quantum Computation and Quantum Information by Michael A. Nielsen and Isaac L. Chuang
- Nielsen and Chuang Quantum Computation and Quantum Information
- Griffiths Introduction to Quantum Mechanics
- University Quantum Computing — Hilbert Space