ARTIFICIAL INTELLIGENCE IN PHYSICS RESEARCH AND TEACHING
Understand the mechanism. Ask good questions. Check the results. Answer for what you sign.
6th PPGF-UERJ School (taught in Portuguese)
Prof. Marcelo Santos Guimarães
November 23–26, 2026 — 11:00–12:30 — Four 90-minute lessons
Interactive web edition
Open the interactive course page (English) · Ler em português · Download code and minimal wiki (.zip)
The web edition gathers in one self-contained file the full lecture notes, the 13 homework exercises, the minimal-wiki templates and four browser-based interactive explorations (causal attention, softmax and temperature, the Ising ring and the two-level system), requiring no account or installation. The English PDF materials and the .zip package with examples/wiki-minima/, ising_independente.py and shannon.py are listed below under Lecture Notes and Problem Sets; for the Portuguese materials, see the Portuguese course page.
Overview
This short course examines how current language models work and how we can use them rigorously in physics research and teaching. Starting from statistical mechanics and elementary systems, we open the mechanism from the inside and move on to concrete research workflows, independent verification of calculations and code, teaching practices, and editorial and ethical responsibilities.
The course runs across four lessons:
- Lesson 1 — How a language model works: next-token prediction, the role of the transformer and causal attention (read through Boltzmann factors), power-law scaling, preference tuning into an assistant, and the step from pure text to tools and agents illustrated with a real pendulum session.
- Lesson 2 — AI in research: what applications place into the context window, written instructions and voice skills, building a source-grounded scientific wiki, testing and refuting suggested ideas, and verifying derivations and code by independent routes.
- Lesson 3 — AI in teaching and studying: reviewing lecture notes, building browser simulations, grading around explicit justification rather than style, reading model-generated answers critically, and using active study habits.
- Lesson 4 — Ethics, authorship and responsibility: why understanding the output remains essential, authorship boundaries, disclosure policies from major journals and funding agencies (APS, IOP, AIP and CNPq), referee confidentiality, and what changes for the discipline.
Format and certificate
The four meetings follow a seminar format with classroom discussion. The 13 exercises in the workbook are left for study at home. Completing the course for a certificate requires attendance at three of the four sessions and submission of the final activity (submission details and deadline are announced in class).
The slides for each lesson are posted on this page right after the corresponding meeting.