Introduction

Twisted bilayer graphene (TBG) is a unique structure formed by stacking two graphene layers with a controlled interlayer distance and rotational mismatch, resulting in a compelling interplay between electronic and geometric effects. At specific magic twist angles, the TBG lattice produces large moiré patterns, giving rise to strongly correlated phenomena such as unconventional Mott insulating, Chern insulating, and superconducting phases1,2,3,4,5,6. These exotic behaviors arise from nearly flat electronic bands with vanishing group velocity at the Fermi level, as predicted by numerous theoretical studies7,8,9,10,11,12,13,14,15,16 and confirmed by experimental observations17,18,19,20,21,22,23,24,25.

The discovery of magic-angle (MA) TBG has further broadened the already rich field of van der Waals (VdW) heterostructures26, introducing the interlayer twist angle θ as an additional degree of freedom in their assembly. This breakthrough facilitates the on-demand tuning of the electronic, mechanical, and thermal properties of two-dimensional (2D) materials via VdW interactions, while significantly advancing the rapidly evolving field of twistronics27,28. However, θ is not the only geometric parameter that regulates the formation of quasi-flat bands. The interlayer distance d also plays a pivotal role, as vertical pressures in the gigapascal range can induce weakly dispersive electronic states in non-MATBG systems29,30,31,32,33.

In the simplest picture7,8,9, the emergence of quasi-flat bands stems from the interplay of two energy scales. One is determined by θ and involves the electronic states over the moiré superlattice sites. The other arises from the coupling between the lattice sites of the TBG layers and is dependent on d. The characteristic features of MATBG, however, are typically observed at small twist angles (θ ~ 1.1°), requiring supercells of large sizes (~104 atoms). This requirement presents substantial challenges for accurate modeling due to the significant computational resources required34.

On these premises, we here investigate the existence of an infinite set of crystal (and potentially quasi-crystal) structures, defined by various values of θ corresponding to precise values of d, all of which belong to an equivalence class with MATBG as a representative member. The mapping between the elements of this class enables a detailed exploration of the MA quasi-flat-band physics, focusing on identifying the most suitable geometry within the class for atomistic simulations. While other mappings have been developed to effectively reduce the unit cell size of a TBG moiré crystal35,36,37,38,39,40,41, they are typically derived by operating on the free parameters of specific model approaches. In contrast, our formulation is based on two experimentally observable quantities, such as interlayer distance and/or twist angle, making it independent of the underlying theory.

Results

The equivalence class of MATBG

The continuum model (CM) provides a foundational approach for analyzing and predicting the emergence of quasi-flat bands in TBG with a stacking angle θ > 0. As detailed in Supplementary Section I, this behavior originates from the Bistritzer-MacDonald (BM) Hamiltonian7,8,9:

$${\mathcal{H}}=\hslash {k}_{\theta }{{\rm{v}}}_{{\rm{F}}}{\tilde{{\mathcal{H}}}}_{0}+\omega {\tilde{{\mathcal{H}}}}_{{\rm{T}}}=\hslash {k}_{\theta }{{\rm{v}}}_{{\rm{F}}}\left({\tilde{{\mathcal{H}}}}_{0}+\gamma {\tilde{{\mathcal{H}}}}_{{\rm{T}}}\right),$$
(1)

which introduces two characteristic energies. The first one, kθvF, is the single-layer-graphene quasiparticle energy at the characteristic momentum kθ, which establishes the energy scale of the dimensionless unperturbed Hamiltonian \({\tilde{{\mathcal{H}}}}_{0}\). This term describes the uncoupled graphene layers, whose equivalent Dirac cones exhibit a Fermi velocity vF and are separated by the wave vector \({k}_{\theta }=2{K}_{{\rm{D}}}\sin (\theta /2)\), where KD represents the distance from the center to a corner of the hexagonal first Brillouin zone (1stBZ) of graphene. The second is the interlayer hopping energy, ω = kθvFγ7,8,9,10, which is assumed to depend only on the interlayer spacing d and not on the specific atomic stacking within the moiré unit cell41,42,43,44,45. This energy scale determines the strength of the dimensionless interlayer potential \({\tilde{{\mathcal{H}}}}_{{\rm{T}}}\). The distinctive feature of the BM Hamiltonian is that the underlying physics of the system is governed by a single dimensionless parameter, γ, apart from an overall energy scaling factor. This formulation implies that varying ω and θ while keeping γ fixed does not alter the eigenstates of \({\mathcal{H}}\). The corresponding eigenvalues are either expanded or compressed by a factor of kθvF. Numerical calculations reveal the emergence of quasi-flat energy bands with vanishing Fermi velocity for appropriate choices of γ and ω. Specifically, γ = γMA = 3−1/2 and ω = ωMA = 0.11 eV correspond to a sequence of MAs with a maximum value of θMA ~ 1.05°7,8,9.

