Polariton spectra under the collective coupling regime. I. Efficient simulation of linear spectra and quantum dynamics | Synapse