↓Skip to main content
  1. Data Science Blog/

From Geometry to Quantum Mechanics

·1011 words·5 mins· loading · ·
Mathematics Research & Academia Geometry Quantum Mechanics Quantum Computing Linear Algebra Mathematics

From Geometry to Quantum Mechanics

From Geometry to Quantum Mechanics
#

Part 26 of the Learning Quantum Physics series.

See the same mathematical idea in four spaces: (1) a 2D plane, (2) 3D space, (3) one qubit, and (4) three qubits. Move the slider to change the example in all four columns. Read the formula under each picture. The terminology table lists every paired term, and the search box filters that list.

A plane, ordinary space, one qubit, and three qubits share these names: basis, length, turn, projection, overlap. In each of the four columns, the name refers to the object that belongs to that column.

The count of free numbers is derived in How Many Numbers Does a Qubit Need?. The colored axes are in Seeing Three Dimensions: Colors, Planes, a Sphere and the Meaning of Rotation.

1. What does “dimension” mean?
#

The word dimension names a different count in each column.

\(\mathbb{R}^{2}\)2D geometric space
\(\mathbb{R}^{3}\)3D geometric space
\(\mathbb{C}^{2}\)1 qubit · 2 complex dimensions
\(\mathbb{C}^{8}\)3 qubits · 8 complex dimensions
Property2D geometry3D geometry1 qubit3 qubits
Mathematical space\(\mathbb{R}^{2}\)\(\mathbb{R}^{3}\)\(\mathbb{C}^{2}\)\(\mathbb{C}^{8}\)
Basis vectors232: \(|0\rangle\), \(|1\rangle\)8: \(|000\rangle \ldots |111\rangle\)
Raw real coordinates234 (2 complex amplitudes)16 (8 complex amplitudes)
Pure physical-state parametersNot applicableNot applicable2 real14 real
Physical-state visualizationXY planeXYZ spaceBloch sphere surfaceEight basis amplitudes
General mixed-state parametersNot applicableNot applicable3 real (one point in one Bloch ball)63 real (one \(8 \times 8\) density matrix)

\(\mathbb{C}^{2}\) is 2-dimensional over the complex numbers, and the same space is 4-dimensional over the real numbers. For a pure qubit, normalization removes one of those four real numbers. Global phase removes a second. \(4 - 1 - 1 = 2\). The surface of the Bloch ball is a 2-dimensional surface sitting in ordinary 3-dimensional space.

A pure state is a point on the surface of the Bloch ball. For that surface point, \(x^{2} + y^{2} + z^{2} = 1\). Choose any two of \(x\), \(y\), and \(z\). The equation gives the third coordinate. A mixed state off the surface is a point inside the ball. For that interior point, \(x^{2} + y^{2} + z^{2} < 1\). All three coordinates are chosen.

A mixed state of three qubits is one \(8 \times 8\) density matrix. That matrix has 63 free real numbers. Seven of the 63 numbers are free probabilities on the diagonal. The eight diagonal probabilities add to 1, which is why seven of them are free. The other 56 numbers are the real and imaginary parts of the 28 coherences between the eight basis states. Eight bars show the eight probabilities. The coherences are the off-diagonal entries of this same \(8 \times 8\) matrix.

The 63 numbers are also the coefficients of the operator products. The operators on one qubit are spanned by \(I\), \(X\), \(Y\), and \(Z\). Three qubits use every product of one choice from each qubit, and \(4 \times 4 \times 4 = 64\) products. The trace sets the coefficient of \(I \otimes I \otimes I\). The other 63 coefficients remain free.

General rule for n qubits

\[ \begin{aligned} \text{Hilbert dimension} &= 2^{n} \text{ complex}\\ \text{Pure-state independent real parameters} &= 2^{n+1} - 2\\ \text{Mixed-state independent real parameters} &= 4^{n} - 1 \end{aligned} \]

2. Interactive four-space explorer
#

Choose a concept. Each of the four columns shows that concept in one space: the plane, ordinary space, one qubit, or three qubits.

