QUANTUM ENGINEERING AT THE SINGLE PHOTON LEVEL