Math Foundations
Observable
A measurable physical quantity, represented in quantum mechanics by a Hermitian operator.
Definition
An observable is a physical quantity that can be measured, such as energy, position or spin. In quantum mechanics each observable is represented by a Hermitian operator, and the possible measurement results are its eigenvalues.
In depth
For a qubit, Z has eigenvalues +1 for |0⟩ and −1 for |1⟩. Measuring in the computational basis is measuring Z. In state |+⟩, the expectation ⟨Z⟩ = (1/2)(+1) + (1/2)(−1) = 0, even though each single result is ±1. Expectation values are what algorithms such as VQE actually estimate, by averaging many shots.
To measure X or Y instead, hardware usually rotates the qubit first. A Hadamard before a Z measurement measures X, and an S-dagger followed by H before a Z measurement measures Y. This is the basis-change trick used when a Hamiltonian is written as a sum of Pauli strings.
The fact that X and Z do not commute is the reason a qubit has no state in which both are definite. This is the qubit version of the uncertainty principle, treated in our lesson on the math of a qubit.
Technical Definition
For a Hermitian operator A with eigenvalues a_i and orthonormal eigenvectors |a_i⟩, measuring A on state |ψ⟩ yields a_i with probability |⟨a_i|ψ⟩|². The expectation value is ⟨A⟩ = ⟨ψ|A|ψ⟩. The Pauli operators X, Y and Z are the basic qubit observables, each with eigenvalues +1 and −1. Two observables can be measured together exactly when their operators commute.
Visual Explanation: An Analogy
An observable is like a question you can ask a system, such as is the spin up or down along this axis? The possible answers are the eigenvalues. Different questions can interfere with each other, as asking one can disturb the answer to another.
Key facts
| Item | Detail |
|---|---|
| Representation | Hermitian operator |
| Results | Eigenvalues of the operator |
| Qubit basics | X, Y, Z with eigenvalues ±1 |
| Joint measurement | Possible only if the operators commute |
Where the idea comes from
The identification of physical quantities with Hermitian operators was formalised by von Neumann and others in the early 1930s.
Real-World Use Cases
- Defining measurements in algorithms such as VQE
- Specifying the Hamiltonian of a system
- Describing quantum sensors, which measure one observable precisely
How it differs from related ideas
- A classical observable is a number attached to a system, while a quantum observable is an operator and its values appear only on measurement.
- A Hamiltonian is the observable for energy.
Common Misconceptions
- An observable is not the measured value. It is the operator, and the measured values are its eigenvalues.
- Not every pair of observables can be measured at once. Non-commuting ones obey an uncertainty relation.
Frequently asked questions
What is the observable for a qubit's computational basis?
The Pauli Z operator.
Why Hermitian?
Hermitian operators have real eigenvalues, as measured values must be.
What is an expectation value?
The average result over many measurements, ⟨ψ|A|ψ⟩.