Optical 30-symbol quadriphase-shift keyed (QPSK) and binary-phase-shift keyed (BPSK) codes were processed in a spatial-spectral holographic correlator with the Er(3+): Y(2)SiO(5) spectral hole-burning material operating at 1536 nm in the important 1550-nm communications band. The results demonstrate the ability of spatial-spectral holographic correlators to process QPSK codes and BPSK codes with the same apparatus. The high-fidelity correlations produced by this optical coherent transient device exhibit the low sidelobe characteristics expected for the codes used.