Delayed coherent quantum feedback from a scattering theory and a matrix product state perspective