How to export a 360 image with path tracing?

I was wondering if there is a way to render a 360 spherical image using path tracer? Could not find any topics about this…