ML for Materials Science · Week 11 · Lecture 11

Graph Neural Networks for Crystals

Atoms become nodes, neighbours become edges, and a network learns by passing messages along the bonds.
Undergraduate course · 16 weeks
one atom collects messages from its neighbours
Recap of lecture 10 · what it left open

Convolutions love grids. A crystal is not a grid.

Convolutiona small learned filter slides over pixels
→
Pooling and depthreceptive field grows layer by layer
→
U-Net, transfer, 1-D CNNmicrographs and XRD patterns
→
Todaycrystals as graphs

Open question 1 · no pixel grid

Atoms sit at arbitrary positions, a unit cell may hold 1 or 200 atoms, and the crystal repeats forever. A filter that slides over a fixed grid has nowhere to slide.

Open question 2 · one crystal, many files

Shift the origin, rotate the axes or renumber the atoms: the file changes, the material does not. Lecture 3 showed that raw coordinates break these symmetries.

We need a network built on what a crystal really is: atoms and their neighbours.
Why questions · answered at the end

Four puzzles for today

WHY 1

Why does a graph network give exactly the same energy when you renumber the atoms in a structure file, without ever being trained on renumbered copies?

WHY 2

Diamond and graphite are both pure carbon. Why can no composition-only model predict both band gaps, 5.5 and 0 eV?

WHY 3

Why must predicted forces turn when the crystal is rotated, while a predicted energy must not change at all?

WHY 4

Why can a graph network lose to a simple composition model on 500 structures, yet win clearly on 100 000?

Motivation · three ways to describe a crystal to a model

From hand-made descriptors to learned ones

descriptionwhat the model seessymmetriesfeatures are…
Composition features (lecture 3)element fractions, weighted means of elemental propertiesinvariant by constructionhand-made; blind to structure
Fixed structure descriptors (lecture 3)radial distribution, Coulomb-matrix eigenvalues, SOAPbuilt into the formulahand-made, fixed before training
Crystal graph + GNN (today)atoms (nodes) and neighbour distances (edges)built into the architecturelearned from the data

Why not a 3-D CNN on a voxel grid?

It works in principle, but a rotation moves every voxel, fine grids are mostly empty space, and the periodic boundary must be handled by hand. A graph stores only what matters: who is next to whom, and how far.

What changes today

Lecture 3 fixed the features first and then fitted a model. A graph neural network learns the features and the model together, while the symmetries stay exact.

Math primer · graphs, adjacency matrices and permutations

Renumbering the atoms is a permutation

1
Graph \(G=(V,E)\): n nodes with feature vectors \(\mathbf h_i\) (rows of H, n × F), edges (i, j) with features \(\mathbf u_{ij}\); adjacency \(A_{ij}=1\) if j is a neighbour of i.
Everything we know about the crystal, with no coordinates and no axes.
2
Renumbering = a permutation matrix P (exactly one 1 in every row and column):\[ H \;\to\; PH, \qquad A \;\to\; PAP^{\mathsf T} \]
Same graph, different order of rows and columns.
3
Two wishes. Invariant: \(f(PH, PAP^{\mathsf T}) = f(H,A)\) (total energy). Equivariant: \(g(PH,PAP^{\mathsf T}) = P\,g(H,A)\) (one charge per atom).
A crystal number must not move; a per-atom list must move with the atoms.
4
A sum over atoms is invariant:\[ \mathbf 1^{\mathsf T}(PH) = (\mathbf 1^{\mathsf T}P)\,H = \mathbf 1^{\mathsf T}H \]
Each column of P holds a single 1, so \(\mathbf 1^{\mathsf T}P = \mathbf 1^{\mathsf T}\).
3 atoms, A bonded to B and C. Order (A, B, C) and order (B, A, C):
\[ A_{(ABC)}=\begin{bmatrix}0&1&1\\1&0&0\\1&0&0\end{bmatrix},\quad A_{(BAC)}=\begin{bmatrix}0&1&0\\1&0&1\\0&1&0\end{bmatrix} \]

What this tells us

The two matrices look different, but they describe the same three atoms. A model that reads the matrix as a flat list of numbers would give two answers. We need operations that do not care about the order: sums over neighbours and sums over atoms.

Building the crystal graph

Nodes are atoms, edges are neighbours within a cutoff

