Investigation of the symmetry energy of nuclear matter using isospin-dependent quantum molecular dynamics