Wave plates

Both wave plates are birefringent retarders: they act on the polarisation of one mode without splitting it, so they have one input and one output and leave the mode list untouched.

from QNS.components import HalfWavePlate, QuarterWavePlate
HWP = HalfWavePlate("HWP1", tl.env, sm, angle=45)
QWP = QuarterWavePlate("QWP1", tl.env, sm, angle=45)

angle is in degrees, must be in 0 … 360, and is converted to radians and stored as self.angle. Out-of-range values raise ValueError.

Ports: 1 input (port 0), 1 output (port 0). Any other port number raises TypeError.

HalfWavePlate

A polarisation-rotating component available on the Virtual Bench.

The Half-Wave Plate (HWP) rotates linear polarisation. Its only setting is an orientation angle \(\theta\), entered in degrees on the bench. A half-wave plate with its fast axis at \(\theta\) reflects linear polarisation about that axis, rotating a linear polarisation by \(2\theta\).

Note

An HWP rotates the incoming polarisation by twice its orientation angle - a 45° HWP fully swaps \(\lvert H \rangle \leftrightarrow \lvert V \rangle\), not a 90° one.

Properties panel

Field

Range

Description

angle

0° - 360°

Orientation angle of the wave plate’s fast axis, entered in degrees.

Definition

The HWP applies the Jones matrix

\[\begin{split}J_{\text{HWP}}(\theta) = \begin{pmatrix} \cos 2\theta & \sin 2\theta \\ \sin 2\theta & -\cos 2\theta \end{pmatrix}\end{split}\]

to the polarisation state \(\binom{\alpha}{\beta}\) in the \((H, V)\) basis.

Input state

HWP angle

Output state

\(\lvert H \rangle\)

\(\theta\)

\(\cos 2\theta \lvert H \rangle + \sin 2\theta \lvert V \rangle\)

\(\lvert V \rangle\)

\(\theta\)

\(\sin 2\theta \lvert H \rangle - \cos 2\theta \lvert V \rangle\)

\(\lvert D \rangle = \frac{\lvert H \rangle + \lvert V \rangle}{\sqrt{2}}\)

22.5°

\(\lvert H \rangle\)

\(\lvert A \rangle = \frac{\lvert H \rangle - \lvert V \rangle}{\sqrt{2}}\)

22.5°

\(-\lvert V \rangle\)

\(\lvert H \rangle\)

45°

\(\lvert V \rangle\)

\(\lvert V \rangle\)

45°

\(\lvert H \rangle\)

In the creation-operator picture, which is what HWP actually implements (equivalent to the Jones matrix above, but valid for multi-photon Fock states as well as single photons):

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

Common settings

angle

Effect on the incoming H-polarised pulse from the laser

0

Identity on H (V picks up a sign).

22.5

H → D. This is the standard basis-switch setting for BB84/BBM92.

45

H → V (a full polarisation flip).

Using it on the Virtual Bench

  1. Drag HWP from the component tray onto the bench.

  2. Wire it into the polarisation mode you want to rotate.

  3. Click the component and set angle. Use 45° to fully swap H and V, or 22.5° to convert between diagonal and horizontal/vertical bases.

  4. Click Run to simulate the circuit.

QuarterWavePlate

A polarisation-retarding component available on the Virtual Bench.

The Quarter-Wave Plate (QWP) introduces a phase delay between the horizontal and vertical polarisation components, which converts linear polarisation into elliptical or circular polarisation. Its only setting is an orientation angle \(\theta\), entered in degrees on the bench.

Note

Unlike the HWP, the QWP’s transformation is complex-valued - it changes the relative phase between H and V, not just their relative amplitude. This is what allows it to produce circular polarisation from linear input.

Properties panel

Field

Range

Description

angle

0° - 360°

Orientation angle of the wave plate’s fast axis, entered in degrees.

Definition

The QWP applies the Jones matrix

\[\begin{split}J_{\text{QWP}}(\theta) = i e^{i\pi/4} \begin{pmatrix} -\left(i\cos^2\theta + \sin^2\theta\right) & (1-i)\sin\theta\cos\theta \\ (1-i)\sin\theta\cos\theta & -\left(\cos^2\theta + i\sin^2\theta\right) \end{pmatrix}\end{split}\]

to the polarisation state \(\binom{\alpha}{\beta}\) in the \((H, V)\) basis. The overall complex prefactor is a global phase and does not affect measured intensities.

Input state

QWP angle

Output state

\(\lvert H \rangle\)

0°

\(e^{i\pi/4}\lvert H \rangle\)

\(\lvert V \rangle\)

0°

\(e^{-i\pi/4}\lvert V \rangle\)

\(\lvert H \rangle\)

45°

\(\frac{1}{\sqrt{2}}\left(\lvert H \rangle + i\lvert V \rangle\right)\) (up to global phase)

\(\lvert H \rangle\)

−45°

\(\frac{1}{\sqrt{2}}\left(\lvert H \rangle - i\lvert V \rangle\right)\) (up to global phase)

\(\lvert D \rangle\)

45°

Linear polarisation (up to global phase)

\(\lvert A \rangle\)

45°

Linear polarisation (up to global phase)

At 45°, horizontally polarised light becomes one circular polarisation state; reversing the orientation to −45° produces the opposite circular polarisation state.

The transformation applied by QWP is the same Jones matrix above, expressed in the creation-operator picture (valid for multi-photon Fock states), up to the global phase \(\mu = i e^{i\pi/4}\):

\[\begin{split}a_H^\dagger &\rightarrow \mu \left[ -\left(i\cos^2\theta + \sin^2\theta\right) a_H^\dagger + (1-i)\sin\theta\cos\theta \; a_V^\dagger \right] \\ a_V^\dagger &\rightarrow \mu \left[ (1-i)\sin\theta\cos\theta \; a_H^\dagger - \left(\cos^2\theta + i\sin^2\theta\right) a_V^\dagger \right]\end{split}\]

Using it on the Virtual Bench

  1. Drag QWP from the component tray onto the bench.

  2. Wire it into the polarisation mode you want to convert.

  3. Click the component and set angle. Use 45° (or −45°) on horizontally polarised light to produce circular polarisation.

  4. Click Run to simulate the circuit.

Because the transformation acts on creation operators rather than on a single-photon Jones vector, a two-photon pulse is handled correctly: a HWP at 22.5° acting on \(\lvert 2H \rangle\) produces the right superposition of \(\lvert 2H \rangle\), \(\lvert 1H1V \rangle\) and \(\lvert 2V \rangle\) with the correct \(\sqrt{2}\) weights, with no special-casing.

Note

Wave plates are unitary and lossless - the state’s norm is preserved. If you need loss, use a LinearPolarizer or channel attenuation.