unit cell rock-salt NaCl, one (001) plane · pale atoms are periodic images
1
Nodes: one per atom in the unit cell; its features describe the element (group, period, electronegativity, radius…).
The network starts from chemistry it already knows.
2
Edges: every neighbour within a cutoff rc, including periodic images across the cell boundary.
The crystal is infinite; the graph stays small.
3
Edge features: the distance dij, expanded in Gaussians (next slide).
Distances do not change under rotation or translation.

Try it (outside the video)

rc 3.5 Å
—
Edge features · Gaussian expansion of distances

One distance becomes a smooth fingerprint

distance d (Å) ek(d)
1
Why not the raw distance? One number times one weight gives a message linear in d, but bonding is strong when close and nothing when far.
2
Expand in K Gaussians with centres μk and width Δ:\[ e_k(d) = \exp\!\left[-\frac{(d-\mu_k)^2}{\Delta^2}\right] \]
Here μ = 0, 0.5, …, 6 Å and Δ = 0.5 Å (CGCNN: every 0.2 Å).
3
Learned weights on these numbers give any smooth function of distance:\[ f(d) = \textstyle\sum_k w_k\, e_k(d) \]
A radial basis, like the kernels of lecture 4.

What the model learned

The weights wk trace a learned bond-strength curve. Beyond the last centre every ek ≈ 0: the model is blind there.

Worked problem 1 · by hand

The crystal graph of rock salt

1
Neighbour shells from a = 5.64 Å (Na at a corner, Cl at the edge centres):\[ \tfrac{a}{2}=2.82\ \text{Å (6 Cl)},\quad \tfrac{a}{\sqrt2}=3.99\ \text{Å (12 Na)},\quad \tfrac{\sqrt3\,a}{2}=4.88\ \text{Å (8 Cl)} \]
2
Cutoff 3.5 Å: each Na gets 6 edges, all to Cl. With 4.5 Å: 6 + 12 = 18 edges.
Check: 6 is the octahedral coordination of rock salt from any textbook.
3
Primitive cell: only 2 atoms, Na and Cl. All 6 edges of Na go to the same Cl node, through 6 different periodic images.
A multigraph: CGCNN sums over every edge, not just over every neighbour.
4
Edge features for d = 2.82 Å, Δ = 0.5 Å (calculator):\[ \mu = 2.0,\,2.5,\,3.0,\,3.5\ \text{Å} \;\Rightarrow\; e^{-2.690},\,e^{-0.410},\,e^{-0.130},\,e^{-1.850} = 0.068,\ 0.664,\ 0.878,\ 0.157 \]

What this tells us

The crystal is infinite, but its graph is tiny: 2 nodes and 6 edges per Na. Periodicity lives in the edges, not in extra nodes.

distance (Å)neighbourcounttotal
2.82Cl66
3.99Na1218
4.88Cl826
5.64Na632
6.31Cl2456
Cubic crystals of halite, rock salt
Halite (NaCl): cubic crystals reflect the cubic cell. Andrew Silver, public domain
Derivation · message passing in the CGCNN form

Each atom updates itself from what its neighbours say

1
Gather one vector per edge: \(\mathbf z_{ij} = \mathbf h_i \oplus \mathbf h_j \oplus \mathbf u_{ij}\) (⊕ = stack).
A message depends on the receiver, the sender and their distance.
2
Gate: \(\mathbf s_{ij} = \sigma(\mathbf z_{ij} W_f + \mathbf b_f)\), between 0 and 1.
How much should atom i listen to this neighbour?
3
Core: \(\mathbf c_{ij} = \text{softplus}(\mathbf z_{ij} W_s + \mathbf b_s)\).
What the neighbour says. Softplus = smooth ReLU.
4
Update with a sum over all edges:\[ \mathbf h_i \leftarrow \mathbf h_i + \sum_{j} \mathbf s_{ij} \odot \mathbf c_{ij} \]
Any number of neighbours, in any order; "+ hi" keeps the atom's own identity.
5
Repeat T times with new weights.
After T steps an atom has heard from atoms T bonds away: a receptive field, as in lecture 10.

Sanity checks

Swap two neighbours: the sum is unchanged. An isolated atom gets no messages: hi stays as it was. The same Wf, Ws serve every atom, so a cell with 200 atoms needs no more weights than one with 2.

Worked problem 2 · by hand · one message-passing step

Three atoms, one feature each, one update

short bond, u = 1 long bond, u = 0 B A C h = 0.5 h = 1.0 h = 1.5 B and C are each bonded only to A

