Photonic integrated circuits with bound states in the continuum | Synapse