stateful_quadrature
