The present paper explains some general basic formulas concerning quantum Monte Carlo simulations, symplectic integration and other numerical calculations. A generalization of the BCH formula is given with an application to the decomposition of exponential operators in the presence of small parameters.