qg(d