Let us now denote by \({{\mathcal{O}}}_{{\rm{BM}}}\) the set of all Hamiltonians of the BM type, given by Eq. (1) and depending on ω and θ. Consider two generic elements \({{\mathcal{H}}}_{1}={\mathcal{H}}({\omega }_{1},{\theta }_{1})\) and \({{\mathcal{H}}}_{2}={\mathcal{H}}({\omega }_{2},{\theta }_{2})\) in \({{\mathcal{O}}}_{{\rm{BM}}}\). We may introduce the equivalence relation:

$${{\mathcal{H}}}_{1}\,\, {\mathop{\sim}\limits_\gamma} \,\,{{\mathcal{H}}}_{2}\ \iff \ \frac{{\omega }_{1}}{\hslash {k}_{{\theta }_{1}}{{\rm{v}}}_{{\rm{F}}}}=\frac{{\omega }_{2}}{\hslash {k}_{{\theta }_{2}}{{\rm{v}}}_{{\rm{F}}}}=\gamma$$
(2)

which partitions \({{\mathcal{O}}}_{{\rm{BM}}}\) into equivalence classes of the form:

$${[{\mathcal{H}}]}_{\gamma }\equiv \{{\mathcal{H}}\in {{\mathcal{O}}}_{{\rm{BM}}}:{{\mathcal{H}}}_{\gamma}\mathop{\sim}\limits_\gamma {\mathcal{H}}\},$$
(3)

where \({{\mathcal{H}}}_{\gamma }\) serves as a representative of the γ class. If \({{\mathcal{H}}}_{1}\) and \({{\mathcal{H}}}_{2}\) belong to \({[{\mathcal{H}}]}_{\gamma }\), they share the same eigenstates and exhibit homothetic spectra, which differ only by a scaling factor. In particular, the spectrum of \({{\mathcal{H}}}_{1}\) is obtained from the spectrum of \({{\mathcal{H}}}_{2}\) by multiplication with:

$${s}_{2}^{1}=\frac{{k}_{{\theta }_{1}}}{{k}_{{\theta }_{2}}}=\frac{\sin ({\theta }_{1}/2)}{\sin ({\theta }_{2}/2)}.$$
(4)

Among the various γ classes in \({{\mathcal{O}}}_{{\rm{BM}}}\), we can identify a distinct equivalence class, denoted by γ = γMA, whose representative element corresponds to one of the previously described MA Hamiltonians, such as the one characterized by ω = ωMA and θ = θMA. Consequently, all Hamiltonians within \({[{\mathcal{H}}]}_{{\gamma }_{{\rm{MA}}}}\) exhibit the same number of energy bands with vanishing group velocity at the Fermi level. We recall that the interlayer coupling decreases as the interlayer distance d increases. This observation motivates the assumption of a bijective function F(d) that relates the hopping energy to the interlayer distance:

$$\omega (d)={\omega }_{0}F(d),$$
(5)

where F(d0) = 1 at a reference value d0, ensuring ω0 = ω(d0). Let us consider the equivalence class γ, represented by a twist angle θ0 at the interlayer distance d0. By the defining relation (2) and the bijectivity of F, there exists a unique interlayer distance:

$${d}_{\gamma }(\theta )={F}^{-1}\left(\frac{\omega }{{\omega }_{0}}\right)={F}^{-1}\left(\frac{{k}_{\theta }}{{k}_{{\theta }_{0}}}\right),$$
(6)

for any other twist angle θ, which corresponds to a BM Hamiltonian within the same equivalence class. Let us now return our focus to the equivalence class of MATBG, represented by the Hamiltonian \({{\mathcal{H}}}_{{\gamma }_{{\rm{MA}}}}\) with geometric parameters θMA and ωMA. We may set θ0 = θMA and associate ωMA with the nominal interlayer distance d0 = 3.349 Å, characteristic of bilayer graphene or graphite. For any twist angle θ, we can then determine the corresponding magic interlayer distance \({d}_{{\gamma }_{{\rm{MA}}}}(\theta )\). These two parameters together define a BM Hamiltonian within \({[{\mathcal{H}}]}_{{\gamma }_{{\rm{MA}}}}\), which hosts the same number of bands with vanishing Fermi velocity as the MATBG Hamiltonian.

The construction presented thus far is valid at the CM level, whose limits are outlined in Supplementary Section II. Relaxation effects can be straightforwardly incorporated into the framework by redefining the hopping energy ω in Eq. (1), as also discussed in Supplementary Section I. Nonetheless, d and θ remain the two experimentally tunable geometric parameters that uniquely determine the configuration of a TBG structure, up to symmetry operations. For this reason, it should always be feasible to construct an equivalence class for the electronic states near the Fermi level, regardless of the defining model. This conjecture leads to two notable consequences. (i) In experiments involving TBG samples at small twist angles, a group of quasi-flat bands at the Fermi level should emerge through the application and tuning of external pressure, as confirmed by previous studies29,30,31,32,33. These compressed bands would realize a mapping of the MA quasi-flat bands, enabling an experimental validation of the equivalence relation defined above. (ii) A comprehensive characterization of the flat-band physics of MATBG can be achieved using an equivalent TBG system with a twist angle larger than the MA. Such a system contains fewer atoms per unit cell, making it computationally less demanding while preserving the same features as MATBG on an expanded energy scale.

