math

trace operator

trace operator — from formula anatomy
5 formulas

Description

The trace operator is a mathematical function that takes a square matrix and returns the sum of its diagonal entries. In physics, it appears constantly in quantum mechanics and statistical mechanics, where it provides a way to compute expectation values and probabilities from density matrices. The trace is invariant under changes of basis, meaning it captures intrinsic properties of a linear map rather than artifacts of a particular coordinate system.

History

The trace concept dates back to the 19th century, with early uses in matrix theory by mathematicians like Arthur Cayley and James Joseph Sylvester. Its systematic application in physics grew with the development of quantum mechanics in the 1920s.

How it works

For a matrix A with entries A_ij, the trace is defined as tr(A) = Σ_i A_ii. This simple sum has powerful properties: tr(AB) = tr(BA) for any two matrices (even though AB and BA may differ), and tr(UAU⁻¹) = tr(A) for any invertible matrix U. In quantum mechanics, the expectation value of an observable O in a state described by density matrix ρ is ⟨O⟩ = tr(ρO), and the trace of ρ itself is always 1 for a normalized state.

In practice

The trace operator is essential in quantum computing for simulating quantum circuits, in condensed matter physics for computing partition functions, and in machine learning for matrix factorization and regularization.

Fun fact

The trace of a matrix equals the sum of its eigenvalues, counting multiplicity, which is why it appears in the characteristic polynomial and in the definition of the determinant.

Concept graph →

Formulas

$$F(U,V) = \frac{1}{N} |\operatorname{Tr}(U^{\dagger}V)|$$
Measure of similarity between two unitary matrices.
What is in the formula
UvariableFirst unitary matrix — unitary matrix
VvariableSecond unitary matrix — unitary matrix
NvariableDimension of the Hilbert space — dimension
TroperatorSum of diagonal elements of a matrix — trace operator
†operatorConjugate transpose of a matrix — hermitian conjugate
| |operatorMagnitude of a complex number — absolute value
$$D(\rho \| \sigma) = \mathrm{tr}[\rho (\log \rho - \log \sigma)]$$
Measures distinguishability between two quantum states.
What is in the formula
ρvariabledensity operator of the first quantum state — density operator
σvariabledensity operator of the second quantum state — density operator
troperatorsums diagonal elements of an operator in any basis — trace operator
logoperatortakes the operator logarithm, defined via spectral decomposition — matrix logarithm
$$S = -\operatorname{tr}(\rho \ln \rho)$$
Entropy of a quantum system given its density matrix ρ.
What is in the formula
Svariablevon Neumann entropy — entropy joule per kelvin
ρvariabledensity matrix of the quantum state — density matrix
troperatorsums diagonal elements of a matrix — trace operator
lnoperatortakes the natural logarithm — natural logarithm
$$\operatorname{Tr}[A\rho]$$
The expectation value of operator A in quantum state ρ.
What is in the formula
AvariableOperator whose expectation is taken — operator
ρvariableDensity matrix (quantum state) — density matrix
TroperatorComputes the sum of diagonal elements of a matrix — trace operator
$$F(\rho, \sigma) = \operatorname{Tr}\sqrt{\sqrt{\rho}\sigma\sqrt{\rho}}$$
Quantum fidelity measures similarity between two quantum states.
What is in the formula
FvariableQuantum fidelity between states — fidelity
ρvariableDensity matrix of first quantum state — density matrix
σvariableDensity matrix of second quantum state — density matrix
TroperatorSum of diagonal elements of a matrix — trace operator
√operatorPrincipal square root of a positive semidefinite matrix — matrix square root

Related articles · 0

No articles yet