Quantum mechanics does not mean everything is quantized. It got its name because the first predictions of quantum mechanics were quantized energy levels in some example systems, but that does not even mean that all energies are quantized in quantum mechanics. There are many systems you can study where energies are continuous, and many examples where other quantities are continuous in quantum mechanics.