LinearPolarizer

A linear polarizer projects the incoming polarisation onto its transmission axis and absorbs the orthogonal component. Unlike the wave plates, it is lossy: the state’s norm shrinks, and that missing norm is what the detector later reads as “no photon arrived”.

from QNS.components import LinearPolarizer

LP = LinearPolarizer("LP", tl.env, sm, angle=45)

Constructor

LinearPolarizer(uID, env, stateManager, angle=0)

angle is in degrees, must lie in 0 … 360, and is stored in radians. env and stateManager are required.

Ports: 1 input (port 0), 1 output (port 0).

Transformation

The linear polarizer applies the projector \(\lvert \theta \rangle \langle \theta \rvert\) at the creation-operator level:

\[\begin{split}a_H^\dagger &\rightarrow \cos^2\theta \; a_H^\dagger + \cos\theta\sin\theta \; a_V^\dagger \\ a_V^\dagger &\rightarrow \cos\theta\sin\theta \; a_H^\dagger + \sin^2\theta \; a_V^\dagger\end{split}\]

This matrix is idempotent, not unitary - which is exactly right for a polarizer, and exactly why the norm drops.

Worked case. The laser emits \(\lvert 1H \rangle\). A polarizer at 45° gives amplitudes \(\cos^2 45° = 1/2\) on H and \(\cos 45° \sin 45° = 1/2\) on V, so the state becomes \(\tfrac{1}{2}\lvert 1H \rangle + \tfrac{1}{2}\lvert 1V \rangle\) with squared norm \(1/2\). Malus’s law: half the light gets through, and the detector downstream registers a click on half the pulses.

Note

Because loss is carried as amplitude rather than as a random discard, a chain of two polarizers at 0° and 90° correctly extinguishes the beam, and inserting a third at 45° between them correctly restores a quarter of it. You do not have to model that; it falls out of the operator algebra.