Metasurface quantum graphs for generalized Hong-Ou-Mandel interference | Synapse