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 |
|---|---|---|
|
0° - 360° |
Orientation angle of the wave plate’s fast axis, entered in degrees. |
Definition
The HWP applies the Jones matrix
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):
Common settings
|
Effect on the incoming H-polarised pulse from the laser |
|---|---|
|
Identity on H (V picks up a sign). |
|
H → D. This is the standard basis-switch setting for BB84/BBM92. |
|
H → V (a full polarisation flip). |
Using it on the Virtual Bench
Drag HWP from the component tray onto the bench.
Wire it into the polarisation mode you want to rotate.
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.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 |
|---|---|---|
|
0° - 360° |
Orientation angle of the wave plate’s fast axis, entered in degrees. |
Definition
The QWP applies the Jones matrix
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}\):
Using it on the Virtual Bench
Drag QWP from the component tray onto the bench.
Wire it into the polarisation mode you want to convert.
Click the component and set
angle. Use 45° (or −45°) on horizontally polarised light to produce circular polarisation.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.