We study the XY model on a lattice with fluctuating connectivity. The
expectation is that at an appropriate critical point such a system cor
responds to a compactified boson coupled to two-dimensional quantum gr
avity. Our simulations focus, in particular, on the important topologi
cal features of the system. The results lend strong support to the two
-phase structure predicted on the basis of analytical calculations. A
careful finite-size scaling analysis yields estimates for the scaling
exponents in the low-temperature phase.