PolarisingBeamSplitter
A polarization-sorting optical component available on the Virtual Bench.
A polarising beam splitter routes photons by polarisation instead of by amplitude: horizontally polarised light goes one way, vertically polarised light the other. Together with a half-wave plate in front of it, a PBS plus two detectors is a complete polarisation analyser.
A Polarizing Beam Splitter (PBS) is an optical component with 2 input ports and 2 output ports, just like the ordinary Beam Splitter. The difference is how it decides where a photon goes: instead of splitting photons randomly, a PBS sorts them by polarization.
A horizontally (H) polarized photon is transmitted - it passes straight through.
A vertically (V) polarized photon is reflected - it bounces to the other output.
On the Virtual Bench it appears as a diamond-shaped block labelled PBS,
with one input and one output wired to each side - visually identical in
layout to the ordinary Beam Splitter, but drawn in a different colour to
distinguish it.
from QNS.components import PolarisingBeamSplitter
PBS = PolarisingBeamSplitter("PBS1", tl.env, sm)
Constructor
PolarisingBeamSplitter(uID, env, stateManager)
There are no device parameters - the PBS is treated as ideal, with perfect
extinction and no loss. env and stateManager are required and raise
ValueError if None.
Ports: 2 inputs (0, 1), 2 outputs (0, 1). Any other
port number raises TypeError. Feeding only input 0 and reading
both outputs is the usual analyser configuration.
Properties panel
When a Polarizing Beam Splitter is selected on the bench, its properties appear in the side panel:
Field |
Description |
|---|---|
|
A unique name for this PBS instance (e.g. |
How it works
For every photon that reaches the PBS, its polarization - not a random draw - decides the outcome:
The incoming photon’s polarization state is read (H or V).
If it is H-polarized, it is routed to the straight-through (transmitted) output.
If it is V-polarized, it is routed to the crossed (reflected) output.
Because the routing depends only on polarization, sending the same polarization state through the PBS repeatedly always produces the same output - there is no randomness to average over, unlike the Beam Splitter.
The transformation
An ideal PBS acts as a polarization projector on each spatial path. Writing a photon’s polarization state in the H/V basis as \(\binom{\alpha}{\beta}\) (amplitudes for H and V respectively), the two outputs receive:
The transmitted path keeps only the H component and the reflected path keeps only the V component. For a photon prepared in a definite polarization (pure H or pure V, as is typical on the bench), one of these two amplitudes is zero, so the photon deterministically exits from a single port:
In the underlying package, PBS implements the same projection by swapping the horizontal photon occupations of the two modes and leaving the vertical ones in place:
nch[p1], nch[p2] = nch[p2], nch[p1] # H photons swap modes
# ncv untouched # V photons stay
So a photon entering on port 0 exits on port 1 if it is H, and on port 0 if it is V. Since the operation permutes basis states rather than mixing amplitudes, it is exact and needs no symbolic expansion - it is the cheapest of the two-mode operations.
Input polarisation |
Output port 0 |
Output port 1 |
|---|---|---|
H |
photon |
|
V |
photon |
|
D = (H+V)/√2 |
amplitude 1/√2 |
amplitude 1/√2 |
The last row is why a PBS measures in the H/V basis: a diagonally polarised photon leaves the splitter in a superposition across the two output modes, and the detector that fires is chosen when the state collapses.
Port mapping
Looking at the diamond icon on the bench, the two ports on the left are inputs and the two ports on the right are outputs:
Input |
H-polarized photon |
V-polarized photon |
|---|---|---|
Top-left input |
→ Top-right output |
→ Bottom-right output |
Bottom-left input |
→ Bottom-right output |
→ Top-right output |
Simultaneous arrivals
The PBS uses the same timestamp bookkeeping as the non-polarising BeamSplitter:
first photon at
round(env.now, 20)- pair with a vacuum mode, transform, launch both outputs, record the processes and the pre-transform state;second photon at the same timestamp - interrupt the pending output processes, restore the recorded state, combine the two inputs (in place if they share a
photon_id, by tensor product otherwise), re-transform, re-launch.
Beam Splitter vs. Polarizing Beam Splitter
Beam Splitter |
Polarizing Beam Splitter |
|
|---|---|---|
Routing rule |
Random, set by |
Fixed, set by photon polarization |
Adjustable settings |
|
|
Typical use |
Creating superpositions / interference |
Sorting or measuring polarization |
Building an analyser
A two-basis polarisation analyser, as used in the quickstart circuit:
┌─ QC4 ─▶ D1 (H arm)
── HWP(22.5°) ── PBS1 ───┤
└─ QC5 ─▶ D2 (V arm)
With the HWP at 0° the analyser measures in the H/V (rectilinear) basis; at 22.5° it measures in the D/A (diagonal) basis. Which detector fires gives the bit; the HWP setting gives the basis.
Using it on the Virtual Bench
Drag Polarizer Beam Splitter from the component tray onto the bench.
Wire a polarization source (e.g. Laser combined with a HWP/QWP to set the input polarization) into one of its input ports, and wire its output ports onward to detectors or further components.
Click the component to open Polarizer Beam Splitter Properties and set its
Component_IDif you want a custom label.Click Run to simulate the circuit.