Quantum Nonlinear Dynamics and Chaos in Photonic and Nano Systems