The one-qubit column draws the state as a Bloch sphere. The three-qubit column draws the state as eight bars, one bar for each basis label. The formula under a picture is the operation shown in that column.

3. Geometry vs Quantum Mechanics: Concept and Terminology Mapping
#

The terminology table pairs each geometric term with the quantum term for the same mathematical role. Each term has its example on the line below. Type in the search box to filter the rows.

ConceptGeometry / Linear AlgebraQuantum Mechanics

Each row pairs a geometric word with the quantum word for the same mathematical role. The line under a word is one example of that word. An observable is a Hermitian operator. A gate on a closed system is a unitary operator.

4. Three essential distinctions
#

Three facts about an amplitude, a joint state, and coherence.

Probability is the squared size of an amplitude

An amplitude has a magnitude and a phase. The probability of the basis outcome that carries that amplitude is the square of the magnitude.

\[ \psi = \alpha|0\rangle + \beta|1\rangle \] \[ P(0) = |\alpha|^{2},\quad P(1) = |\beta|^{2} \]

A product state can contain a superposition

The product-state formula is one joint state of two qubits, written as a product of two factors. The first factor is a superposition of \(|0\rangle\) and \(|1\rangle\) on the first qubit. The second factor is \(|0\rangle\) on the second qubit. Expanded, that same joint state is \(\frac{|00\rangle + |10\rangle}{\sqrt{2}}\). An entangled pure state of two qubits is a joint state that does not factor into one state of the first qubit times one state of the second qubit.

\[ \frac{|0\rangle + |1\rangle}{\sqrt{2}} \otimes |0\rangle \]

The symbol \(\otimes\) joins the first qubit's factor to the second qubit's factor.

Coherence is the off-diagonal of the density matrix

In the basis \(\{|0\rangle, |1\rangle\}\), the diagonal entries are the probabilities of \(|0\rangle\) and of \(|1\rangle\). The off-diagonal entries are the coherence. The two matrices below have the same diagonal entries, \(\tfrac{1}{2}\) and \(\tfrac{1}{2}\). An X-basis measurement assigns different probabilities to those two matrices.

\[ \rho_{\mathrm{pure}} = \begin{bmatrix} \tfrac{1}{2} & \tfrac{1}{2} \\ \tfrac{1}{2} & \tfrac{1}{2} \end{bmatrix} \] \[ \rho_{\mathrm{mixed}} = \begin{bmatrix} \tfrac{1}{2} & 0 \\ 0 & \tfrac{1}{2} \end{bmatrix} \]

Related reading#

Hashtags
#

#QuantumMechanics #QuantumComputing #LinearAlgebra #Geometry #HilbertSpace #BlochSphere #Superposition #Entanglement #DiracNotation #Qubit

Related

Operators in Quantum Mechanics
·3249 words·16 mins· loading
Mathematics Research & Academia Quantum Mechanics Quantum Computing Linear Algebra Mathematics Pauli Matrices
Operators in Quantum Mechanics # Part 27 of the Learning Quantum Physics series. An operator takes …
How Many Numbers Does a Qubit Need?
·3049 words·15 mins· loading
Mathematics Research & Academia Quantum Computing Quantum Mechanics Mathematics Linear Algebra Machine Learning
How Many Numbers Does a Qubit Need? # You already know how to place a point. On a plane you need …
Opening a Power: Where the Coefficients Come From
·1591 words·8 mins· loading
Mathematics Research & Academia Mathematics Mathematics for Machine Learning Mathematics for AI Applied Mathematics Algebra
Opening a Power: Where the Coefficients Come From # A power such as $(x+y)^{55}$ is 55 factors of …
The Taylor Series: Polynomials That Copy a Curve
·2605 words·13 mins· loading
Mathematics Research & Academia Mathematics Mathematics for Machine Learning Mathematics for AI Applied Mathematics
The Taylor Series: Polynomials That Copy a Curve # A calculator finds $\sin 0.5$ without a stored …