Quantum Optical Analogies in Waveguide Based Optical Structures