Magic distances and equivalent band structures in the tight binding formalism

Our next objective is to numerically assess the existence of an equivalence class for MATBG and establish a suitable functional form for Eqs. (5) and (6). As a validation tool, we employ a tight binding (TB) approach grounded in a quadratic Hamiltonian, featuring diagonal on-site energies and off-diagonal inter-site hopping potential matrix elements. This framework enables a systematic examination of the electronic properties of TBG structures across varying values of θ and d. The TB calculations were carried out using the TBPLas package46, which employs the Slater-Koster (SK) formalism47,48,49, as detailed in the Methods section. We specifically selected TBG geometries where the mismatch angle between the two graphene layers results in commensurate arrangements50,51. In this scenario and using AA-stacked bilayer graphene as a starting point, the twist angle is given by:

$$\cos ({\theta }_{m})=\frac{3{m}^{2}+3m+1/2}{3{m}^{2}+3m+1},$$
(7)

where m is an integer. Applying the SK parameterization at the equilibrium interlayer distance d0 = 3.349 Å52, the TB Hamiltonian produces four nearly flat bands with vanishing Fermi velocity at θ31 = 1.050°. This is illustrated in Fig. 1a, which shows the band structure of MATBG (red lines) along the \(\tilde{\Gamma }\tilde{K}\tilde{M}\tilde{\Gamma }\) borders of the irreducible 1stBZ of the corresponding moiré lattice (see also Supplementary Fig. 1 in Supplementary Section I).

Fig. 1: Magic band structure and localization at the TB level.
figure 1

TB band structures of TBG lattices with geometric parameters: (a) θ31 = 1.050°-d31 = 3.349 Å (representing the MA condition), (b) θ9 = 3.481°-d9 = 2.7329 Å (green dashed lines), and θ11 = 2.876°-d11 = 2.8304 Å (blue lines). c Compressed band structures from (b), scaled by factors of \({s}_{9}^{31}=0.3017\) (green dashed lines) and \({s}_{11}^{31}=0.3652\) (blue lines), superimposed onto the MATBG bands (red lines) from (a). The three plots coincide in the ± 20 meV energy range, highlighted by the shaded region. All band dispersions are plotted along the \(\tilde{\Gamma }\tilde{K}\tilde{M}\tilde{\Gamma }\) path with the Fermi energy set to zero. df Projected local density near the Fermi level for (d) MATBG (red spots), (e) TBG with θ9-d9 (green spots), and (f) TBG with θ11-d11 (blue spots). The in-plane coordinates are given in both nm and moiré lattice units (mlu). The black parallelogram represents the moiré unit cell of the respective TBG system.

The subsequent step is to construct the MATBG equivalence class for the TB method. To this end, we adjusted the d parameter to various interlayer distances while keeping the twist angle θm fixed. During the process, we searched for the band structure with nearly non-dispersive states at the Fermi level that most closely resemble the MA bands when scaled by the factor \({s}_{m}^{31}\), cf. Eq. (4). For each tested θm, we identified a well-converged magic distance dm that satisfies this criterion. To explicitly illustrate the procedure, we discuss the results for two twist angles greater than θ31, namely, θ9 = 3.481° and θ11 = 2.876°. The search returned the magic distances d9 = 2.7329 Å for θ9 and d11 = 2.8304 Å for θ11. Figure 1b presents the band structures corresponding to θ9-d9 (dashed green lines) and θ11-d11 (blue lines), which appear to differ merely by an overall scaling factor. Furthermore, the MATBG spectrum in Fig. 1a (red lines) bears a striking resemblance to the TBG spectra in Fig. 1b, although on a different energy scale. We then applied the scaling factors \({s}_{9}^{31}={k}_{{\theta }_{31}}/{k}_{{\theta }_{9}}=0.3017\) and \({s}_{11}^{31}={k}_{{\theta }_{31}}/{k}_{{\theta }_{11}}=0.3652\) to the band systems from Fig. 1b and compared them with the MATBG bands from Fig. 1a. The scaled dispersions from the two non-MATBG structures practically coincide with the MATBG dispersions in their low-energy regions, within ~0.04 eV around the Fermi level, as shown in Fig. 1c.

Strictly speaking, the equivalence class γMA is well-defined within this energy range, which establishes the limits of validity for the CM. Nonetheless, we propose extending the definition (2) to the TB level, asserting that two TB Hamiltonians are equivalent if their energy spectra differ only by an overall scaling factor in the CM limit. In this context, the low-energy bands corresponding to θ9-d9 and θ11-d11 are effectively mapped onto the MATBG quasi-flat bands. To fully validate this relation, it is also necessary to confirm that the spatial distributions of the band states for the three equivalent TBG configurations exhibit closely similar profiles within the CM range. To this end, we employed the TB propagation method46 to investigate the local electronic densities of the TBG systems, projected onto the quasi-flat-band range characteristic of MATBG. Figure 1d-f reveal that these densities are strongly localized around the AA stacking regions and rapidly vanish near the AB stacking regions. This result aligns with previous studies20,21,22,23 and, more importantly, confirms that the eigenstates corresponding to the quasi-flat bands within the same equivalence class exhibit highly similar profiles and identical localization properties.

