Physics graduate programs generally prefer candidates who have substantial research experience, which can be gained through working with a single professor over multiple semesters or collaborating with several professors for shorter periods. The depth of research experience is often valued more than the breadth. Staying with one professor throughout the undergraduate career can provide a more cohesive and in-depth understanding of a specific research area, which may be advantageous, especially if it leads to a strong thesis project. However, working with multiple professors can expose students to diverse methodologies and perspectives, which can also be beneficial. The amount of time spent working with professors varies, with some students committing to several semesters of research, while others may engage in shorter, more varied experiences. In the U.S., graduate schools typically look for consistent research involvement throughout the undergraduate years, making it crucial for students to consider their research strategies early in their academic careers.