This is the worst possible example.
Learning basic QM is 90% complex differential equations and 10% physical intuition.
There is a reason why you generally don't get to introductory quantum mechanics until second year after (or while) you're doing calculus, differential equations and linear algebra.
To quote a lecture I once saw: the deepest point of any state is a mine shaft somewhere. You don't find that shaft by gradient descent.