\frac{\partial H}{q_i}=-\dot{p_i}