A new quantum propagator for hard sphere and cavity systems