Optical quantum computing with photons of arbitrarily low fidelity and purity | Synapse