Linear Operators on Hilbert Space
States answer "what is the system?"; operators answer everything else — what can be measured, how things evolve, what symmetries act. The previous chapter used operators informally: multiply by , differentiate and tack on , reflect through the origin. This article promotes them to first-class citizens of the formalism, with one adjective doing all the work: linear. A linear operator treats superpositions transparently — acting on a sum, it acts on each part — and that single property is why quantum mechanics stays a linear theory all the way up, why interference survives every measurement-free process, and why the entire subject can be done as matrix algebra. The matrix connection is the article's centerpiece. A linear operator is completely determined by what it does to a basis — finitely much information per basis vector — so choosing a basis converts abstract operators into concrete arrays of numbers , composition into row-by-column multiplication, and quantum mechanics into arithmetic. That is not a computational trick; it is historically how the theory was discovered, matrices first, meaning later. You will build the position operator's matrix in the particle-in-a-box basis and watch a familiar friend reappear uninvited: the parity selection rule, now visible as a checkerboard of zeros. Equally important is what operators do not do: commute. then differs from then , and the difference — the commutator — is where quantum mechanics stores its deepest physics. This article exhibits the non-commutativity concretely and hands the two famous consequences to their owners: the canonical commutation relation and the uncertainty machinery live two doors down. Here you learn the algebra: products, inverses, functions of operators, and the honest fine print about unbounded operators that infinite dimensions impose.
- A linear operator maps states to states respecting superposition: .
- Linearity ⟹ the operator is fixed by its action on any basis: the numbers are its matrix representation, and operator composition = matrix multiplication.
- The workhorse examples: (multiply), (differentiate), parity , projectors, the Hamiltonian. Complex conjugation is the standard counterexample — antilinear, not linear.
- Operators generally do not commute: shown concretely here; the commutation relation's derivation and doctrine belong to later articles.
- Products, powers, inverses, and functions ( via the power series) inherit from the algebra — but unless the operators commute.
- Infinite dimensions add fine print: and are unbounded (they can stretch states arbitrarily), so domains matter — flagged honestly, resolved later in the chapter.
- Key idea: a linear operator is determined entirely by its action on a basis; choosing a basis turns abstract operator algebra into matrix algebra.
A linear operator is determined entirely by its action on a basis; choosing a basis turns abstract operator algebra into matrix algebra — and the failure of operators to commute is where the theory's distinctly quantum content lives.
Where this lives today
"Build the matrix, diagonalize, read the physics" is the daily loop of computational science. Quantum-chemistry packages assemble Hamiltonians in orbital bases exactly as the derivation card assembled — texture, selection-rule zeros, truncation audits and all; the field's crown-jewel methods (CI, coupled-cluster) are strategies for taming matrix size. Every quantum-computing gate is a small operator specified as its matrix, composed by multiplication in precisely equation (2)'s sense, and compiled hardware instructions are checked against the algebra rule that order matters. The two-level truncation of Example 2 is the working model of qubits, atomic clocks, and laser spectroscopy — with its off-resonance audit now an engineering discipline ("leakage to state 3" is a quoted error budget line in superconducting processors). And the unbounded-operator fine print earns salaries in mathematical physics: proving self-adjointness of new Hamiltonians remains the licensing exam for quantum models.
The physical picture
Think of an operator as a machine with a conveyor belt: states in, states out. The linearity contract says the machine has no threshold, no saturation, no cross-talk: feed it a superposition and it processes each component independently, preserving the coefficients. That contract is physics, not convenience. Interference patterns survive propagation because the evolution machine is linear; a superposition of two paths stays a superposition rather than collapsing into a blend. When you meet genuine nonlinearity in quantum-looking equations (the Gross–Pitaevskii equation of condensates, say), it is always an effective description — many particles approximated as one field — never the fundamental theory.
The second picture is the operator as a filled-in table. Because the machine is linear, you know everything about it once you know what it does to basis vectors: is some state, expandable as , and the complex numbers — how much of output comes from input — are the machine's complete specification. Arrange them in an array and every question about becomes arithmetic. The rows and columns even carry physics on their face: a diagonal table means the basis states are the machine's "natural" inputs (each processed without leaking into the others — eigenstates, formally treated in the next article); zeros stamped in a pattern mean a selection rule; a band structure means the operator only connects near neighbours. Reading matrices like this is a professional skill, and the worked examples train it.
Definition, examples, counterexample
The contract, in one line — for all states and all complex coefficients:
where: both requirements matter — additivity and the scalars passing through unconjugated. The roster of machines you have already used checks out instantly: the position operator ( — multiplication distributes over sums), the momentum operator (differentiation is linear — its wave-mechanics credentials live in the Momentum Operator article of the previous chapter), the parity operator (relabeling the argument touches no coefficient), every projector , and every Hamiltonian you have built. The instructive counterexample is complex conjugation, : additive, yes — but . The scalar comes through conjugated: is antilinear, a genuinely different species that quantum mechanics reserves for exactly one job (time reversal), and the distinction will matter there. The table-of-numbers statement, precisely: pick an orthonormal basis and define
where: the right-hand reconstruction (a sum of outer products weighted by the matrix elements) shows the correspondence is complete — nothing about outruns its matrix. Composition then obeys the chain you verified in the bra-ket article by inserting a complete set: — operator products are matrix products, with order preserved. Everything in your linear-algebra toolkit — identity (), inverses when they exist (, order reversed), traces (, cyclic under rotation of factors) — imports wholesale.
We construct the matrix of in the infinite-square-well basis on and read physics off the array. The strategy is direct evaluation of — trigonometric integrals a first-year student can do — but the payoff is structural: a checkerboard of exact zeros (the parity selection rule of the one-dimensional chapter, resurfacing as matrix texture) and a decay law down the rows that controls how well truncated matrices approximate the operator. Work in units .
Step 1. Set up the integral: . Product-to-sum converts the integrand to cosines of ; integrate by parts once each.
Step 2. Diagonal elements. For the cross term averages out and — every stationary state sits, on average, dead centre. Why this had to happen: relabel the well symmetric about its centre and each has definite parity, forcing — the parity article's structural zero, here as the constant diagonal.
Step 3. Off-diagonal elements. The integrals evaluate to
Why the checkerboard: is odd about the centre, and same-parity sandwiches of an odd operator vanish identically — the selection rule is stamped into the matrix as exact zeros at every even entry. The numbers you can feel: (large — the bright transition), (thirteen times smaller).
Step 4. Read the decay law. Along a row, : far-off-diagonal elements die fast, which is exactly why truncating the infinite matrix to its first few rows and columns — the daily move of computational quantum mechanics — converges: the neglected corner is small. Truncation quality is the matrix texture made quantitative. Verified: all elements computed symbolically (sympy) — , exactly, and matching ; the truncation's eigenvalues confirmed numerically.
Products, commutators, and functions of operators
Multiplication of machines is running one after another — and order is part of the specification. The bracket — the commutator — is the standing measure of how badly two machines care about order, and the cleanest concrete demonstration uses the two operators quantum mechanics is built on.
Go deeper · Derivation B · 1 minPosition and momentum refuse to commute — the exhibition
We exhibit the non-commutativity of and by direct computation on an arbitrary wavefunction. The strategy is nothing but the product rule, applied carefully to operator products acting on a test function — the habit this card is really teaching, since the classic blunder is to manipulate as if it were a product of numbers. What this card establishes is the algebra fact; its postulate-level status in the theory belongs to Canonical Commutation Relation, and the measurement doctrine of commuting versus non-commuting pairs to The Commutator and Compatible Observables, both later this chapter.
Step 1. Run the first order: .
Step 2. Run the reversed order — the derivative now sees the product : . Why the extra term: the product rule. The momentum machine differentiates everything downstream of it, including the the first machine installed — order is physically the question of who acts on whose output.
Step 3. Subtract:
Step 4. Read the structure. The result is times the identity — no trace of 's details survives: the non-commutativity is state-independent, universal, and of size . That constancy is why the classical limit ( relative to action scales) restores commuting quantities, and why no basis exists in which both and are diagonal — a matrix identity is impossible for finite matrices (take the trace: left side 0, right side ), so the theory needs the infinite-dimensional spaces of this chapter. Verified: symbolically (sympy) on explicit test functions — and for ; the trace obstruction is the standard finite-dimension no-go.
What this article insists on is the habit the card teaches: never reorder operator products without paying the commutator. The habit's most common casualty is the exponential. Functions of operators are defined by power series —
where: the failure is quadratic and computable (the cross terms vs disagree at second order; the Baker–Campbell–Hausdorff machinery organizing the correction made a cameo in the coherent-states article). Exponentials of operators are about to become the theory's verbs — time evolution , translations, rotations — all built and certified in Unitary Operators and Transformations; the algebra rule (4) is the safety briefing. Note what is deliberately absent from this article: the adjoint as a definitional theory (owned by Hermitian Conjugate and Adjoint Operators), and the classification of the physically distinguished operator families it generates — self-adjoint (next article, immediately) and unitary (later). Here you have the raw algebra those articles will discipline. One honest flag before the examples, because infinite dimensions really do add fine print. In the box basis, compute how hard works: , growing without bound as increases. No finite constant satisfies for all states: is an unbounded operator, as are on the line and every Hamiltonian with an infinite spectrum. Consequences worth knowing now: unbounded operators are not defined on every state (the Hilbert-space article's tent function has finite but infinite : its kink makes leave , so it sits outside the operator domain of even while the energy form stays finite), and statements like "Hermitian" acquire domain fine print that the next article will flag and the rigged-space article will resolve. For every calculation in this track the practical rule suffices: work with states smooth and decaying enough that the operators you apply keep them in the space.
Limiting cases
| case | result | meaning |
|---|---|---|
| finite-dimensional | operators = matrices, no fine print | spin systems: the entire article is exact matrix algebra |
| diagonal matrix | basis states are the machine's natural inputs | eigenbasis — the next article's subject |
| commuting operators | : order-free products, | compatible structures; simultaneous diagonalization later |
| never zero, state-independent | the quantum signature; doctrine at CCR and compatible-observables articles | |
| antilinear maps (, time reversal) | outside this article's contract | scalars conjugate on passage; handled specially where needed |
| unbounded operators (, ) | domains matter; unbounded | infinite-dimensional fine print; resolved at the chapter's end |
Worked examples
Example 1 — is it linear? A machine inspection line (confidence builder). Classify each machine as linear, antilinear, or neither: (a) ; (b) ; (c) for a fixed nonzero ; (d) .
Step 1. (a): multiplication by any fixed function distributes over sums and passes scalars — linear ✓ (it is , a product of linear machines).
Step 2. (b): additive, but — scalars conjugate on passage: antilinear. (The physical tenant of this species is time reversal.)
Step 3. (c): , but — neither (affine, not linear: the offset breaks superposition; note , an instant tell).
Step 4. (d): rescaling the argument touches no coefficient — linear ✓ (a dilation; with the right prefactor it becomes the unitary scaling operator). Score: two linear, one antilinear, one impostor — and the impostor was caught by the zero-vector test, worth keeping.
Example 2 — the two-level dipole, by truncation (exam level). For light driving a particle in a box near the resonance, only states 1 and 2 matter. Truncate (units ) to the block, and extract the physics.
Step 1. From the derivation card: , . The block is
Step 2. Diagonalize: eigenvalues , with eigenvectors . Physical reading: the superpositions that maximally displace the particle left and right of centre — the two "positions" available to a two-level dipole, split symmetrically about the well centre.
Step 3. The off-diagonal element is the light-matter coupling: the dipole interaction has matrix element between the resonant pair, so the Rabi frequency of the driven transition is . One number from the array runs the whole absorption story.
Step 4. Audit the truncation. The neglected couplings out of the block: (13× smaller — safe), but — larger than itself! Why the truncation is still legal: state 3 is far off-resonance — the energy denominator, not the matrix element, suppresses its participation. Truncations are justified by dynamics plus texture, not texture alone — an honest lesson the two-level atom's users must carry.
The man who invented the matrix
Origins · 1 minArthur Cayley and how this was discovered
The algebra this article teaches — arrays composed by row-times-column, an identity, inverses, the warning that products depend on order — was invented as pure mathematics in 1858, sixty-seven years before physics needed it. Cayley's Memoir on the Theory of Matrices took the rectangular arrays that had lurked inside systems of equations and made them algebraic citizens: he defined their addition, their multiplication (chosen precisely so that composing two linear substitutions is multiplying their arrays — this article's equation for , verbatim), exhibited the failure of commutativity as a feature rather than a defect, and proved the theorem still bearing his name (Cayley–Hamilton: every matrix satisfies its own characteristic polynomial — the germ of "functions of operators"). He did much of this while practising law — fourteen years at the bar, some 250 papers on the side — before Cambridge's Sadleirian chair let him take a pay cut for full-time mathematics. When Heisenberg's 1925 arrays baffled physicists, Born recognized them as Cayley's algebra; the joke that quantum mechanics was discovered by a barrister has a kernel of truth. Every operator you will ever exponentiate composes by his rule.
Going further
References. Sakurai & Napolitano, Modern Quantum Mechanics, 2nd ed., §1.2–1.5 · Shankar, Principles of Quantum Mechanics, 2nd ed., Ch. 1 · Griffiths & Schroeter, Introduction to Quantum Mechanics, 3rd ed., Ch. 3 & Appendix A · Cohen-Tannoudji, Diu & Laloë, Quantum Mechanics, Vol. I, Ch. II · Born & Jordan, Z. Phys. 34, 858 (1925).
Provenance. All equations are standard textbook results. A verifier should: (1) recompute via acting on a test function (Griffiths §2.1); (2) verify the reality/orthogonality proof for Hermitian operators (Griffiths §3.3, Sakurai §1.3); (3) confirm unitarity Hermitian generator and the time-evolution operator (Sakurai §2.1); (4) check the matrix-composition and trace identities. For this edition, items (1) and (4) — the strata this article owns — were machine-verified (sympy/numpy/scipy): linearity of and on explicit combinations, antilinearity of conjugation, and on test functions, the full ISW -matrix (diagonal ; checkerboard zeros; law; truncation eigenvalues ), composition associativity, , cyclic trace, with the commuting control case, and unboundedness . Items (2) and (3) are executed by their owners per the chapter map — Hermitian Operators and Observables (next) and Unitary Operators and Transformations — as is the adjoint's definition (Hermitian Conjugate and Adjoint Operators) and the commutation relation's postulate status (Canonical Commutation Relation).
Builds on: Hilbert Space and State Vectors · Dirac Bra-Ket Notation · Inner Product and Norm of States
Leads to: Hermitian Operators and Observables · Eigenvalues and Eigenstates · Completeness Relation and Resolution of Identity · Projection Operators · The Postulates of Quantum Mechanics
Is every physical process represented by a linear operator?
Every closed-system process, yes — evolution, symmetries, and (as building blocks) measurements are linear or antilinear; Wigner's theorem proves the dichotomy is forced by probability conservation. Apparent exceptions are bookkeeping: measurement update is nonlinear only through post-hoc renormalization; Gross–Pitaevskii-type equations are mean-field approximations of a linear many-body theory. Fundamental nonlinearity has been hunted (it would enable superluminal signalling in most formulations) and never found.
How do I actually compute a function of an operator, like √ or e^Â?
Two reliable routes. If is diagonalizable — the generic case, formalized next article — apply the function to the eigenvalues: ; this defines , , everything, at the cost of one diagonalization. Otherwise the power series (equation 4) when it converges, or matrix routines (`expm`) implementing these definitions. The forbidden move: applying entry-by-entry to the matrix — that is not any operator function at all.
Why does the same operator look completely different in different bases?
Because the matrix is a shadow of the operator, cast by a basis. Change basis and the array transforms as — different entries, same machine. Invariants of the operator are the quantities all shadows share: the spectrum, the trace, the determinant, commutation relations. Physics lives in the invariants; convenience lives in the basis choice ( is diagonal in the position representation, in the momentum representation, and Fourier transformation is exactly the between them — the representation articles later this chapter make this precise).
What exactly goes wrong with unbounded operators — and will it bite me in practice?
Three things, all with the same root (no uniform stretch limit): they cannot be defined on every state (apply to a kinked function and the result leaves — the tent state's infinite from the Hilbert-space article is this in the wild); limits and derivatives of operator expressions need care; and "Hermitian" splits into inequivalent notions (symmetric vs self-adjoint) that differ by domain bookkeeping — the next article flags where. In practice: on smooth, decaying states everything naive is correct, and that is where physics computations live. The bite comes at boundaries (half-line problems, singular potentials), where choosing a domain is choosing physics — boundary conditions are secretly self-adjointness decisions.
Heisenberg had matrices and no waves; Schrödinger waves and no matrices. Who was right?
Both — the equivalence is equation (2) historically enacted. A differential operator on is an infinite matrix once you pick a basis (Schrödinger's 1926 equivalence paper computes exactly such elements); Heisenberg's arrays act on sequence-space — the same Hilbert space in other coordinates. "Matrix vs wave mechanics" dissolved into "two bases of one operator calculus" by 1927.
Do operators for different particles or different observables always commute?
Operators acting on different tensor factors (particle 1's position, particle 2's spin) always commute — they touch different parts of the state. Operators on the same system commute or not case by case: and never (, equation 3), the three spin components pairwise don't, and symmetry operators do when the symmetry holds (the parity article's ). The full doctrine — commuting ⟺ simultaneously diagonalizable ⟺ compatible measurements — is exactly the payload of The Commutator and Compatible Observables, later this chapter.