To complete the picture, we applied the equivalence mapping procedure to a series of TBG systems with twist angles ranging from θ31 = 1.050° to θ5 = 6.009°. Figure 2 displays the interlayer magic distances dm, at which nearly non-dispersive bands with identical localization properties were obtained, as a function of θm, for m = 5-31 (blue circled points). The plot reveals an inverse correlation between θm and dm: as the twist angle increases, the corresponding magic distance decreases. This behavior suggests that realizing magic conditions at a twist angle greater than the original magic angle requires a reduced interlayer spacing, which enhances the interlayer coupling. Such an effect can be experimentally achieved through applied external pressure. In the TB framework, a reduction in interlayer spacing corresponds to increasing the interlayer hopping amplitudes, consistent with enhanced overlap between the atomic wavefunctions of the two graphene layers. Given the characteristic exponential decay of the electronic density in the out-of-plane direction for 2D materials, it is reasonable to assume a similar dependence of the interlayer hopping terms. Accordingly, we adopt an exponential scaling law for the function F(d) in Eq. (5), which means setting:

$$\omega (d)={\omega }_{0}F(d)={\omega }_{0}{e}^{-\beta (d-{d}_{0})},\quad d\le {d}_{0}.$$
(8)

Here d0 = d31 = 3.349 Å, θ0 = θ31 = 1.05°, and ω0 = ωMA = 0.11 eV serve as reference values, while the inverse damping length β governs the attenuation of ω(d). Operating within the equivalence class of MATBG we impose the condition:

$$\frac{\omega ({d}_{{\rm{MA}}})}{\hslash {k}_{\theta }{{\rm{v}}}_{{\rm{F}}}}=\frac{{\omega }_{{\rm{MA}}}}{\hslash {k}_{{\theta }_{0}}{{\rm{v}}}_{{\rm{F}}}},$$
(9)

to establish a direct relation between the TB magic distances dMA and the commensurate twist angles θ. This analysis yields the function:

$${d}_{{\rm{MA}}}(\theta )={d}_{0}-\frac{1}{\beta }\ln \left[\frac{\sin (\theta /2)}{\sin ({\theta }_{0}/2)}\right],$$
(10)

which we fitted to the θm-dm data, to determine the optimal value of β = 1.957Å−1. The resulting fit, represented by the red dashed line in Fig. 2, offers an excellent approximation to the bijective function proposed in Eq. (6).

Fig. 2: TB magic distance dMA vs twist angle θ.
figure 2

TB magic distance dMA vs twist angle θ. The blue circled points label the θm-dm data obtained via the TB method, with the top horizontal axis indicating m = 5-31, cf. Eq. (7). The red dashed line corresponds to the function in Eq. (10), with the best-fit parameter β = 1.957 Å−1.

The procedure outlined above can be extended to generate all equivalence classes defined in Eq. (2). In Supplementary Section III this is exemplified through the class whose representative element is a TBG structure with θ15 = 2.135° and the nominal interlayer distance d0 = 3.345 Å. We have thus presented strong evidence that the MA condition corresponds to a well-defined equivalence class at the TB level. This supports our initial observation that the equivalence class of MATBG can be fully constructed by modifying the model-independent parameters θ and d, as further detailed in Supplementary Section IV.

We conclude this section observing that many TB calculations of TGB structures explicitly incorporate structural relaxation effects34,53,54. In principle, the equivalence class approach outlined above within a TB framework could be extended to account for out-of-plane corrugation. In this generalized scenario a given twist angle would be associated with both a magic interlayer distance and at least one corresponding magic corrugation amplitude. Such an extension would also require a careful re-definition of the out-of-plane hopping term Vppσ in Eq. (12). A detailed discussion of the role of corrugation within the equivalence class framework, as well as the impact of a model corrugation55 on the quasi-flat bands at the TB level are provided in Supplementary Section V. In contrast, in-plane reconstruction effects, which are also expected when full relaxation of TBG structure are carried out34,53,54, cannot be readily incorporated, as they simultaneously affect both the in-plane and the out-of-plane TB hopping amplitudes. Nonetheless, the core message of our study remains unaffected: geometric tuning provides a practical and general route to achieving magic-angle-like conditions at larger twist angles, thereby enabling ab initio methods, as demonstrated below using density functional theory (DFT).

Equivalence-class approach and DFT

