Role of intertwined Hamiltonian in two dimensional classical optics