Ontify
Catalysis of the reaction: alpha,alpha-trehalose 6-phosphate + H2O = D-glucose + D-glucose 6-phosphate.