Quantum Simulation With Waveguide Photons: Theory And Experiment