Inherent structure formalism for quantum systems