Hydrolyzes trehalose-6-phosphate to glucose and glucose 6-phosphate. Can also very effectively hydrolyze p-nitrophenyl-alpha-D-glucopyranoside, but it does not recognize trehalose, sucrose, maltose, isomaltose, or maltodextrins. alpha,alpha-trehalose 6-phosphate + H2O = D-glucose + D-glucose 6-phosphate Belongs to the glycosyl hydrolase 13 family.