Q_j=\frac{\partial V}{\partial \dot{q_j}}-\frac{\partial V}{\partial q_j}+Q^{*}_{j}