A note on the transition probability over C*-algebras