spatial and spectral encoding of quantum information