Trefftz Spectral method (QTSM) for initial-boundary problems