A general consideration of the phase rotations in a quantum searching algorithm is undertaken in this work. As four phase rotations on the initial state, the marked state, and the states orthogonal to them are taken into account, we deduce a phase-matchin