The Bloch sphere is a powerful tool for visualizing qubit states and operations in quantum computing. It represents a single qubit's state space as points on a sphere, with the poles corresponding to the computational basis states |0โฉ and |1โฉ.
Points on the Bloch sphere are described by a vector and angles, representing pure qubit states. Single-qubit operations can be visualized as rotations on the sphere. The Bloch sphere relates closely to Pauli matrices, forming a basis for qubit operations.
Qubit States and the Bloch Sphere
Bloch sphere for qubit representation
- Geometric representation of the state space of a single qubit
- Qubit states represented as points on the surface of the sphere (pure states)
- North and south poles correspond to the computational basis states and
- Visualizes qubit states and their transformations
- Any point on the surface represents a valid pure state of a qubit (superposition)
- Mixed states represented by points inside the sphere (non-pure states)

Points on Bloch sphere
- Bloch vector represents a qubit state
- Vector points from the center of the sphere to a point on the surface
- Parameterized by angles and :
- Qubit state corresponding to a point on the Bloch sphere:
- represents the angle between the Bloch vector and the positive z-axis (latitude)
- represents the angle between the projection of the Bloch vector onto the x-y plane and the positive x-axis (longitude)

Visualizing single-qubit operations
- Single-qubit gates visualized as rotations of the Bloch vector around the x, y, or z axes
- Pauli-X gate (): rotation of radians around the x-axis (bit flip)
- Pauli-Y gate (): rotation of radians around the y-axis (bit and phase flip)
- Pauli-Z gate (): rotation of radians around the z-axis (phase flip)
- Hadamard gate (H): rotation of radians around the axis equally dividing the x and z axes (creates equal superposition)
- Phase shifts represented by rotations around the z-axis (changes relative phase)
Relationship between the Bloch Sphere and Pauli Matrices
Bloch sphere vs Pauli matrices
- Pauli matrices (, , ) form a basis for single-qubit operations
- Any single-qubit operation decomposed into a linear combination of Pauli matrices and the identity matrix
- Bloch vector related to the density matrix of a qubit state:
- is the 2x2 identity matrix
- is the vector of Pauli matrices
- Expectation values of the Pauli matrices for a given qubit state correspond to the coordinates of the Bloch vector
- (x-coordinate)
- (y-coordinate)
- (z-coordinate)