Hydrolyzes trehalose-6-phosphate to glucose and glucose 6-phosphate. Can also very effectively hydrolyze p-nitrophenyl-alpha-D-glucopyranoside, but not lactose, maltose, sucrose or sucrose-6-phosphate. Trehalose is also hydrolyzed, but to a much smaller extent than trehalose-6-phosphate