Quantum K theory and 3d Chern-Simons matter theory