Given weights (scalar version of the last slide):
gate \(s_{ij} = \sigma(4u_{ij} - 2)\) · core \(c_{ij} = \text{ReLU}(0.5\,h_i + h_j)\)
ReLU instead of softplus keeps the arithmetic simple.

atomh beforeh after one step
A1.02.119
B0.51.601
C1.51.709
1
Gates: \(\sigma(4\cdot1-2) = \sigma(2) = \frac{1}{1+e^{-2}} = 0.8808\); long bond \(\sigma(-2) = 0.1192\).
The gate depends only on the distance here.
2
Messages to A:\[ \text{from B: } 0.8808\times\text{ReLU}(0.5+0.5) = 0.881 \]\[ \text{from C: } 0.1192\times\text{ReLU}(0.5+1.5) = 0.1192\times2 = 0.238 \]
3
Update A: \(h_A \leftarrow 1.0 + 0.881 + 0.238 = 2.119\).
B and C the same way, each with one message from A.
4
B: \(0.5 + 0.8808\times\text{ReLU}(0.25+1.0) = 0.5 + 1.101 = 1.601\)
C: \(1.5 + 0.1192\times\text{ReLU}(0.75+1.0) = 1.5 + 0.209 = 1.709\)

What happened

C says more (core 2.0) but sits far away, so A gives it a small gate: A listens mostly to its close neighbour. In a trained network the weights, and so this preference, are learned from data.

Derivation · readout (pooling) and permutation invariance

From atom features to one number for the crystal

1
Pool after T steps, then a small dense network:\[ \bar{\mathbf h} = \frac1n\sum_{i=1}^{n}\mathbf h_i, \qquad \hat y = \text{MLP}(\bar{\mathbf h}) \]
Our toy: \(\bar h = (2.119+1.601+1.709)/3 = 1.810\); with \(\hat y = -0.5\,\bar h\): −0.90 eV/atom.
2
Why the order cannot matter: each step uses the same weights for every atom and sums over neighbours, so renumbering only reorders the rows: \(H^{(T)} \to P H^{(T)}\) (equivariant). The pooled mean is then invariant, as in the primer.
Invariance is built in, not learned from examples.
3
Mean or sum? Supercell check: two copies of the toy graph.
sum: 5.429 → 10.858 (doubles) · mean: 1.810 → 1.810 (unchanged)
4
Rotation and translation: the model only sees distances, so both are invariant automatically.
Three symmetries from lecture 3, all exact.
targettypepooling
formation energy ΔHf (eV/atom), band gap Egintensive: per atommean
total energy of the cell (eV)extensive: grows with sizesum

Physical meaning

A crystal described by a cell twice as large is the same material: its per-atom energy and its band gap must not change, and its total energy must double. The pooling choice encodes this physics. Summing per-atom energies, E = Σ Ei, is the starting point of next week's interatomic potentials.

What the model learned · and where it stops

A GNN sees as far as its cutoff times its depth

steps Treach (Å)atoms heard (3-D)
12.827
25.6425
38.4663

What it learns

  • Element embeddings: starting vectors tuned in training; in MEGNet they reproduce periodic-table trends.
  • Distance filters: learned functions of d, one per channel.
  • Local environments: coordination, bond lengths, neighbour chemistry, up to T bonds away.

What it cannot capture

  • Anything beyond rc × T: long-range electrostatics, strain fields, unless added as inputs.
  • Anything not in the labels: trained on 0 K DFT, it predicts DFT at 0 K.
  • New chemistry: it extrapolates silently, with no error bar (lecture 4).
Invariance versus equivariance · scalars and vectors

Rotate the crystal: the energy stays, the forces turn

distancesenergy Eforce on atom 2
original1.200, 0.949, 1.2730.0585(−0.393, 0.193)
rotated 40°1.200, 0.949, 1.2730.0585(−0.425, −0.105)
1
Scalars are invariant: \(E(R\mathbf x) = E(\mathbf x)\) for any rotation R.
Energy, band gap, formation energy.
2
Vectors are equivariant: \(\mathbf F_i(R\mathbf x) = R\,\mathbf F_i(\mathbf x)\).
Forces, dipoles: they turn with the crystal. Check: R(−0.393, 0.193) = (−0.425, −0.105).
3
The trap: a network that sees only distances gives the same output after rotation. Fine for E, wrong for F.
Fix 1: predict E and take \(\mathbf F_i = -\nabla_{\mathbf x_i} E\) (forces then turn automatically). Fix 2, used on top of fix 1 by NequIP and MACE: equivariant layers that carry vectors, to describe directions better.

