When evidence puts on sunglasses
Follow a two-by-two matrix from an evidence ledger into polarizing sunglasses, quantum qubits, and wave interference.
Open a drawer on a physicist’s workbench, and you might find three curious objects:
- A pair of polarized sunglasses designed to cut glare from the ocean.
- A notebook recording the outcomes of Bernoulli coin flips.
- A cryogenic chip hosting superconducting quantum qubits.
At first glance, these three items seem to belong to entirely separate domains of science. The sunglasses belong to classical electromagnetic optics. The notebook belongs to Bayesian statistics. The chip belongs to quantum information.
Yet when I wrote down the mathematical matrices governing all three systems, the walls between them dissolved: they are governed by the exact same geometric equations.
In all three systems, the state is represented by a positive semidefinite two-by-two Hermitian matrix. The trace records total intensity or evidence, or is fixed to 1 for a normalized qubit, while four times the determinant gives the squared mass coordinate of the shared cone. And an invertible physical filter, with its overall intensity scale factored out, corresponds to an exact Lorentz transformation in special relativity.
Let us put on our mathematical sunglasses and watch the unified geometry of light, belief, and quantum information come into focus.
The Hermitian matrix: Pauli spins and the light cone
Let us begin with our familiar two-channel Beta evidence notebook.
Suppose an observer records
Define the total concentration
In our earlier studies, we found that the invariant epistemic rest mass squared is given by the difference of squares:
Now arrange these two positive counts along the diagonal of a two-by-two matrix:
Let us compute the fundamental matrix invariants:
- The trace (the sum of the diagonal entries):
- The determinant:
Multiplying the determinant by 4 reveals our familiar relativistic interval:
The squared epistemic rest mass of a belief is four times the determinant of its evidence matrix!
Now give the notebook three spatial dimensions. Instead of a single balance coordinate
We can package this full three-dimensional state into a
where
Define the general evidence matrix
Notice that
Let us calculate the trace and determinant of this general matrix:
Multiplying by 4 yields:
The eigenvalues of
A matrix is positive semidefinite (
Because
The condition that an evidence matrix is positive semidefinite is mathematically identical to the condition that a point lies inside the future light cone of Minkowski spacetime!
The physics of sunglasses: Stokes parameters and polarization
Now take off the mathematician’s hat and step out into the sunlight.
Light is a transverse electromagnetic wave. In a beam propagating along the
Write the complex electric field components as a two-entry Jones vector:
To describe real, partially polarized sunlight, we take the time average of the outer product, forming the optical coherency matrix
Here the angle brackets denote a time average, and the asterisk denotes complex conjugation.
Now decompose this coherency matrix into four real numbers: the famous Stokes parameters
Compare this with our evidence matrix
is the total optical intensity of the beam. measures horizontal versus vertical linear polarization. measures diagonal linear polarization at versus . measures right versus left circular polarization.
The degree of polarization
Look at what this correspondence reveals:
- A completely unpolarized beam (
): Light waves oscillate randomly in all directions. The spatial vector vanishes ( ). The coherency matrix is proportional to the identity: . The invariant mass is maximized: . An unpolarized beam is a balanced, high-mass state of maximal entropy! - A fully polarized beam (
): Light oscillates in a single pure state (such as horizontal linear polarization). The spatial length matches the intensity: . The determinant vanishes: . The invariant mass is zero: . A fully polarized beam travels on the lightlike boundary of the cone!
Same brightness. A different kind of beam.
Bundle A is horizontal. Turn bundle B, change its share, and watch their independent intensities combine.
- Degree of polarization
- 0.0%
- Cone quantity
- 8.00
- Normalized purity
- 0.500
One matrix, three readings
Use the light matrix J as the evidence matrix M, then divide by its total intensity to get the qubit matrix ρ. A qubit is a two-state quantum system; its Bloch vector v locates the normalized matrix in the unit ball. Each row follows the current slider settings.
Color follows the quantity across the three columns. The trace, tr, adds diagonal entries; “purity” means tr(ρ²). These are exact matrix identities; interpreting the total as a count of trials requires an evidence model.
In the interactive laboratory above, adjust the optical intensities and polarization angles. Watch how independent bundles of horizontal and vertical light mix: their diagonal elements sum, their phase fluctuations cancel, and the state settles into the interior of the light cone.
The quantum qubit: Impurity as epistemic rest mass
Now move from classical optics to a quantum computer.
A qubit is a two-level quantum system spanned by the computational basis states
In quantum mechanics, a general mixed state is described by a density matrix
- It is positive semidefinite:
. - It has unit trace:
.
We can obtain a valid quantum density matrix simply by dividing our evidence matrix
where
Now compute the quantum purity of this state:
Using the Pauli matrix identity
Now compare quantum purity with our relativistic rest mass:
Look at that identity:
The fractional epistemic rest mass squared is exactly twice the loss of quantum purity!
In quantum information:
- A pure state (
) sits on the surface of the Bloch sphere ( ). Its rest mass vanishes: . - A maximally mixed state (
) sits at the exact center of the Bloch sphere ( ). Its rest mass reaches its upper bound: . When the qubit and its environment form a pure joint state, this is also maximum entanglement between them.
Fractional epistemic rest mass measures quantum impurity exactly! For a subsystem of a pure joint state, that same mixedness also measures entanglement; a classical mixture can have the same impurity without entanglement.
This suggests an evidence-aware extension of the usual qubit picture: retain both
Step inside the Bloch ball
Imagine the pure states as spots painted on a globe. Mixing states lets us travel inward, all the way to the balanced center. Choose an analyzer direction
The evidence matrix gives directional weights
Aim for an outcome inside the Bloch ball
1 / 3 · Aim a likely outcome. Turn the teal analyzer until the + outcome is about 85%. Drag the ball or use the direction controls.
Preparing the 3D ball…
Target: 85% + outcome. Aim within 2 percentage points, or decide it cannot be reached.
Drag over the ball to aim the analyzer toward its visible surface. Turn the view to aim from another side. The direction buttons and angle fields provide keyboard alternatives.
Exact directions and view controls
Analyzer direction
Evidence amount, matrices and the probability rule
v = (0.000, 0.000, 1.000), n = (1.000, 0.000, 0.000)
Evidence matrix M
- Trace τ
- 8
- 4 det M = m²
- 0.000
Qubit state ρ = M / τ
- Trace
- 1
- 4 det ρ = (m / τ)²
- 0.000
Directional evidence weights
q+ = 4.000, q− = 4.000
Qubit outcome probabilities
q+ / τ = 0.500, q− / τ = 0.500
The projection v · n = 0.000 gives the same normalized answer in both columns. Purity is 1.000 and fractional mass m / τ = 0.000. This point lies on the pure-state surface.
Here x = τv, and the unit vector n selects a measurement axis. The matrix is Hermitian because its off-diagonal entries are complex conjugates. Increasing τ scales the evidence matrix while its normalized qubit state stays fixed. This correspondence specifies state geometry and measurement probabilities; dynamics, preparation, and the state after a measurement need their own physical rules.
Try the center first: every analyzer returns equal probabilities. Then move to the surface and point the analyzer along the state. What must happen when you point it in the opposite direction? Finally, increase
Ask the light a directional question
Return to the optical bench with linearly polarized light at angle
Here is the surprising change of coordinates: a physical polarization line has no arrowhead, so rotating it by
Turn the analyzer, watch both answers.
A polarizer asks light a directional question. Drag the rose source axis or the teal analyzer axis. The left disk shows physical polarization angles; the right shows the same preparation and question in Bloch coordinates.
Angles in the optical bench
A line has the same polarization after a 180° turn.
Directions in the Bloch disk
This is the v₂ = 0 slice of the full ball. The rose vector has length P.
The input is a mixture: fraction P has linear polarization θ; fraction 1 − P is unpolarized. The analyzer angle is a. Both angles are measured from horizontal. Arrow keys move the focused handles by 1°; Shift moves by 10°.
Mixed-light Malus law
Qubit measurement rule
Both descriptions predict 50.0% transmission. For the ideal polarizer used here, any transmitted light is fully polarized along the analyzer axis.
A simulated batch turns the expected fraction into individual pass / fail outcomes.
The doubled-angle identity gives v · n = P cos[2(a − θ)], so the two plotted curves agree exactly. The ideal polarizer is a projector: its Jones matrix acts as J′ = LJL†, and the pass probability is its output trace divided by the input trace. Each simulated photon is freshly prepared in the same state and measured once; counts fluctuate around the expected value.
Cross the physical axes and watch the Bloch directions become opposites. With fully polarized input, no light passes; with unpolarized input, half passes at every orientation. An ideal polarizer also prepares any transmitted light along its own axis. That state change comes from the projector used in the optical model, an additional physical rule beyond the shared matrix geometry.
Optical filters as Lorentz boosts: The SL(2, C) isomorphism
How does a beam of light change when it passes through an optical device, such as a polarizing filter?
In wave optics, a linear optical element (a polarizer, waveplate, or attenuator) acts on the electric field vector through a complex
The coherency matrix transforms according to:
Now take the determinant of both sides:
Notice what happens when the optical element has a determinant of unit magnitude:
The determinant of the coherency matrix is invariant:
Removing an irrelevant overall phase sets
In mathematical physics,
To see this explicitly, factor out the overall attenuation of an optical partial polarizer (a dichroic filter) that favors horizontal over vertical polarization:
where
Apply this filter to an evidence matrix
Now compute the new total intensity
Look at those two equations:
These are the exact equations for a relativistic Lorentz boost along the
The determinant-normalized part of this partial polarizer literally performs a Lorentz velocity boost on the beam’s coherency state! An ideal polarizer lies at the singular limit, beyond any finite boost.
For a passive optical device, we can multiply
Could attention work like this? A system amplifies distinctions in one direction, changes its normalized belief, and records how much input passed through. That is a concrete design for an attention mechanism: learn a matrix filter, carry its transmitted amount, and watch its trajectory through the cone.
Complex amplitudes: When evidence learns to interfere
Let us take one final leap into the quantum world.
In classical Bayesian statistics, evidence is always real and additive: you count positive trials
What happens if we take the square roots of these counts and combine them into a single complex number?
Define the complex epistemic amplitude:
Let us compute the squared modulus of this amplitude:
The squared modulus is the total evidence
Now compute the square of
Substitute our coordinates
Look at that identity:
Squaring the complex amplitude
Its modulus is:
The entire geometry of the light cone is encoded in the complex square of a single number!
The Bhattacharyya overlap: Quantum interference between beliefs
Now consider what happens when two observers combine their amplitudes.
In classical probability, if Observer 1 has parameters
Now suppose they combine their quantum amplitudes first:
Now calculate the total effective evidence
Expanding the squares:
Substitute the predicted probabilities
Look at the bracketed expression:
In statistics and information theory, this is the celebrated Bhattacharyya coefficient, which measures the geometric overlap between two probability distributions!
- If the two observers agree completely (
), the overlap is . The interference is fully constructive: - If the two observers hold mutually contradictory, dogmatic beliefs (
and ), the overlap vanishes: . The cross-term disappears, leaving only classical addition: . - If we introduce an arbitrary quantum relative phase
between the two arguments ( ), the cross-term can even become negative, producing destructive interference!
Destructive interference between arguments allows an autonomous intelligence to cancel out correlated biases and eliminate redundant noise, exactly like noise-canceling headphones.
Picture an inference engine with two ledgers: one for accumulated support, another for phase relationships between routes through an argument. Contradictory routes might cancel in one output channel and reinforce in another. A repeated explanation could change timing without manufacturing a new independent observation. The experiment would be to build such an engine and compare its predictions with ordinary count pooling.
Looking through the lens
We began with three seemingly unrelated objects on a workbench: sunglasses, coin tosses, and qubits.
By following the mathematics without compromise, we discovered that:
- An evidence ledger forms a positive semidefinite Hermitian matrix
, with invariant Minkowski interval . - Optical polarization parameters are the exact physical counterparts of epistemic evidence coordinates.
- Qubit purity is directly linked to spacetime geometry: fractional epistemic rest mass measures quantum impurity.
- Invertible partial polarizers, after factoring out overall attenuation, act via
, performing exact relativistic Lorentz boosts on transmitted beams. - Complex epistemic amplitudes
generate the light cone through their square ( ), while their sum reproduces quantum interference governed by the Bhattacharyya overlap.
The sunglasses, the notebook, and the qubit have given us a shared workbench: positive matrices for states, determinants for cone geometry, filters for selective transformation, and amplitudes for possible interactions.
The universe does not store its physical laws in separate compartments. The same light cone that bounds the cosmic speed of light stabilizes our beliefs, polarizes the sunset over the sea, and guides the quantum computer into the future. Next time a polarizer turns a patch of sky dark, there is a small mathematical universe worth imagining behind the lens.