  We study the statistical mechanics of a $D$-dimensional array of Josephson
junctions in presence of a magnetic field. In the high temperature region the
thermodynamical properties can be computed in the limit $D \to \infty$, where
the problem is simplified; this limit is taken in the framework of the mean
field approximation. Close to the transition point the system behaves very
similar to a particular form of spin glasses, i.e. to gauge glasses. We have
noticed that in this limit the evaluation of the coefficients of the high
temperature expansion may be mapped onto the computation of some matrix
elements for the $q$-deformed harmonic oscillator.
