Linear-optical quantum computation with arbitrary error-correcting codes | Synapse