Twisted 2D Multilayers
A public website for building twisted multilayer 2D materials and viewing their electronic band structures, predicted by a machine-learned Hamiltonian and compared with DFT. This guide shows how to use each page in a few minutes.
Three pages
Overview
What the project does, headline numbers, accuracy against DFT, methods and team.
Structure builder
Build a twisted stack of any 2D materials, inspect it, download it, and see its band structure.
Band structures
130 twisted stacks with ML-predicted bands drawn over the DFT reference.
The site runs in any modern browser with nothing to install. The 3D view needs WebGL; without it the top and side views still work.
See a result right away
- Open Structure builder. It opens on an MoS₂ trilayer twisted by 21.79°, already built.
- Drag to rotate the structure (right or Shift drag to move it, wheel to zoom). Top view and Side view turn it to look down c or from the side; the a, b, c axes in the corner turn it too, and clicking a, b or c looks along that axis.
- In the right-hand panel, under Band structure (ML prediction), click Show band structure.
- Open Band structures in the top menu to see the same stack with the DFT bands for comparison.
Build a twisted stack
- Pick a material under Material (all layers). The list has common layers (graphene, hBN, MoS₂, WSe₂ …); choose Search 2D database… to search about 29,900 monolayers from JARVIS-DFT, 2DMatPedia, Materials Cloud MC2D and Alexandria.
- Set the number of layers (2–10) and a twist pattern: alternating (0, θ, 0, θ …), helical (0, θ, 2θ …), a twisted double stack, only the top layer twisted, or all aligned.
- Set the twist angle θ. Choose fixed for one angle, or search to let the builder find the best commensurate angle in a range.
- For a heterostructure, change the material in any row of the Layers table; the top selector then reads "Mixed". Each row can also have its own angle.
- Click Generate structure. Building takes about a second.
What you get
- The supercell in 3D, top and side views, coloured by layer or by element.
- Atom count, strain needed to make the layers commensurate, and cell size. The builder picks the smallest cell with every layer within 0.5 % strain and 0.05° of its twist angle (both adjustable in Advanced settings); “Cell options” lists smaller or less strained alternatives, with one click to use one.
- The point and space group, and which optical responses symmetry allows (e.g. second-harmonic generation, optical activity).
- Downloads: POSCAR, CIF, XSF, extended XYZ; images as PNG or SVG.
- Copy share link saves the whole stack in a link.
See the electronic bands
- Precomputed stacks. 130 twisted stacks (85 materials; bilayers, alternating trilayers and double bilayers, 9.4°–50.6°) have ML bands ready. Pick one from the Example menu or the band-library list in the right panel; once it is built, click Show band structure.
- Your own stack. A stack that is not in the library shows Predict band structure: the ML model computes its bands on our GPU, usually within a minute (longer when busy).
- Compare with DFT on the Band structures page: pick a stack in the gallery; the ML bands are drawn over the DFT bands with the band error in meV. Some stacks also show bands with spin–orbit coupling.
How to read the plot
- Energies are measured from the top of the valence band (0 eV); the shaded strip is the predicted band gap.
- The path runs through the high-symmetry points of the supercell's Brillouin zone (Γ, M, K). Moiré bands are folded into it.
- The plot exports as SVG; the numbers as JSON.
When no band structure can be computed
The builder checks every stack before anything runs. If a limit applies, the right panel says "No band structure can be computed for this system" and gives the reason.
| Limit | Why | What to do |
|---|---|---|
| At most 400 atoms | Larger cells need more memory and time than one GPU slot allows | Use a larger twist angle or fewer layers |
| Memory of very dense cells | Some light-element stacks (e.g. graphene trilayers) need more memory than their atom count suggests | Use a larger twist angle or fewer layers |
| Twist of at least 9° between neighbouring layers | Small twists give cells with thousands of atoms | Use one of the precomputed stacks |
| 64 supported elements | The ML model covers the elements of its training data (e.g. not Ce or other lanthanides) | Choose a material with covered elements |
| 5 live predictions per visitor per day | One shared GPU serves all visitors | Precomputed stacks are unlimited |
For an unusual structure the model may answer "No prediction for this structure". This is deliberate: a built-in check refuses inputs too far from what the model was trained on, rather than showing unreliable bands. All predictions are non-magnetic and, unless marked, without spin–orbit coupling.
Acknowledgement
Yan group, Department of Physics, Northeastern University (PI: Prof. Qimin Yan). Supported by the U.S. National Science Foundation through the DMREF program, project "DMREF: Deep learning guided twistronics for self-assembled quantum optoelectronics". Supercells are built with a patched copy of supercell-core; please cite the source database of any monolayer you use.
Guide for the website as of November 2026. Results are updated as the training data grows.