Physical meaning

The energy belongs to the arrangement of atoms, not to the way we look at it. A force has a direction in space, so it must turn with the atoms. F = −∇E inherits that turning automatically.

Beyond pair distances · MEGNet and ALIGNN

Adding a global state, and adding bond angles

MEGNet (Chen et al., 2019)

Updates three kinds of features in turn: bonds, atoms and a global state vector for the whole crystal (for example temperature or pressure). Trained on Materials Project energies, band gaps and elastic moduli.

ALIGNN (Choudhary and DeCost, 2021)

Builds a second graph, the line graph: every bond becomes a node, and two bonds that share an atom are joined by an edge carrying their angle. Messages alternate between the two graphs.

SchNet (Schütt et al., 2018): continuous distance filters, the same idea for molecules and crystals.

1
Bond angle at atom i between neighbours j and k:\[ \cos\theta_{jik} = \frac{\mathbf r_{ij}\cdot\mathbf r_{ik}}{|\mathbf r_{ij}|\,|\mathbf r_{ik}|} \]
Also invariant under rotation: a dot product of two vectors that turn together.
2
Tetrahedral (Si, diamond): bonds along (1, 1, 1) and (1, −1, −1):\[ \cos\theta = \frac{1-1-1}{\sqrt3\,\sqrt3} = -\frac13 \;\Rightarrow\; \theta = 109.47^\circ \]
3
Octahedral (rock salt): bonds along ±x, ±y, ±z: θ = 90° or 180°.
Same idea, very different bonding: angles make it explicit.
Materials example · about 10⁵ Materials Project structures

Formation energy and band gap from the crystal graph

formation energy ΔHfband gap Eg (PBE)
training dataseveral times 10⁴ (order 10⁵) DFT structures (Materials Project)
spread of the labelsorder of 1 eV/atom0 to about 8 eV, many metals at 0
GNN test MAE (CGCNN, MEGNet, ALIGNN family)about 0.02–0.04 eV/atomabout 0.2–0.4 eV
DFT versus experimentabout 0.1 eV/atomPBE 25–80 % too small (lecture 1)

Orders of magnitude and typical published values, rounded; exact numbers depend on dataset version and split.

Compared with a composition model

The same task from composition alone (lecture 3 features, or ElemNet from lecture 9) typically gives a larger error and, by construction, one answer for all polymorphs of a formula. The graph adds what composition lacks: the structure.

What the model learned

The GNN now reproduces DFT more closely than DFT reproduces experiment. It learned the DFT label, bias included (lectures 1 and 6). For new chemistry, a random split hides polymorph and family leakage (lecture 6): expect larger errors on a grouped split.

Speed

A DFT calculation: hours of computer time. A trained GNN: milliseconds per structure. Screening millions of hypothetical crystals becomes possible, as long as they resemble the training data.

Materials example · same composition, different structure

Diamond and graphite: one formula, two materials

A diamond crystal (left) and a graphite specimen (right)
Diamond (left) and graphite (right). Robert M. Lavinsky, CC BY-SA 3.0
diamondgraphite
neighbours within 2 Å4, at 1.54 Å (109.5°)3, at 1.42 Å (120°)
band gap5.47 eV0 (semimetal)
enthalpy above graphite+0.020 eV/atom0
1
Composition model: input "C" for both, so one prediction \(\hat y\). For any \(\hat y\) between 0 and 5.47 eV: \(\text{MAE} = \tfrac12\big(|\hat y - 5.47| + |\hat y - 0|\big) = 2.74\) eV.
No choice of weights can do better on this pair.
2
Graph model: 4 versus 3 edges, different distances and angles: two different inputs, so two different predictions are possible.
The structure is in the input.

Caution

The energy difference, 0.02 eV/atom (1.9 kJ/mol), is smaller than a typical GNN error of about 0.03 eV/atom. Seeing the structure is necessary, not sufficient, to rank close polymorphs.

Learning curves · how error falls with data

Error ∝ N−α is a straight line on log–log axes

training-set size N (structures, log scale) test MAE (eV/atom, log scale)
GNN + fitted power lawcomposition model

Simulated learning curves with shapes like published ones (seeded; 5 % scatter).

