Consider a gas of hard spheres with the 2-body interaction
$$
\begin{aligned}
V\left(\left|\mathbf{r}_i-\mathbf{r}_j\right|\right) & =0, & & \left|\mathbf{r}_i-\mathbf{r}_j\right|>a, \\
& =\infty, & & \left|\mathbf{r}_i-\mathbf{r}_j\right|<a .
\end{aligned}
$$
Using the classical partition function, calculate the average energy at a given temperature and density (thermodynamics: the internal energy).
On the basis of simple physical arguments, would you expect this same simple answer to also result from a calculation with the quantum mechanical partition function?