Quantum ComputingInformation TheoryUniversity
AQAIB

Qubit State Space (Dimension) Calculator

Dimensionality of the Hilbert space for n qubits.

Use the free calculatorCheck the variablesOpen the advanced solver
This is the free calculator preview. Advanced walkthroughs stay in the app.
Result
Ready
Dimension

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

Dimension
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?

Num. Qubits8

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

  1. Michael A. Nielsen, Isaac L. Chuang. Quantum Computation and Quantum Information. Cambridge University Press.
  2. Wikipedia: Qubit
  3. Wikipedia: Hilbert space
  4. Quantum Computation and Quantum Information by Michael A. Nielsen and Isaac L. Chuang
  5. Nielsen and Chuang Quantum Computation and Quantum Information
  6. Griffiths Introduction to Quantum Mechanics
  7. University Quantum Computing — Hilbert Space