1
Assume a power law: \(\text{MAE} \approx c\,N^{-\alpha}\).
Each tenfold increase in data divides the error by the same factor, \(10^{\alpha}\).
2
Take log₁₀ of both sides:\[ \log \text{MAE} = \log c - \alpha \log N \]
A straight line with slope −α on log–log axes.
3
Fit the line by least squares (lecture 2): \(c = 1.30,\ \alpha = 0.32\).

What the curves tell us

Composition model: floor near 0.06 eV/atom (the structure it never sees); the GNN wins beyond about 8 000. The crossover is problem-dependent (about 500 in lecture 9): draw your own.

Worked problem 3 · by hand · reading a learning curve

How much more data to halve the error?

1
Read two points off the fitted GNN line: MAE = 0.143 eV/atom at N = 10³, and 0.033 eV/atom at N = 10⁵.
2
Slope:\[ \alpha = \frac{\log_{10}(0.143/0.033)}{\log_{10}(10^5/10^3)} = \frac{\log_{10} 4.33}{2} = \frac{0.637}{2} = 0.32 \]
The ratio of errors over the ratio of data sizes, both in logs.
3
Halve the error: we need a factor k in data with\[ c\,(kN)^{-\alpha} = \tfrac12\,c\,N^{-\alpha} \;\Rightarrow\; k^{\alpha} = 2 \;\Rightarrow\; k = 2^{1/\alpha} = 2^{3.13} \approx 8.7 \]
c and N cancel: the answer depends only on α.
4
Apply it: from 10⁵ to about 9 × 10⁵ structures, several times the whole Materials Project.
Diminishing returns: each halving costs about nine times more DFT.
\[ k = 2^{1/\alpha} \]
α = 0.5 → 4× data · α = 0.32 → 8.7× · α = 0.2 → 32×

Check and meaning

For comparison, the error of an average falls like N−1/2 (lecture 6): α = 0.5. Learning a whole function of structure is harder, so α is smaller. When data are the bottleneck, better labels, a better architecture or extra physics (bond angles, as in ALIGNN) may pay more than more of the same data.

Lab 11 · this week in Colab

A small crystal graph network in PyTorch

import torch, numpy as np; nn = torch.nn
from matminer.datasets import load_dataset
df = load_dataset("matbench_mp_e_form").sample(4000, random_state=0)
MU = np.arange(0, 5.0, 0.2)                 # Gaussian centres (Å)
def to_graph(s, rc=5.0):
    i, j, _, d = s.get_neighbor_list(rc)     # periodic images included
    e = np.exp(-((d[:, None] - MU) / 0.2) ** 2)
    z = torch.tensor([site.specie.Z for site in s])
    return z, torch.tensor(np.array([i, j])), torch.tensor(e).float()
class Conv(nn.Module):                      # one CGCNN step
    def __init__(self, F, E):
        super().__init__(); self.lin = nn.Linear(2 * F + E, 2 * F)
    def forward(self, h, ij, e):
        i, j = ij
        gate, core = self.lin(torch.cat([h[i], h[j], e], 1)).chunk(2, 1)
        m = torch.sigmoid(gate) * nn.functional.softplus(core)
        return h + torch.zeros_like(h).index_add(0, i, m)
emb, head = nn.Embedding(100, 64), nn.Linear(64, 1)
convs = nn.ModuleList([Conv(64, len(MU)) for _ in range(3)])
def predict(z, ij, e):
    h = emb(z)
    for conv in convs: h = conv(h, ij, e)
    return head(h.mean(0))                   # mean pooling: eV/atom

Exercises

  • Graphs of NaCl and diamond: count edges for rc = 3, 4, 5 Å; compare with today's shells.
  • Train with Adam (lecture 9); compare test MAE with a random forest on composition features (lecture 3).
  • Learning curve: N = 500 … 4000; fit α on log–log axes.
  • Shuffle sites, rotate, build a 2×2×2 supercell: what changes with mean and with sum pooling?

Colab, CPU only. Notebook and training loop posted with this lecture.

Answers to the why questions

The four puzzles, solved

1 · Renumbering changes nothing

Every step uses the same weights for every atom and sums over neighbours, so renumbering only reorders the atom features; the pooled mean is then unchanged. Invariance is built in, not learned.

2 · Diamond versus graphite

Both have the input "C", so a composition model gives one answer: at best an MAE of 2.74 eV on the pair. A graph sees 4 versus 3 neighbours at different distances and angles.

3 · Forces turn, energies do not

