Here is what constitutes a legal snap:
ART. 2 . . . The snap begins when the snapper first moves the ball legally other than in adjustment. In a snap, the movement must be a quick and continuous backward motion of the ball during which the ball immediately leaves the hand(s) of the snapper and touches a back or the ground before it touches an A lineman.
In picking up a ball and turning to hand it to the quarterback, the ball is moving backward continuously but it is not immediately leaving the snapper's hands.