The BM model finds formal justification at the DFT level56. It is therefore reasonable to utilize the equivalence-class concept within this ab initio framework to establish a connection between the near-Fermi-energy features of TBG systems and the MA condition. To this end, we carried out state-of-the-art DFT calculations of TBG structures using the Perdew-Burke-Ernzerhof (PBE) exchange-correlation functional57 and the Projector Augmented Wave method58, as implemented in the Quantum Espresso package59,60.

To ensure computational feasibility, we focussed on commensurate lattices with twist angles θ5 = 6.009°, θ6 = 5.086°, θ7 = 4.408°, θ8 = 3.890°, and θ9 = 3.481°. These angles were selected as they are considerably larger than the MA while remaining within the range of validity of our scaling procedure established at the TB level. The corresponding configurations required ground-state calculations involving 364, 508, 676, 838, and 1084 atoms per unit cell, respectively. We opted against directly evaluating the electronic properties of MATBG due to the very large size of its unit cell. Indeed, the twist angle θ31, which satisfies the MA condition at the equilibrium interlayer distance d0 within the TB approach, results in a commensurate TBG lattice containing 11908 atoms per unit cell. Such a system renders DFT-based band-structure calculations highly demanding, significantly constraining the achievable accuracy even with advanced high-performance computing resources34. Moreover, it is not guaranteed that the MA condition holds precisely at θ31 within the DFT-PBE framework.

With the objective of identifying four non-dispersive bands at the Fermi level under the MA mapping, we conducted a series of self-consistent ground-state calculations, where the interlayer distance d was systematically varied, and the total bandwidth (BW) of the Kohn-Sham (KS) states nearest to the Fermi level was monitored throughout. It is worth mentioning that this particular way of searching for magic-like conditions is not unique. In principle, one could instead minimize the group velocity, vG, or maximize the effective masses, m*, of the bands close to the Fermi level. In practice, however, the evaluation of vG or m* requires a very dense Brillouoin Zone sampling, which dramatically increases the computational cost, and can be, in general, very challenging in systems like TBG, characterized by huge moiré unit cells61. Figure 3 illustrates the different BWs corresponding to the selected twist angles as functions of d. Each BW curve exhibits a distinct minimum, which we designate as the DFT magic distance. Beyond this point, the BW increases sharply with larger d values and rises more gradually at smaller d values.

Fig. 3: Quasi-flat-band width vs interlayer distance.
figure 3

Total BW of the four bands closest to the Fermi level vs. interlayer separation d, obtained from our DFT calculations for commensurate TBG systems with twist angles from θ5 to θ9, cf. Eq. (7). The top horizontal axis indicates the applied pressure required to achieve each value of d, as obtained from the DFT calculated forces acting on the atoms71.

Notably, for the twist angles θ6 to θ9 the BW takes on very small values, on the order of a few tens of meV, across a relatively broad range of interlayer distances, approximately of 0.2–0.4 Å. Within this minimum region any value of d presents magic-angle-like conditions for the four bands closest to the Fermi level. In contrast, while the BW at θ5 still exhibits a clear minimum, its overall shape differs noticeably from other BW curves. Figure 3 also reveals two key trends as the selected twist angle decreases. (i) The minimum BW shifts to occur at increasingly larger interlayer distances, corresponding to decreasingly lower applied pressures, as indicated on the top horizontal axis. (ii) The minimum BW progressively decreases, with values at twist angles θ8 and θ9 dropping well below 30 meV, which is roughly the expected BW predicted by earlier DFT calculations on MATBG34. These results are consistent with the expectation that, as the twist angle approaches the MA under equilibrium interlayer distance and zero applied pressure, the BW should ideally reach its minimum possible value.

A refined search within the region of minimum BW identified the magic distances \({\tilde{d}}_{6}=2.497\) Å, \({\tilde{d}}_{7}=2.587\) Å, \({\tilde{d}}_{8}=2.665\) Å, and \({\tilde{d}}_{9}=2.733\) Å, associated to the twist angles θ6 through θ9, respectively. At these interlayer separations, the four bands closest to the Fermi level exhibit minimal dispersion, categorizing them as quasi-flat bands. Figure 4a–h display these quasi-flat bands, coexisting with other dispersive bands within the same energy range, along the \(\tilde{\Gamma }\tilde{K}\tilde{M}\tilde{\Gamma }\) path, highlighting the following recurring features for TBG lattices with geometric parameters from θ7-\({\tilde{d}}_{7}\) to θ9-\({\tilde{d}}_{9}\).

Fig. 4: Magic band structure and localization at the DFT level.
figure 4

