example for Qcumulant method