PTPN6 and type 2 diabetes mellitus: In summary, our results indicate QG’s role as a potent inhibitor targeting both PTPN6 and PTPN9, showcasing its potential as a promising treatment avenue for T2DM.