ah DFT band energies (left vertical axis) and (eh) compressed band energies (right vertical axis) along the \(\tilde{\Gamma }\tilde{K}\tilde{M}\tilde{\Gamma }\) path for TBG lattices with geometric parameters: (a), (e) θ6 = 5.086°-\({\tilde{d}}_{6}=2.497\) Å, (b), (f) θ7 = 4.408°-\({\tilde{d}}_{7}=2.587\) Å, (c), (g) θ8 = 3.890°-\({\tilde{d}}_{8}=2.665\) Å, and (d), (h) θ9 = 3.481°-\({\tilde{d}}_{9}=2.733\) Å, corresponding to the scaling factors: (e) \({s}_{6}^{31}=0.2065\), (f) \({s}_{7}^{31}=0.2383\), (g) \({s}_{8}^{31}=0.2700\), and (h) \({s}_{9}^{31}=0.3017\). The Fermi energy is set to zero. The four quasi-flat bands used to evaluate the BW in Fig. 3 are highlighted in color, while other dispersive bands are shown in gray. ik Projected local density of states corresponding to the quasi-flat bands in (ac), respectively. The in-plane coordinates are given in both nm and mlu, with the black parallelogram denoting the moiré unit cell of the respective TBG system, as in Fig. 1d–f.

(i) There is a marked difference in the dispersion of the upper and lower quasi-flat bands. The two highest quasi-flat bands display similar dispersions near the \(\tilde{\Gamma }\) point, forming a peak above the Fermi level. They overlap along \(\tilde{K}\tilde{\Gamma }\) and \(\tilde{M}\tilde{K}\) but remain distinct along \(\tilde{\Gamma }\tilde{M}\). The two lowest quasi-flat bands also show broad maxima at \(\tilde{\Gamma }\) and approach degeneracy along \(\tilde{K}\tilde{\Gamma }\) and \(\tilde{M}\tilde{K}\), with minor differences persisting along \(\tilde{\Gamma }\tilde{M}\). Such asymmetry is not found at the TB level.

(ii) A set of parabolic dispersive bands crosses the Fermi level and converges at a single maximum at \(\tilde{\Gamma }\), where they touch the quasi-flat bands. Another set of parabolic-like states lies above the quasi-flat bands, with a common minimum at \(\tilde{\Gamma }\) that ranges from approximately ~ 120 meV for θ6-\({\tilde{d}}_{6}\) to ~70 meV for θ9-\({\tilde{d}}_{9}\).

(iii) The dispersive bands in the wide-range plots in Fig. 4a-d show strong similarities with one another (they roughly differ by a scaling factor). Remarkably, they closely resemble the dispersive bands obtained in the TB calculations (cf. Fig. 1a-c) with the important distinction of a gap opening between the quasi-flat bands and the dispersive bands above the Fermi level.

(iv) The band structure for the geometric parameters θ6-\({\tilde{d}}_{6}\), shown in Fig. 4e, exhibits notable differences compared to those in Fig. 4b-d. Moreover, although not explicitly presented here, the band dispersion for TBG with a twist angle θ5 and an interlayer distance of \({\tilde{d}}_{5}=2.4170\)Å, corresponding to the minimum of the associated BW curve in Fig. 3, displays markedly distinct characteristics, seemingly uncorrelated with the other cases. This observation aligns with the detection of a wide BW for θ5 at the TB level, indicating that θ ~ 6° exceeds the upper limit of applicability for our mapping procedure.

As another analogy to the TB-based derivation of the MATBG equivalence class, Fig. 4e-g present the local electron density projected onto the four quasi-flat bands for the cases θ6-\({\tilde{d}}_{6}\), θ7-\({\tilde{d}}_{7}\), and θ8-\({\tilde{d}}_{8}\). Consistent with the analysis in Fig. 1, these spatial distributions demonstrate that the quasi-flat-band states are strongly localized within the AA stacking regions, characterized by pronounced density peaks, whereas the AB stacking regions exhibit density minima.

Thus, the TBG lattices analyzed here using DFT exhibit notable similarities to MATBG, as discussed at the TB level. All these systems are characterized by four nearly flat bands around the Fermi level, with electrons predominantly localized within the AA stacking regions of the moiré lattice. While precise scaling factors for transforming one set of quasi-flat bands into another remain unavailable at the DFT level, applying the scaling factors \({s}_{6}^{31}=0.2065\), \({s}_{7}^{31}=0.2383\), \({s}_{8}^{31}=0.2700\), and \({s}_{9}^{31}=0.3017\) from Eq. (4) to the DFT band structures results in total widths of the four bands comparable to, or slightly smaller than, those of MATBG at the TB level, being approximately 12 meV, as shown in Fig. 1c. This outcome is apparent from the right vertical axis in Fig. 4a-d, where differences in band dispersion diminish to below ~ 1 meV for the θ8-\({\tilde{d}}_{8}\) and θ9-\({\tilde{d}}_{9}\) cases.

Comparable features are observed in TBG systems with interlayer distances d close to the magic values \({\tilde{d}}_{m}\) (m = 6, …, 9), identified within the minimum regions of Fig. 3, although the detailed dispersion of the quasi-flat band exhibit some variations. A specific case for m = 7 is discussed in Supplementary Section VI. It is also important to note that for stacking angles significantly larger than the MA, the dispersion of the quasi-flat bands depends on the specific construction of the moiré unit cell, particularly the placement of the rotation axis, as shown in Supplementary Section VII.

