On the equivalence between quantum and random walks on finite graphs