Search arXivSearch

arXiv · 2607.03457

Physical Systems as Objects: A Structural Correspondence for Computational Physics Education

Abstract

Physical systems and objects in the object-oriented programming (OOP) paradigm share a common organizational structure: identity, state, and governing laws. We argue that making this structural correspondence explicit, rather than leaving it as tacit knowledge embedded in scientific software, provides a natural and general basis for teaching computational physics. The correspondence is independent of both programming language and mathematical formalism, applying equally to differential equations, eigenvalue problems, and variational principles. To illustrate this idea, we present Ollin, an open-source Python framework for computational physics education organized around the correspondence principle. Four examples spanning mechanics, celestial mechanics, quantum mechanics, and variational optics demonstrate that the same representational structure can be preserved across diverse physical domains. In each case, the class definition serves as the physical model, its attributes encode the state and physical parameters of the system, and its methods encode the governing laws, regardless of whether those laws are integrated, diagonalized, or optimized. More broadly, the correspondence principle provides a conceptual framework for relating the organization of physical models to the organization of code.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Luis E. Sánchez-González. 2026-07-03. Physical Systems as Objects: A Structural Correspondence for Computational Physics Education. https://arxiv.org/abs/2607.03457

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Addressing misconceptions in university physics: A review and experiences from quantum physics educators

Students often begin physics courses with misconceptions rooted in everyday experience and intuition, which can be resistant to change. While research has identified strategies for addressing misconceptions across physics, it remains unclear whether different domains, like classical and quantum physics, require different approaches. Quantum concepts can pose different representational and mathematical demands, while both domains require instructors to elicit and develop students' reasoning. To support discussion of these instructional challenges, we organize selected literature on addressing misconceptions in physics education and summarize instructors' accounts. The overview groups 122 distinct works into four categories, with further subcategories. A preliminary framework developed from existing review literature informed the interview guide. We interviewed 12 instructors from the University of Waterloo's Institute for Quantum Computing and the Perimeter Institute, who have collectively taught over 100 quantum courses. The accounts describe difficulties involving instructional representations, prerequisite knowledge, and the interpretation of students' reasoning, alongside reported diagnostic and instructional responses. We draw these accounts and the literature together as questions for instructional planning. The report does not resolve the intended classical--quantum comparison or establish comparative instructional effectiveness.

physics.ed-ph

Johann Bernoulli's analysis of elastic collisions (a teaching sequence to introduce the dynamic law thereby inspired)

In order to explain an elastic collision, Johann Bernoulli considered two bodies connected by a spring. Motion is defined as a succession of states of rest. Then, considering the spring to be a lever with a body at each extremity, the laws of equilibrium imply that `motion' is described by the time variation of the (common) quantity of motion of the bodies; the dynamic law is thus deduced. This inspires a teaching sequence to introduce the dynamic law (in one dimension) in introductory physics course; we call it ``bernoullian sequence''.

physics.ed-ph

Design and Initial Evaluation of a Photovoltaics-focused Course-based Undergraduate Research Experience in Physics

Traditional physics laboratory courses often focus on experiments with well-known results, limiting students' engagement in authentic scientific practices. Course-based undergraduate research experiences (CUREs), where students engage in real research with unknown outcomes, have been shown to support positive student outcomes, such as increased self-efficacy, persistence, and engagement in scientific practices. However, discipline-specific studies of CUREs in physics remain limited. We describe the development, structure, and initial implementation of a photovoltaics-focused CURE in a second-year undergraduate physics laboratory course at the University of Colorado Boulder. To examine how students experienced the course, we analyzed end-of-semester reflection assignments using the five CURE components (i.e., scientific practices, discovery, relevance, collaboration, and iteration), as well as established dimensions of research authenticity, as analytic frameworks. Students described experiences associated with all five CURE components, with collaboration, relevance, and scientific practices appearing most prominently in their reflections. Students also associated authentic research with meaningful scientific contribution, engagement in authentic scientific practices, and navigating the uncertainty and setbacks inherent in research, although fewer explicitly identified themselves as researchers or scientists. A subset of students additionally connected the course to their immediate thinking about future academic and professional pathways. This work contributes both a discipline-specific model for implementing CUREs in experimental physics laboratory courses and provides insight into how students interpret and experience authentic research within this course context.

physics.ed-ph