We interpret the small energy differences in the quasi-flat bands as an inherent measure of error when reproducing the DFT features of MATBG through the equivalence-class approach. From this analysis, we infer that the TBG systems considered here belong to nearby equivalence classes to that of MATBG, characterized at the CM level by an interaction parameter γ = γMA + δγ, with δγ/γMA 1.

As a final convincing evidence, we emphasize that the DFT-derived magic distances are well correlated with the commensurate twist angles through the same function introduced at the TB level, cf. Eq. (10), which continues to serve as a reliable approximation of the bijective function (6). This identification is detailed in Fig. 5, where the optimal value βDFT = 1.891 Å−1, for the inverse damping length, was obtained with the same reference parameters, θ0 = 1.05° and d0 = 3.349 Å, as in the TB approach. The resulting fitting function (red dashed line) slightly underestimates the m = 9 point and slightly overestimates the m = 6 point. By contrast, optimizing both β and θ0 with the reference interlayer distance fixed at d0 = 3.349 Å yielded best-fit parameters \({\beta }_{{\rm{DFT}}}^{{\prime} }=1.605\) Å−1 and \({\theta }_{0}^{{\prime} }=1.2{9}^{\circ }\). This adjustment significantly improved the agreement (green dotted line), suggesting that the PBE-DFT approach predicts a barely larger MA at the nominal interlayer distance. Equivalently, optimizing β and d0 at the fixed MA θ0 yielded \({\beta }_{{\rm{DFT}}}^{{\prime} }=1.605\) Å−1 and \({d}_{0}^{{\prime} }=3.480\) Å (shown by the same green dotted line), which aligns with the known tendency of the PBE functional to underestimate interlayer coupling.

Fig. 5: DFT magic distance vs twist angle θ.
figure 5

(Blue circled points) DFT-derived magic distances \({\tilde{d}}_{{\rm{M}}}={\tilde{d}}_{m}\)vs. commensurate twist angles θ = θm (bottom horizontal axis) for m = 6, …, 9 (top horizontal axis). (Red circled point) MA condition established at the TB level: d0 = 3.349 Å and θ0 = 1.05°. (Red dashed line) Function in Eq. (10), derived using the reference values d0, θ0, and the best-fit parameter βDFT = 1.891 Å−1. (Green dotted line) Function in Eq. (10), with parameters \({\beta }_{{\rm{DFT}}}^{{\prime} }=1.605\) Å−1 and, equivalently, \({\theta }_{0}^{{\prime} }=1.2{9}^{\circ }\) at fixed d0, or \({d}_{0}^{{\prime} }=3.480\) Å at fixed θ0. (Black circled point) Interlayer distance \({\tilde{d}}_{5}\) at the twisted angle θ5, excluded from the fitting processes above.

Discussion

We have addressed the challenging question of whether the equivalence class for MATBG, firmly established within the CM framework, can be extended to TB models and, more importantly, to ab initio methods such as DFT. Our results demonstrate that it is possible to define a magic condition linking the twist angle to the interlayer distance, for arbitrary twist angles within the range of validity of our approach (θ 5°). For both the specific TB approach and at the DFT-PBE level, we find that twist angle and interlayer distance under magic conditions are related by a simple function, Eq. (10), which depends on a single parameter: the inverse decay length β. Given the simplicity of this relation and the consistent values of β obtained in both approaches, we contend that our findings are robust and independent of the specific modeling employed. Consequently, the magic distances extracted from Figs. 2 and 5 provide reliable starting points for analogous search procedures, should one adopt alternative TB parametrizations or different exchange-correlation functionals and pseudopotentials within DFT.

The identification of the magic TBG set provides an effective strategy for studying ground-state and excited-state properties using geometrically simplified, computationally feasible structures. As a prominent example, we suggest investigating the dynamical density-density response function of TBG electrons within the quasi-flat band region62. Using the equivalence-class approach, time dependent (TD) DFT computations are accessible for these system and could offer valuable insights into plasmon excitations in MATBG. A full ab initio modeling of these properties could help understand the role of collective excitation in light trapping phenomena in TBG63,64 or in the emergence of unconventional superconductivity65,66,67. Building upon this concept, the equivalence-class framework could be employed to study the superconducting-to-normal state transition in TBG systems with quasi-flat bands at specific magic distances. Within this framework, the critical temperature is expected to be renormalized following a scaling relation analogous to that expressed in Eq. (4).

Finally, we emphasize that the equivalence-relation concept is not limited to TBG. It can be extended to other twisted multilayer materials comprising two or more atomic layers that exhibit Dirac-cone states in their isolated phases. In these systems, the weak interlayer interaction should, under appropriate limiting conditions, yield a reference Hamiltonian analogous to the BM model, expressible in a form similar to Eq. (1). A particularly challenging but critical aspect, especially in heterogeneous multilayer structures, is the development of a smooth, bijective function that maps hopping parameters to interlayer distances.