Energy is a scalar: invariant. Forces are vectors: F(Rx) = R F(x). A distance-only network cannot turn its output; take F = −∇E, and add equivariant layers to describe directions better.

4 · Lose small, win big

A GNN learns its features, so it needs data; its error keeps falling as N−α. A composition model learns fast but stops at the structure floor. In our curves they cross near 8 000 structures.

Check your understanding · click a card to reveal

Concept check

Q1. You double the cutoff from 4 Å to 8 Å in rock salt. What happens to the number of edges per Na, and why?
It grows from 18 to 92, about five times; for large cutoffs the count approaches the sphere-volume factor 2³ = 8. Cost grows too; more message-passing steps are a cheaper way to see farther.
Q2. A formation-energy GNN (eV/atom) uses sum pooling. You feed it a 2×2×2 supercell of a training crystal. What goes wrong?
The sum grows 8 times, so the prediction changes for the same material. Per-atom (intensive) targets need mean pooling.
Q3. A model outputs a force for each atom from its invariant feature vector. You rotate the crystal by 90°. What happens?
The features do not change, so the forces do not turn: wrong. Predict E and take F = −∇E, or use equivariant layers.
Q4. Your GNN scores 0.03 eV/atom on a random split, but 0.12 eV/atom on a new chemical family. Why?
The random split leaks polymorphs and close relatives (lecture 6); the new family is extrapolation. Report a grouped split.
Wrap-up

Summary and next lecture

1
Crystal graph: atoms as nodes, neighbours within a cutoff as edges, periodic images included, distances expanded in Gaussians.
2
Message passing: gate × core, summed over edges, added to the atom; T steps see T bonds away.
3
Readout: mean for per-atom targets, sum for extensive ones; permutation, rotation and translation invariance are built in.
4
Scalars are invariant, vectors equivariant. MEGNet adds a global state, ALIGNN adds bond angles.
5
On ~10⁵ structures a GNN reaches about 0.02–0.04 eV/atom, below the DFT–experiment gap; error ∝ N−α, so data needs grow fast.

This week

Lab 11: a crystal graph network in PyTorch. Problem set 3 (weeks 9–10) is due this week; problem set 4 (weeks 11–12) is due in week 13. Project progress check next week.

Next lecture · Machine-learned interatomic potentials

From one energy per crystal to energies and forces for every configuration: F = −∇E derived, locality E = Σ Ei, equivariant and universal potentials, and molecular dynamics that measures diffusion in a solid electrolyte.

References and image credits

Further reading

Reading for this week

  • C. M. Bishop, H. Bishop, Deep Learning: Foundations and Concepts, Springer (2024): chapter on graph neural networks.
  • K. P. Murphy, Probabilistic Machine Learning: An Introduction, MIT Press (2022): sections on graph embeddings and graph neural networks.
  • T. Xie, J. C. Grossman, "Crystal graph convolutional neural networks for an accurate and interpretable prediction of material properties," Phys. Rev. Lett. 120, 145301 (2018).
  • C. Chen, W. Ye, Y. Zuo, C. Zheng, S. P. Ong, "Graph networks as a universal machine learning framework for molecules and crystals," Chem. Mater. 31, 3564 (2019).
  • K. Choudhary, B. DeCost, "Atomistic line graph neural network for improved materials property predictions," npj Comput. Mater. 7, 185 (2021).
  • K. T. Schütt et al., "SchNet – A deep learning architecture for molecules and materials," J. Chem. Phys. 148, 241722 (2018).
  • J. Gilmer et al., "Neural message passing for quantum chemistry," Proc. ICML (2017).
  • S. Kirklin et al., "The Open Quantum Materials Database (OQMD): assessing the accuracy of DFT formation energies," npj Comput. Mater. 1, 15010 (2015).
  • A. Jain et al., "The Materials Project," APL Mater. 1, 011002 (2013).

Image credits (Wikimedia Commons)

  • Halite from Fayum, Egypt (BYU mineral collection): photograph by Andrew Silver, public domain — File page
  • Diamond and graphite: Robert M. Lavinsky, CC BY-SA 3.0 — File page

All schematics and plots were drawn for this course. Rock-salt shells use a = 5.64 Å. The three-atom message-passing graph and the spring model are toy examples; the learning curves are simulated (seeded; script posted with Lab 11). Materials Project error levels are typical published values, rounded, given as orders of magnitude. Diamond–graphite enthalpy 1.9 kJ/mol; diamond band gap 5.47 eV.