add qp example to documentation