What you're probably looking for is an undergraduate degree in physics. Just about all undergraduate physics degrees should have at least an introductory course in quantum mechanics and most will have more. Cosmology may or may not be an option, but would be covered as a senior level undergraduate course if it is, or, if you can convince the instructor, you might be able to enroll in a graduate course that covers it.
Specialization is something that really starts at the masters or PhD level. In general I would tend to avoid undergraduate programs that offer too much specialization too early. You can always go from general to specific, but once you've chosen a specific path you tend to close more doors than you open.