Q_i=Q_i(q_k, p_k, t), P_i=P_i(q_k, p_k, t)