Good question. I come from a non-physics background and I have to learn quantum mechanics for my future studies and unfortunately I couldn't find any thorough answer on stackex unlike Steve Denton's in here
This answer is Steve Denton's suggestion on Quora website.
You can tackle basic, nonrelativistic QM at an introductory level with
just the following prerequisites:
Linear algebra (mainly vector algebra and matrix algebra, and
especially including eigenvectors and eigenvalues, which are
absolutely central to QM) Complex numbers (especially the
representation and manipulation of complex numbers in terms of complex
exponential functions, and the representation of waves using the same)
Differential and integral calculus of a single variable, including
ordinary differential equations Basic probability and statistics A lot
of the specialized concepts and mathematical functions that crop up in
elementary QM (e.g. operator algebra, Hilbert space, Hermitian
conjugates, inner products, Hermite polynomials, delta functions,
Dirac bra-ket notation, projection operators, etc.) will be introduced
to you during your QM studies, so they are not prerequisites as such.
For intermediate/advanced level nonrelativistic QM, you will need a
few additional things, as a minimum:
Partial differential equations Spherical polar coordinates (used a lot
in atomic & nuclear physics) Special functions (e.g. Legendre
polynomials and related functions) Complex analysis (particularly the
calculus of residues - i.e complex integration) Green's functions
Fourier analysis Group theory A good familiarity with classical
analytical mechanics, both the Hamiltonian and Lagrangian
formulations, and the Principle of Least Action would also be very
worthwhile acquiring at this point, as they are absolutely central
ideas and techniques in any advanced physics, and particularly quantum
field theory.
For relativistic QM and quantum field theory, the main things you will
need, as a minimum, are:
Calculus of variations, or variational calculus (and its applications,
via the Principle of Least Action, in classical analytical mechanics)
Functional integration Tensor calculus (in 4D Minkowski spacetime;
full-blown general tensor calculus will not be needed for the most
part, but some knowledge of both it and general relativity might
occasionally come in handy, and will certainly be needed if you want
to go into areas like quantum cosmology, string theory, quantum
gravity, etc.)
In addition to that, having a solid knowledge of classical mechanics could help you since classical mechanics is mandatory in the Lagrange, Hamilton and Hamilton-Jacobi formalisms.