We will prove that some weighted graphs on the distance-k graph of hypercubes approximate the q-Hermite polynomial of a q-gaussian variable by providing an appropriate matrix model.