Figure 4

Schematic setup for implementing a CPF gate and a PCG.
M stands for a mirror and the PBS transmits the
polarized photon and reflects the
component. HWP1 and HWP2 are half-wave plates performing the bit-flip operation, while H represent a Hadamard rotation.