In summary, we have demonstrated that MATBG belongs to a specific equivalence class, well-defined within the framework of the CM. This equivalence class encompasses TBG structures characterized by a twist angle and a magic interlayer distance. Members of this class share homothetic electronic spectra, a fixed number of bands with vanishing Fermi velocity, and a common eigenstate basis that can be mapped one-to-one to those of MATBG via a dimensionless scaling factor associated with the twist angle. The equivalence relation extends naturally to TB models through a systematic search for the optimal interlayer distance at a fixed twist angle. This process identifies the configuration that achieves the best homothetic match between the quasi-flat bands of a given TBG structure and those of MATBG. Focusing on commensurate lattices, we established a one-to-one smooth correspondence between TBG structures with twist angles below 6° and MATBG. Additionally, we investigated the ground-state electronic properties of twisted graphene bilayers within the framework of DFT, focusing on the same angular range. An ab initio procedure was developed to determine the optimal interlayer distance for each twist angle that leads to the formation of quasi-flat bands. Our findings open a pathway for employing ab initio methods to study systems with manageable atom counts per unit cell, while retaining the essential electronic properties of MATBG.

Methods

TB computational details

A typical TB calculation scheme48,49 was implemented, utilizing pz orbitals centered at the atomic positions ri of the TBG lattice. The hopping amplitudes tij between distinct atomic sites i and j were described within the standard SK formalism47 as:

$${t}_{ij}=(1-{n}_{ij}^{2}){V}_{pp\pi }({r}_{ij})+{n}_{ij}^{2}{V}_{pp\sigma }({r}_{ij}).$$
(11)

Here, Vppσ and Vppπ denote the interlayer and intralayer potentials, respectively, which depend on the inter-site distance rij = rjri. The interplay between these interactions is modulated by the out-of-plane directional cosines nij = zij/rij, with zij representing the perpendicular component of rjri relative to the graphene sheets.

The potentials Vppσ and Vppπ were modeled using a non-standard SK parameterization33, expressed as:

$${V}_{pp\sigma }({r}_{ij})={t}_{1}{e}^{-\eta (d-{d}_{0})}{e}^{-\delta ({r}_{ij}-d)}c({r}_{ij}),$$
(12)
$${V}_{pp\pi }({r}_{ij})=-{t}_{0}{e}^{-\delta ({r}_{ij}-{a}_{c})}c({r}_{ij}),$$
(13)

where the exponential factors account for in-plane structural deformation and out-of-plane atomic corrugation effects, controlled by η and δ, respectively, and \(c({r}_{ij})={[1+{e}^{({r}_{ij}-{r}_{c})/{l}_{c}}]}^{-1}\), introduces a smooth cutoff to ensure convergence. The parameter values adopted in this study were as follows: nearest-neighbor interatomic distance ac = 1.42 Å, equilibrium interlayer distance without applied pressure d0 = 3.349 Å, intralayer hopping energy t0 = 2.8 eV, interlayer hopping energy t1 = 0.44 eV, inverse structural length δ = 2.218 Å−1, inverse corrugation length η = 0.58 Å−1, smooth function decay length lc = 0.265 Å, and smooth functioncharacteristic distance rc = 5.0 Å. The calculations incorporated all hopping interactions within rij 7.5Å, implemented via the TBPLas package46.

To establish the MA condition, we focused on the commensurate twist angles θm defined in Eq. (7). Initially, compression effects were neglected by setting d = d0 in Eq. (12), corresponding to the standard SK parameterization47. This approach facilitated the identification of the MA at θ31 = 1.050° and the computation of the MATBG eigenspectrum, along with its corresponding eigenstates. Subsequently, the analysis was extended to a broad range of θm values greater than the MA, with 5≤m < 31. For each θm, the interlayer distance d was systematically varied to determine the corresponding magic distances dm through an iterative search procedure.

DFT calculations

DFT calculations were performed using the Quantum Espresso (QE) package59,60 within the projector augmented wave (PAW) method58 using the PseudoDojo PAW datasets68. The PBE exhange-correlation functional57 was employed, with a plane wave energy cutoff of 30 Ry and an energy convergence threshold of 10−7 Ry for the self-consistent runs. A vacuum region of 20 Å was introduced along the out-of-plane direction to model the TBG slab. The 1stBZ was sampled using a 12 × 12 × 1 Monkhorst-Pack grid69 in conjunction with a Marzari-Vanderbilt smearing function70 with a width of 0.005 Ry.

The chosen TBG geometries corresponded to commensurate lattices with twist angles ranging from θ5 to θ9, as defined in Eq. (7). Each structure was generated by starting from an AA-stacked bilayer graphene slab and applying a counter-clockwise rotation of the top layer by the specified twist angle θ about a vertical axis passing through a carbon atom. Additional positions for the rotation axis were also considered, as described in Supplementary Section VII.

A DFT-based search was then conducted to determine the magic distances \({\tilde{d}}_{5}\) to \({\tilde{d}}_{9}\), as discussed in the main text. This involved selecting the four bands closest to the Fermi level and calculating their BW over the 12 × 12 × 1 k-point grid, as shown in Fig. 3.