Physics · Article
Hilbert spaces and bra-ket notation
Use complex inner products to predict the result of a polarization filter, change the coordinates of a state, and quantify the error made by keeping only part of a basis. Connect a discrete overlap with the wavefunction of a particle on a ring.
Previous article: Wavefunctions and the Born rule
Back to PhysicsAfter reading, you can
- Convert between a ket, its bra and its coordinates in an identified basis, keeping track of conjugation.
- Derive a filter probability from an inner product and separate a basis change from a physical transformation.
- Construct a resolution of the identity and diagnose what fails when axes are incomplete or nonorthogonal.
- Bound and interpret the error of a finite basis approximation to an infinite state.
- Distinguish a finite position measurement from a projection onto a single wave packet, and connect discrete and continuous normalizations.
Which part of a preparation passes a filter?
Prepare one photon in a well-defined spatial and frequency mode. The two orthogonal linear polarizations called horizontal and vertical at the apparatus are written |H⟩ and |V⟩. In one run a vertical filter may transmit the photon. Repeating the preparation gives a transmission frequency. The filter probability is determined by an overlap between the prepared polarization and the mode the filter accepts. A ket describes the preparation independently of which filter comes next.
Consider |ψ⟩ = (√3/2)|H⟩ + (i/2)|V⟩. The horizontal and vertical probabilities are 3/4 and 1/4. Changing i to −i leaves both of those results unchanged. An analyzer selected to accept (|H⟩ + i|V⟩)/√2 can tell the two preparations apart. One pair of component weights does not specify all the amplitudes needed for later measurements. Throughout the two-mode examples, comparisons refer to identically prepared photons and ideal filters with a specified complex transmission mode.
The same mathematics describes two path modes or a pair of atomic levels. In each case one must say what the basis labels mean, how the relative phase is fixed and what outcome is being counted. The inner product supplies the amplitude. The connection to the apparatus supplies its physical meaning.
What the Hilbert space contributes
A complex vector space allows addition of state vectors and multiplication by complex scalars. An inner product assigns a complex number ⟨u|v⟩ to an ordered pair. We use the physics convention in which the second slot is linear. Interchanging the slots takes the complex conjugate. The number ⟨v|v⟩ is real and nonnegative, and it vanishes only for the zero vector. The norm is ‖v‖ = √⟨v|v⟩. For nonzero v, division by its norm gives a unit vector.
A Hilbert space is complete in the distance ‖u−v‖. If the distances between sufficiently late vectors in a sequence become arbitrarily small, the sequence converges in norm to a vector in the same space. This matters when a calculation uses successively more modes. For example, finite lists of nonzero amplitudes can approach a sequence with infinitely many nonzero entries and finite squared sum. Keeping only finite lists would exclude their limit. The square-summable sequence space includes it. This meaning of complete is distinct from the claim that a proposed orthonormal family has the whole space as its closed linear span.
A pure physical state is a ray. The normalized representatives |ψ⟩ and eⁱᵅ|ψ⟩ give the same predictions for every measurement on that state. A convenient object that records the ray is |ψ⟩⟨ψ|. The phase from the ket cancels the conjugate phase from its bra. The zero vector has neither a normalized representative nor a physical ray. A superposition of two preparations requires specifying their relative phase with respect to a common coherent preparation. Choosing independent overall phases for two abstract rays does not prescribe a unique superposition experiment.
Why a bra conjugates the coefficients
For a fixed ket |u⟩, the bra ⟨u| is the continuous linear functional sending |v⟩ to ⟨u|v⟩. In a Hilbert space every continuous linear functional has a unique such representative. The correspondence between the ket and its bra is conjugate-linear. If |u⟩ = α|0⟩ + β|1⟩, then ⟨u| = α*⟨0| + β*⟨1|. In an orthonormal coordinate system this is a conjugate transpose. Dropping the conjugation can turn a positive squared norm into a negative or zero result for a nonzero state.
Let u and v be normalized. The Cauchy–Schwarz inequality gives |⟨u|v⟩| ≤ 1. One route to that inequality is to split v into |u⟩⟨u|v⟩ and the remainder. The remainder is orthogonal to u and has squared norm 1−|⟨u|v⟩|². A rank-one yes/no filter onto u therefore has a transmission probability p = |⟨u|v⟩|² between zero and one. Equality at one requires v on the same ray. Zero probability means orthogonality for this ideal filter.
Brackets with the symbols in the opposite order give different kinds of objects. The number ⟨u|v⟩ is an amplitude. The outer product |u⟩⟨v| is the linear map sending |w⟩ to |u⟩⟨v|w⟩. For unit u, P = |u⟩⟨u| is self-adjoint and P² = P. The norm of P|ψ⟩ squared is the probability of the selected outcome. When this is positive and the measurement implements ideal projective state update, the normalized transmitted state is P|ψ⟩/√p. A detector that absorbs the photon does not produce this outgoing polarization.
Build the identity from a complete orthonormal family
Take an orthonormal basis {|eⱼ⟩}, with ⟨eᵢ|eⱼ⟩ equal to one for matching labels and zero otherwise. In |ψ⟩ = Σⱼ cⱼ|eⱼ⟩, multiplying on the left by ⟨eₖ| selects cₖ = ⟨eₖ|ψ⟩. Since this reconstruction works for every ket, Σⱼ |eⱼ⟩⟨eⱼ| = I. One insertion of this identity yields ⟨u|v⟩ = Σⱼ ⟨u|eⱼ⟩⟨eⱼ|v⟩. Set u = v to obtain Parseval’s equality ‖v‖² = Σⱼ |cⱼ|². Discrete coordinates for normalized discrete modes are dimensionless.
In infinite dimension the state expansion means convergence in norm, and the partial sums of basis projectors converge strongly to the identity. Each fixed vector can be approximated arbitrarily well. There is no uniform finite cutoff that approximates every unit vector in an infinite Hilbert space. After any proposed cutoff, the very next unused basis vector has all its probability outside the approximation. A numerical error bound always refers to a specified state or class of states.
A partial sum of projectors has an immediate operational interpretation. For the first N orthonormal modes it projects onto their span. The event that the state lies in that subspace has probability Σⱼ≤N |cⱼ|² in an ideal subspace measurement. A measurement that also records which j occurred can remove coherence between the retained modes. Merely discarding that more detailed record can produce a different output state from an ideal two-outcome projection onto the whole subspace, even when both procedures give the same total success probability.
Rotate the coordinate system or rotate the apparatus
Represent the new basis vectors as columns of U in the old orthonormal basis. In symbols, Uᵢⱼ = ⟨eᵢ|bⱼ⟩. For two complete orthonormal bases in the same finite space, U†U = UU† = I. If c is the column of old coordinates and d the new, reconstructing the same ket gives c = Ud and hence d = U†c. The measured result of an unchanged preparation and filter cannot depend on this choice. For any two coordinate columns, (U†u)†(U†v) = u†v.
A device can also implement U as a physical gate. Then a new state has coordinates Uc in the fixed old basis. Keeping the analyzer fixed can change its statistics. A passive basis change transforms both state and analyzer coordinates together. A physical change to just the state or just the analyzer is a different laboratory procedure. To see the difference, store the old horizontal detector direction alongside the state when doing the passive calculation.
One useful analyzer mode is |b⟩ = cos θ|H⟩ + eⁱᵟ sin θ|V⟩, with orthogonal partner −e⁻ⁱᵟ sin θ|H⟩ + cos θ|V⟩. For |ψ⟩ = (√3/2)|H⟩ + (eⁱᵠ/2)|V⟩, the transmitted amplitude is (√3/2)cos θ + (1/2)exp[i(ϕ−δ)]sin θ. Its squared magnitude contains the term (√3/2)cos θ sin θ cos(ϕ−δ). A phase plate can change the relative phase in the analyzer and therefore sample coherence that H/V counts miss. θ here is the mixing angle of the two polarizations. Spin analyzer directions require their own state-to-apparatus relation.
Two analyzers reveal different components of the same phase
- Analyzer δ = 0°
- Analyzer δ = 90°
Exact values shown in the plot
| Category | Quantity or frame | Exact value | Preparation |
|---|---|---|---|
| 0° | Analyzer δ = 0° | 0.9330127 | phase 0 |
| 0° | Analyzer δ = 90° | 0.5 | phase 0 |
| 45° | Analyzer δ = 0° | 0.80618622 | phase 45 |
| 45° | Analyzer δ = 90° | 0.80618622 | phase 45 |
| 90° | Analyzer δ = 0° | 0.5 | phase 90 |
| 90° | Analyzer δ = 90° | 0.9330127 | phase 90 |
| 135° | Analyzer δ = 0° | 0.19381378 | phase 135 |
| 135° | Analyzer δ = 90° | 0.80618622 | phase 135 |
| 180° | Analyzer δ = 0° | 0.066987298 | phase 180 |
| 180° | Analyzer δ = 90° | 0.5 | phase 180 |
Two independent axes need not be orthogonal
Let |u⟩ and |v⟩ be normalized and linearly independent with a nonzero overlap. Expanding |ψ⟩ = a|u⟩ + b|v⟩ is still possible in their span. Each overlap now mixes the two coordinates. Define Gᵢⱼ = ⟨bᵢ|bⱼ⟩ for this basis and dᵢ = ⟨bᵢ|ψ⟩. Then d = Gc, where c = (a,b)ᵀ. A finite independent family has a positive-definite Gram matrix, so solving that system recovers c. The squared norm is ‖ψ‖² = c†Gc. Squaring and adding the coordinate magnitudes alone ordinarily gives the wrong value.
For u = (1,0) and v = (s,√(1−s²)) with 0 ≤ s < 1, G has diagonal entries one and off-diagonal entries s. Its eigenvalues are 1+s and 1−s. Close to s = 1, small errors in overlap data can cause large coordinate errors in the nearly parallel directions. The state may have norm one while its coordinates are large and cancel. Orthogonalizing the basis or reporting the condition number makes this numerical behavior visible.
Two independent yes/no experiments that test u and v can both occur with appreciable probability on separately prepared copies. Their projectors do not generally sum to the identity, so their probabilities are not the outcome distribution of a single two-outcome projective measurement. If one needs a reconstruction using an oblique basis, dual vectors satisfying ⟨bⁱ|bⱼ⟩ = δᵢⱼ give I = Σᵢ |bᵢ⟩⟨bⁱ| on the spanned space. The dual coefficients reconstruct the ket. Obtaining an actual set of measurement probabilities requires a specified physical measurement.
Large oblique coordinates can reconstruct a unit vector
- Coefficient a
- Coefficient b
Exact values shown in the plot
| Category | Quantity or frame | Exact value | Preparation |
|---|---|---|---|
| 0 | Coefficient a | 0 | axis 0 |
| 0 | Coefficient b | 1 | axis 0 |
| 0.5 | Coefficient a | −0.57735027 | axis 1 |
| 0.5 | Coefficient b | 1.1547005 | axis 1 |
| 1/√2 | Coefficient a | −1 | axis 2 |
| 1/√2 | Coefficient b | 1.4142136 | axis 2 |
| 0.9 | Coefficient a | −2.0647416 | axis 3 |
| 0.9 | Coefficient b | 2.2941573 | axis 3 |
| 0.99 | Coefficient a | −7.0179239 | axis 4 |
| 0.99 | Coefficient b | 7.0888121 | axis 4 |
How much state does a finite basis retain?
Consider orthonormal modes numbered from one with amplitudes cₙ = √3/2ⁿ. The total squared norm is Σₙ≥1 3/4ⁿ = 1. For the projection Pᴺ onto the first N modes, the discarded probability ε = Σₙ>N 3/4ⁿ = 4⁻ᴺ. Orthogonality gives ‖ψ−Pᴺψ‖ = √ε = 2⁻ᴺ. Probability error and amplitude-norm error thus scale differently, even for this simple convergent series.
When the ideal projection succeeds, the conditional state is |φᴺ⟩ = Pᴺ|ψ⟩/√(1−ε). Its overlap with the original normalized state is √(1−ε), taken positive in this phase convention. Its squared overlap, or pure-state fidelity, is 1−ε. The distance between these two chosen unit representatives is √[2−2√(1−ε)]. A large cutoff can thus give a highly faithful state while the unconditioned ensemble still contains failures. Renormalizing the truncated vector erases information about how often the filter rejected a trial.
A small discarded norm controls overlaps with normalized test states by Cauchy–Schwarz. It does not by itself control an arbitrarily high energy. A small probability placed at a sufficiently large energy can make a substantial contribution to its mean. For a finite numerical model one must identify the observable of interest, check its scale or domain, and test convergence of that observable as well as the norm.
Removing a basis tail changes probability and norm on different scales
- −log₂(rejected probability)
- −log₂(vector error)
Exact values shown in the plot
| Category | Quantity or frame | Exact value | Preparation |
|---|---|---|---|
| 1 | −log₂(rejected probability) | 2 | cut 1 |
| 1 | −log₂(vector error) | 1 | cut 1 |
| 2 | −log₂(rejected probability) | 4 | cut 2 |
| 2 | −log₂(vector error) | 2 | cut 2 |
| 3 | −log₂(rejected probability) | 6 | cut 3 |
| 3 | −log₂(vector error) | 3 | cut 3 |
| 4 | −log₂(rejected probability) | 8 | cut 4 |
| 4 | −log₂(vector error) | 4 | cut 4 |
| 6 | −log₂(rejected probability) | 12 | cut 6 |
| 6 | −log₂(vector error) | 6 | cut 6 |
| 8 | −log₂(rejected probability) | 16 | cut 8 |
| 8 | −log₂(vector error) | 8 | cut 8 |
From a ket to a wavefunction and a finite detector pixel
In the position representation, ψ(x) = ⟨x|ψ⟩ is a wavefunction. The formal resolution I = ∫ |x⟩⟨x| dx produces ⟨φ|ψ⟩ = ∫ φ*(x)ψ(x) dx. With normalization over one spatial dimension, ψ(x) has units length⁻¹ᐟ². The generalized relation ⟨x|x′⟩ = δ(x−x′) gives a delta distribution with units length⁻¹. It is an integration rule. An exact position ket is not a normalizable state in L², whose elements identify wavefunctions that agree almost everywhere. One may evaluate a smooth test wavefunction at a chosen point. For a general L² state, a position wavefunction is defined only up to equality almost everywhere, and point evaluation is not a bounded bra on all of L².
A position pixel A tests whether the coordinate lies in an interval. For an ideal detector its projector acts by multiplication with the indicator of A, and the probability is ∫ᴬ |ψ(x)|² dx. A different device could filter the one normalized mode wₐ(x) that is constant on the interval and zero outside it. Its probability is |∫ᴬ wₐ*(x)ψ(x) dx|². Contributions add as probabilities across unresolved positions in the first event and as amplitudes for one selected mode in the second. Cauchy–Schwarz on the interval shows that this mode probability is at most the pixel probability.
On a ring with circumference L, use ψₙ(x) = exp(i 2πnx/L)/√L for integer n. The constant normalized window on [0,d] has value 1/√d there. Writing q = d/L, its amplitude is √q exp(iπnq) sinc(πnq), with sinc(t) = sin(t)/t and sinc(0) = 1. The ideal pixel probability is q for every n. The mode-filter probability is q sinc²(πnq). One full phase turn inside the pixel can make this latter probability zero even as detections within the interval remain common. The discontinuous window is a valid square-integrable mode for this model. A physical coherent mode filter has a finite response profile.
A finite position pixel contains many possible modes
- Whole pixel
- One window mode
Exact values shown in the plot
| Category | Quantity or frame | Exact value | Preparation |
|---|---|---|---|
| 0.5 | Whole pixel | 0.0625 | window 0 |
| 0.5 | One window mode | 0.050660592 | window 0 |
| 1 | Whole pixel | 0.125 | window 1 |
| 1 | One window mode | 0.050660592 | window 1 |
| 2 | Whole pixel | 0.25 | window 2 |
| 2 | One window mode | 0 | window 2 |
| 4 | Whole pixel | 0.5 | window 3 |
| 4 | One window mode | 0 | window 3 |
| 8 | Whole pixel | 1 | window 4 |
| 8 | One window mode | 0 | window 4 |
Identify what the basis labels represent
Two mutually exclusive paths of one particle give a two-dimensional path space. A spin carried along either path supplies a second independent two-valued degree of freedom, giving a tensor product with four basis states |path,spin⟩. Their amplitudes form a two-by-two array. A product preparation has entries aᵢbⱼ and therefore gives a rank-one array for a nonzero state. Coherent path alternatives on a single particle do not by themselves introduce a second subsystem.
The pure state (|left,↑⟩ + |right,↓⟩)/√2 gives the two indicated joint outcomes with probabilities one half in this basis. Neither subsystem by itself has a pure state. A mixture of those two joint preparations with equal probabilities gives the same counts in this particular basis. A coherent joint projection back onto the displayed superposition succeeds with probability one for the pure state and one half for the mixture. Specifying the basis and the allowed measurement makes the distinction testable.
Before manipulating brackets, identify the state space and normalization, choose the inner-product convention and label the preparation and filter. Decide whether a proposed set spans the relevant space and whether the labels are discrete, continuous or composite. Once those choices are clear, the next lesson can use the same brackets to represent observables, obtain matrix elements and separate measurement outcomes from a chosen coordinate system.
Exact preparations and results
Preparation phase 0°
Both filters have equal horizontal and vertical weights. Repeat the same state on separate photons.
Inputs
- Preparation phase (deg)
- 0
- H and V weights
- 3/4 and 1/4
Results
- Accepted fraction at δ = 0°
- 0.9330127
- Accepted fraction at δ = 90°
- 0.5
- Rejected at δ = 0°
- 0.066987298
- Rejected at δ = 90°
- 0.5
Preparation phase 45°
Both filters have equal horizontal and vertical weights. Repeat the same state on separate photons.
Inputs
- Preparation phase (deg)
- 45
- H and V weights
- 3/4 and 1/4
Results
- Accepted fraction at δ = 0°
- 0.80618622
- Accepted fraction at δ = 90°
- 0.80618622
- Rejected at δ = 0°
- 0.19381378
- Rejected at δ = 90°
- 0.19381378
Preparation phase 90°
Both filters have equal horizontal and vertical weights. Repeat the same state on separate photons.
Inputs
- Preparation phase (deg)
- 90
- H and V weights
- 3/4 and 1/4
Results
- Accepted fraction at δ = 0°
- 0.5
- Accepted fraction at δ = 90°
- 0.9330127
- Rejected at δ = 0°
- 0.5
- Rejected at δ = 90°
- 0.066987298
Preparation phase 135°
Both filters have equal horizontal and vertical weights. Repeat the same state on separate photons.
Inputs
- Preparation phase (deg)
- 135
- H and V weights
- 3/4 and 1/4
Results
- Accepted fraction at δ = 0°
- 0.19381378
- Accepted fraction at δ = 90°
- 0.80618622
- Rejected at δ = 0°
- 0.80618622
- Rejected at δ = 90°
- 0.19381378
Preparation phase 180°
Both filters have equal horizontal and vertical weights. Repeat the same state on separate photons.
Inputs
- Preparation phase (deg)
- 180
- H and V weights
- 3/4 and 1/4
Results
- Accepted fraction at δ = 0°
- 0.066987298
- Accepted fraction at δ = 90°
- 0.5
- Rejected at δ = 0°
- 0.9330127
- Rejected at δ = 90°
- 0.5
Oblique axes at overlap 0
Keep the same unit vertical vector w. Let the first unit axis point horizontally and the second have horizontal overlap s.
Inputs
- Axis overlap s
- 0
- Vertical component of second axis
- 1
Results
- Coefficient a
- 0
- Coefficient b
- 1
- Gram condition number
- 1
- Squared coefficient magnitudes summed
- 1
- Physical squared norm
- 1
Oblique axes at overlap 0.5
Keep the same unit vertical vector w. Let the first unit axis point horizontally and the second have horizontal overlap s.
Inputs
- Axis overlap s
- 0.5
- Vertical component of second axis
- 0.8660254
Results
- Coefficient a
- −0.57735027
- Coefficient b
- 1.1547005
- Gram condition number
- 3
- Squared coefficient magnitudes summed
- 1.6666667
- Physical squared norm
- 1
Oblique axes at overlap 0.70710678
Keep the same unit vertical vector w. Let the first unit axis point horizontally and the second have horizontal overlap s.
Inputs
- Axis overlap s
- 0.70710678
- Vertical component of second axis
- 0.70710678
Results
- Coefficient a
- −1
- Coefficient b
- 1.4142136
- Gram condition number
- 5.8284271
- Squared coefficient magnitudes summed
- 3
- Physical squared norm
- 1
Oblique axes at overlap 0.9
Keep the same unit vertical vector w. Let the first unit axis point horizontally and the second have horizontal overlap s.
Inputs
- Axis overlap s
- 0.9
- Vertical component of second axis
- 0.43588989
Results
- Coefficient a
- −2.0647416
- Coefficient b
- 2.2941573
- Gram condition number
- 19
- Squared coefficient magnitudes summed
- 9.5263158
- Physical squared norm
- 1
Oblique axes at overlap 0.99
Keep the same unit vertical vector w. Let the first unit axis point horizontally and the second have horizontal overlap s.
Inputs
- Axis overlap s
- 0.99
- Vertical component of second axis
- 0.14106736
Results
- Coefficient a
- −7.0179239
- Coefficient b
- 7.0888121
- Gram condition number
- 199
- Squared coefficient magnitudes summed
- 99.502513
- Physical squared norm
- 1
Keep the first 1 orthonormal modes
Apply a projection to the normalized expansion with amplitudes √3/2ⁿ and mode indices starting at one.
Inputs
- Cutoff N
- 1
- Coefficient rule
- cₙ = √3/2ⁿ
Results
- Rejected probability ε
- 0.25
- Unnormalized vector error √ε
- 0.5
- Conditional fidelity
- 0.75
- Distance of normalized vectors
- 0.51763809
- −log₂ ε
- 2
- −log₂ √ε
- 1
Keep the first 2 orthonormal modes
Apply a projection to the normalized expansion with amplitudes √3/2ⁿ and mode indices starting at one.
Inputs
- Cutoff N
- 2
- Coefficient rule
- cₙ = √3/2ⁿ
Results
- Rejected probability ε
- 0.0625
- Unnormalized vector error √ε
- 0.25
- Conditional fidelity
- 0.9375
- Distance of normalized vectors
- 0.25200858
- −log₂ ε
- 4
- −log₂ √ε
- 2
Keep the first 3 orthonormal modes
Apply a projection to the normalized expansion with amplitudes √3/2ⁿ and mode indices starting at one.
Inputs
- Cutoff N
- 3
- Coefficient rule
- cₙ = √3/2ⁿ
Results
- Rejected probability ε
- 0.015625
- Unnormalized vector error √ε
- 0.125
- Conditional fidelity
- 0.984375
- Distance of normalized vectors
- 0.12524583
- −log₂ ε
- 6
- −log₂ √ε
- 3
Keep the first 4 orthonormal modes
Apply a projection to the normalized expansion with amplitudes √3/2ⁿ and mode indices starting at one.
Inputs
- Cutoff N
- 4
- Coefficient rule
- cₙ = √3/2ⁿ
Results
- Rejected probability ε
- 0.00390625
- Unnormalized vector error √ε
- 0.0625
- Conditional fidelity
- 0.99609375
- Distance of normalized vectors
- 0.06253057
- −log₂ ε
- 8
- −log₂ √ε
- 4
Keep the first 6 orthonormal modes
Apply a projection to the normalized expansion with amplitudes √3/2ⁿ and mode indices starting at one.
Inputs
- Cutoff N
- 6
- Coefficient rule
- cₙ = √3/2ⁿ
Results
- Rejected probability ε
- 0.00024414062
- Unnormalized vector error √ε
- 0.015625
- Conditional fidelity
- 0.99975586
- Distance of normalized vectors
- 0.015625477
- −log₂ ε
- 12
- −log₂ √ε
- 6
Keep the first 8 orthonormal modes
Apply a projection to the normalized expansion with amplitudes √3/2ⁿ and mode indices starting at one.
Inputs
- Cutoff N
- 8
- Coefficient rule
- cₙ = √3/2ⁿ
Results
- Rejected probability ε
- 1.5258789e−05
- Unnormalized vector error √ε
- 0.00390625
- Conditional fidelity
- 0.99998474
- Distance of normalized vectors
- 0.0039062575
- −log₂ ε
- 16
- −log₂ √ε
- 8
Width 0.5 nm on the ring
Measure a winding-four state on the 8 nm ring. Compare whole-pixel detection with a coherent projection onto its one constant window mode.
Inputs
- Width d (nm)
- 0.5
- Fraction q = d/L
- 0.0625
- Phase turns nq
- 0.25
Results
- Position pixel probability
- 0.0625
- Constant mode probability
- 0.050660592
Width 1 nm on the ring
Measure a winding-four state on the 8 nm ring. Compare whole-pixel detection with a coherent projection onto its one constant window mode.
Inputs
- Width d (nm)
- 1
- Fraction q = d/L
- 0.125
- Phase turns nq
- 0.5
Results
- Position pixel probability
- 0.125
- Constant mode probability
- 0.050660592
Width 2 nm on the ring
Measure a winding-four state on the 8 nm ring. Compare whole-pixel detection with a coherent projection onto its one constant window mode.
Inputs
- Width d (nm)
- 2
- Fraction q = d/L
- 0.25
- Phase turns nq
- 1
Results
- Position pixel probability
- 0.25
- Constant mode probability
- 0
Width 4 nm on the ring
Measure a winding-four state on the 8 nm ring. Compare whole-pixel detection with a coherent projection onto its one constant window mode.
Inputs
- Width d (nm)
- 4
- Fraction q = d/L
- 0.5
- Phase turns nq
- 2
Results
- Position pixel probability
- 0.5
- Constant mode probability
- 0
Width 8 nm on the ring
Measure a winding-four state on the 8 nm ring. Compare whole-pixel detection with a coherent projection onto its one constant window mode.
Inputs
- Width d (nm)
- 8
- Fraction q = d/L
- 1
- Phase turns nq
- 4
Results
- Position pixel probability
- 1
- Constant mode probability
- 0
Limits on the inputs
- Ray and basis
- The two analyzer curves come from separately prepared copies of the same state with fixed real nonnegative component magnitudes.
- Coordinate labels
- Oblique coordinates reconstruct a normalized ket. Probabilities of exclusive outcomes require the corresponding measurement operators.
- Positive cutoff errors
- The plotted truncation quantities are logarithms. The table also gives the actual errors and the conditional state fidelity.
Worked examples
Which two coefficients need a conjugate?
A source prepares the ket proportional to (1+i, 2i) in an orthonormal basis. A filter accepts the mode proportional to (1, i). What fraction of independent ideal trials passes?
- The source has squared norm 2+4 = 6, while the raw filter mode has squared norm 2. Divide their columns by √6 and √2, respectively.
- The normalized filter bra is (1, −i)/√2. Its action on the source gives [1+i + (−i)(2i)]/√12 = (3+i)/√12. Changing the order of the two states conjugates this complex number.
- Squaring the magnitude gives (9+1)/12 = 5/6. For 600 identical trials the expected transmitted count is 500. A single batch can differ from that expectation.
The transmission probability is 5/6. A plain transpose would reverse the interference contribution and predict 1/6.
Distinguish preparations with identical H/V counts
Prepare (√3|H⟩ + eⁱᵠ|V⟩)/2. For ϕ = π/2, compare an analyzer accepting (|H⟩ + |V⟩)/√2 with one accepting (|H⟩ + i|V⟩)/√2.
- For both analyzers θ = π/4. The accepted probability reduces to 1/2 + (√3/4)cos(ϕ−δ). Both have equal horizontal and vertical weights.
- The first analyzer sets δ = 0. Its amplitude is (√3+i)/(2√2), giving probability 1/2. For the other analyzer δ = π/2 and the amplitudes add in phase.
- The second analyzer gives (1/2)+(√3/4) ≈ 0.9330. Its orthogonal partner accounts for the complementary 0.0670.
Changing only the analyzer phase shifts the expected transmission from 50.0% to about 93.3%. The initial probabilities in the H/V basis remain 75% and 25%.
A passive rotation leaves an actual detector reading unchanged
A horizontal photon reaches a fixed horizontal detector. Express both in real axes rotated by 30° and compare with physically rotating only the preparation by 30°.
- The new first column is (cos 30°, sin 30°), and the second is (−sin 30°, cos 30°). Applying U† to the old horizontal column gives (√3/2, −1/2).
- The unchanged horizontal analyzer acquires exactly the same coordinates. Its overlap with the unchanged physical state is 3/4+1/4 = 1.
- For a device that rotates only the photon in fixed laboratory coordinates the prepared column becomes (√3/2, 1/2). The still-horizontal bra (1, 0) selects √3/2.
Relabeling the axes leaves the transmission at one. Rotating the preparation with a device reduces it to 3/4.
Reconstruct a unit ket with two oblique axes
Take u = (1,0), v = (1,1)/√2 and w = (0,1). Find the expansion w = au+bv and compare it with the two measured overlaps.
- The second component gives b/√2 = 1, so b = √2. The first gives a+b/√2 = 0 and a = −1.
- The actual overlaps are ⟨u|w⟩ = 0 and ⟨v|w⟩ = 1/√2. Multiplying c = (−1, √2) by G with off-diagonal 1/√2 gives precisely these overlaps.
- The squared coordinate magnitudes add to 3. The two cross terms in c†Gc contribute −2 in total, recovering the squared norm of one. If one performed the two filters separately, their actual probabilities would be 0 and 1/2.
The expansion coefficients are −1 and √2. The Gram matrix accounts for the interference between these nonorthogonal coordinate directions in the squared norm.
Separate error in a vector from rejected probability
For cₙ = √3/2ⁿ in orthonormal modes n = 1, 2, …, what is the cost of using only the first three modes? What does an output conditioned on success look like?
- The first three ideal probabilities are 3/4, 3/16 and 3/64. Their sum is 63/64. The complementary probability is 1/64.
- Projection sets all higher coefficients to zero without altering the first three. The squared norm of the missing tail is 1/64 and its norm is 1/8. To normalize an accepted output, divide the retained amplitudes by √(63/64).
- The conditional fidelity with the original state is 63/64. The norm distance of the two normalized representatives is √[2−2√(63/64)] ≈ 0.12525. Conditioning and truncating use related but different vectors.
A three-mode filter accepts 98.4375% of trials. The projection error before renormalization is 0.125 in norm.
Compare a pixel with a coherent mode filter
A particle moves on a ring of circumference 8 nm in winding n = 4. Compare an ideal position pixel covering the first 2 nm with a filter for the one constant normalized mode in exactly that window.
- The position density is uniform at 1/(8 nm), so integrating over 2 nm gives the pixel probability 1/4.
- The ring wave has wavelength L/n = 2 nm. Its phase makes one turn inside the window. Its overlap with the constant window mode adds those complex amplitudes over one full turn and vanishes.
- Halving the pixel width to 1 nm gives q = 1/8. The position probability is 0.125, while the mode probability is (1/8)[2/π]² = 1/(2π²) ≈ 0.05066.
At 2 nm width the position event has probability 1/4 and the constant-mode outcome has probability zero. The devices ask different questions about the same interval.
Identify coherence that separate counts miss
Prepare (|left,↑⟩ + |right,↓⟩)/√2 or instead toss a fair coin between those two product preparations. Can their joint path/spin counts distinguish them? Which projection can?
- In either preparation the indicated two path/spin outcomes each occur with probability 1/2. The other two outcomes have zero probability in this basis.
- For an ideal coherent projector onto the displayed superposition, its overlap with the pure preparation is one. Acting on either of the two separate product states, its overlap has magnitude 1/√2.
- The mixture passes with the weighted sum (1/2)(1/2)+(1/2)(1/2) = 1/2. For the pure input the alternatives combine as amplitudes before taking the squared magnitude.
The original basis cannot distinguish the preparations. The joint coherent filter accepts every pure-state trial and half of the mixed-state trials on average.
Try it yourself
If ⟨a|b⟩ = (2−i)/3 for two unit kets, what are ⟨b|a⟩ and the probability of passing a filter for a when b is prepared?
Show the answer and reasoning
The reversed amplitude is (2+i)/3. The filter probability is 5/9.
Reversing takes the complex conjugate. The squared magnitude is (2²+1²)/9.
A ket gains a phase eⁱᵅ. How do its bra and its one-dimensional projector change?
Show the answer and reasoning
The bra gains e⁻ⁱᵅ and the projector is unchanged.
The adjoint conjugates scalars, so the two phases multiply to one in the outer product.
A normalized three-mode state has first two orthonormal amplitudes 1/2 and i/2. What is determined about its third amplitude?
Show the answer and reasoning
Its magnitude is 1/√2. Its phase relative to the other coefficients is unspecified.
The first two squared magnitudes contribute one half. Normalization fixes the last weight, and a measurement sensitive to coherence is needed to determine a relative phase.
For orthogonal unit vectors a and b, what does |a⟩⟨b| do to b and to a?
Show the answer and reasoning
It maps b to a and a to zero.
The bra first selects the amplitude along b, which is one for b and zero for a. The surviving amplitude multiplies the outgoing vector a.
An input (|1⟩+|2⟩)/√2 reaches an ideal projector onto span{1,2}. Compare this with resolving 1 or 2 and then discarding the label.
Show the answer and reasoning
Both procedures accept with probability one. The subspace projection preserves the pure state. Resolving the two alternatives produces an equal mixture after discarding the label.
A second filter onto the incident ray accepts with probability one after the first procedure and with probability one half after the second.
A new basis is (|0⟩, i|1⟩). What coordinates describe |1⟩ in that basis?
Show the answer and reasoning
The column is (0, −i).
The expansion −i(i|1⟩) = |1⟩ reconstructs the original state. The overlap with the second basis vector uses its conjugate phase.
For two oblique unit axes with real overlap 0.99, what is the eigenvalue condition number of their Gram matrix?
Show the answer and reasoning
It is (1+0.99)/(1−0.99) = 199.
The smallest eigenvalue is 0.01. Errors with a component in that eigendirection can be strongly amplified when solving for expansion coefficients.
How many initial modes of cₙ = √3/2ⁿ are needed to make the discarded probability strictly less than 0.5%?
Show the answer and reasoning
Four modes suffice, and three do not.
For N = 3 the tail is 1/64 ≈ 1.56%. At N = 4 it is 1/256 ≈ 0.391%.
In one dimension let x be measured in metres. What dimensions must δ(x−x′) and ψ(x) carry in the stated convention?
Show the answer and reasoning
The delta has units m⁻¹ and ψ has units m⁻¹ᐟ².
The delta integrates to one against dx, and |ψ(x)|² dx is dimensionless.
For which wavefunctions does the constant normalized window mode collect the entire probability of its pixel?
Show the answer and reasoning
When the restriction of the wavefunction to that window is proportional to the constant mode almost everywhere, including the zero restriction.
This is the equality condition for Cauchy–Schwarz on that interval. A varying phase or profile generally transfers part of the pixel probability to other modes in the same subspace.
Why can a countably infinite mode expansion in a separable Hilbert space coexist with a position label for every real x?
Show the answer and reasoning
The countable orthonormal basis consists of normalizable vectors. Generalized position kets are distributional labels in a continuous representation.
Fourier or oscillator coefficients and a wavefunction can describe the same ket. The continuous resolution of the identity is interpreted through integrals of suitable states.
A photon may use three mutually exclusive paths and in each path carries either of two independent polarization modes. What is the dimension if all combinations are available?
Show the answer and reasoning
Six.
The three-dimensional path space is tensored with the two-dimensional polarization space. The chosen product basis labels one path and one polarization for the same photon.
What to carry forward
- A pure state is a ray, and a rank-one measurement probability is the squared magnitude of a normalized overlap. An inner product and an outer product have different operational roles.
- An orthonormal basis reconstructs any ket in its span from amplitudes. Oblique coordinates require a Gram matrix, and partial bases require an error estimate.
- Rotating coordinate axes, transforming a physical state and selecting an analyzer are distinct operations. Carefully labeled amplitudes predict which changes a detector can observe.
- Generalized position kets represent distributions. A finite pixel selects a subspace, while a coherent mode filter selects one direction inside that subspace.
References
Sources for the concepts and teaching approaches in this article.
Sources and conventions
A new notation for quantum mechanics. P. A. M. Dirac, Proceedings of the Cambridge Philosophical Society.
Trace the notation to its original paper and distinguish the two kinds of factors in a transition amplitude.
Sections Volume 35 (1939), pp. 416–418.
Quantum Physics II · Dirac’s Bra and Ket Notation. Barton Zwiebach, MIT OpenCourseWare.
Derive conjugate linearity, orthonormal resolution of the identity, projections and distributional position states.
Sections Chapter 4, bra and ket notation, operators and basis expansions, position states.
Foundations I · States and Ensembles. John Preskill, California Institute of Technology.
Interpret rays, measurement probabilities, changes of basis and the tensor-product structure of two systems.
Sections Chapter 2, foundations of quantum theory, the qubit, the density operator and bipartite systems.
The role of the rigged Hilbert space in Quantum Mechanics. R. de la Madrid, European Journal of Physics and arXiv.
Specify how generalized continuous eigenvectors and delta normalizations enter amplitudes tested with normalizable packets.
Sections Sections 2.2 and 2.4 on the Dirac formalism and representations, and section 4 on generalized eigenvectors.