Purification of single-photon entanglement with linear optics | Synapse