We present two complementary strategies for modeling nonlinear quantum optics in realistic integrated optical devices, where scattering loss is present. In the first strategy, we model as an attenuation; second, employ a Hamiltonian treatment that includes mechanism loss, such phantom waveguide. These can be applied to broad range of structures and processes. As example, use these approaches sp...