The quantum simulation of metal-hydrogen systems and the analysis of diffraction experiments