원시데이터 수집 시스템
선정목록으로

Designing three-dimensional flat bands in nodal-line semimetals

관련 모빌리티 소재 · (2) 샤무드(인공피혁)

기본 정보

저자
  1. Lau, Alexander
  2. Hyart, Timo
  3. Autieri, Carmine
  4. Chen, Anffany
  5. Pikulin, Dmitry I.
DOI
10.48550/arxiv.2008.09122
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.2008.09122
토픽
Graphene research and applications
OpenAlex ID
W6910539551

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (2) 샤무드(인공피혁)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 샤무드(인공피혁)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Electrons with large kinetic energy have a superconducting instability for infinitesimal attractive interactions. Quenching the kinetic energy and creating a flat band renders an infinitesimal repulsive interaction the relevant perturbation. Thus, flat band systems are an ideal platform to study the competition of superconductivity and magnetism and their possible coexistence. Recent advances in the field of twisted bilayer graphene highlight this in the context of two-dimensional materials. Two dimensions, however, put severe restrictions on the stability of the low-temperature phases due to enhanced fluctuations. Only three-dimensional flat bands can solve the conundrum of combining the exotic flat-band phases with stable order existing at high temperatures. Here, we present a way to generate such flat bands through strain engineering in topological nodal-line semimetals. We present analytical and numerical evidence for this scenario and study the competition of the arising superconducting and magnetic orders as a function of externally controlled parameters. We show that the order parameter is rigid because the quantum geometry of the Bloch wave functions leads to a large superfluid stiffness. Using density-functional theory and numerical tight-binding calculations we further apply our theory to strained rhombohedral graphite and CaAgP materials.

본문 133,695자

본문 펼치기
Designing three-dimensional flat bands in nodal-line semimetals Alexander Lau, <sup>1,</sup> <sup>_∗_</sup> Timo Hyart, <sup>1, 2,</sup> <sup>_∗_</sup> Carmine Autieri, <sup>1</sup> Anffany Chen, <sup>3, 4</sup> and Dmitry I. Pikulin <sup>5, 6</sup> 1 _International_ _Research_ _Centre_ _MagTop,_ _Institute_ _of_ _Physics,_ _Polish_ _Academy_ _of_ _Sciences,_ _Al._ _Lotnik´ow_ _32/46,_ _02-668_ _Warsaw,_ _Poland_ 2 _Department_ _of_ _Applied_ _Physics,_ _Aalto_ _University,_ _00076_ _Aalto,_ _Espoo,_ _Finland_ 3 _Department_ _of_ _Physics_ _and_ _Astronomy,_ _University_ _of_ _British_ _Columbia,_ _Vancouver,_ _BC,_ _Canada_ _V6T_ _1Z1_ 4 _Quantum_ _Matter_ _Institute,_ _University_ _of_ _British_ _Columbia,_ _Vancouver_ _BC,_ _Canada_ _V6T_ _1Z4_ 5 _Station_ _Q,_ _Microsoft_ _Corporation,_ _Santa_ _Barbara,_ _California_ _93106-6105,_ _USA_ 6 _Microsoft_ _Quantum,_ _Redmond,_ _Washington_ _98052,_ _USA_ (Dated: March 29, 2021) Electrons with large kinetic energy have a superconducting instability for infinitesimal attractive interactions. Quenching the kinetic energy and creating a flat band renders an infinitesimal repulsive interaction the relevant perturbation. Thus, flat band systems are an ideal platform to study the competition of superconductivity and magnetism and their possible coexistence. Recent advances in the field of twisted bilayer graphene highlight this in the context of two-dimensional materials. Two dimensions, however, put severe restrictions on the stability of the low-temperature phases due to enhanced fluctuations. Only three-dimensional flat bands can solve the conundrum of combining the exotic flat-band phases with stable order existing at high temperatures. Here, we present a way to generate such flat bands through strain engineering in topological nodal-line semimetals. We present analytical and numerical evidence for this scenario and study the competition of the arising superconducting and magnetic orders as a function of externally controlled parameters. We show that the order parameter is rigid because the three-dimensional quantum geometry of the Bloch wave functions leads to a large superfluid stiffness in all three directions. Using densityfunctional theory and numerical tight-binding calculations we further apply our theory to strained rhombohedral graphite and CaAgP materials. I. INTRODUCTION The study of correlated many-particle states in flatband systems goes back to the consideration of fewparticle nuclear-physics systems in the 1960s when S. T. Belyaev demonstrated that, in the presence of degenerate single-particle states, interactions can lead to a pairing gap increasing linearly with the interaction strength <sup>1</sup> . Since then, there has been a fruitful exchange of ideas between the nuclear-physics and the condensed-matter communities exploring analogies between nuclear-physics systems and ultrasmall superconducting grains <sup>2–4</sup> . Recently, two-dimensional (2D) flat bands have provided new ground for exotic states of condensed matter <sup>5–9</sup> . In particular, the advances in the fabrication of flat bands in twisted bilayer graphene have attracted a lot of attention due to the novel exotic phases becoming available experimentally <sup>10–16</sup> . Other setups and materials realizing 2D flat bands have been studied <sup>17–19</sup> but, to our knowledge, their three-dimensional (3D) counterparts <sup>20,21</sup> have not been explored in realistic materials. In the present manuscript, we carry this development to its logical end point by proposing a viable approach for realizing 3D flat-band systems. We combine two actively-studied ingredients to manifest a 3D flat band: nodal-line semimetals (NLSMs) <sup>22</sup> and strain engineering in topological semimetals <sup>23</sup> . NLSMs are materials where topologically protected band crossings form a line (nodal line) in the Brillouin zone, provided that certain symmetries are satisfied. Additionally, topologically protected drumhead surface states ap pear inside the region bounded by the projection of the nodal line onto the 2D surface Brillouin zone. The drumhead surface states exhibit a nearly flat dispersion if the material has approximate chiral symmetry, for example due to a sublattice structure <sup>7</sup> . Strain engineering produces opportunities to generate Landau level-like flat bands in the absence of external magnetic fields <sup>24–30</sup> . This is because the action of the strain near the Fermi surface resembles that of a magnetic field in the local area of the Brillouin zone. In the case of Weyl/Dirac semimetals, there are simply two Fermi pockets near the Fermi energy and the action of strain near the pockets can be described as electromagnetic fields <sup>31–33</sup> . Here, we show that such properties of strain are more generic and can be applied to materials with nodal lines as well. For stationary strain, the resulting pseudo-magnetic field then depends on the position along the nodal line. There is, however, always one commonality in nodal systems insensitive to the strength and direction of the pseudo-magnetic field - the zeroth pseudo-Landau level (PLL). Therefore, one would expect that the zeroth PLL forms a _3D_ _flat_ _band_, while the higher PLLs are flat only in two dimensions and have a dispersion along the nodal line. We confirm this intuitive argument above using numerical and analytical arguments. We show that the zeroth PLL indeed forms a 3D flat band, which evolves from the drumhead surface states of the NLSM, and obtain wavefunctions thereof. Using these wavefunctions and assuming competition between magnetism and superconductivity, we obtain the phase diagram of the system as a function of the filling factor and the interaction strengths. We show this system is a promising platform for studying intertwined phases <sup>9,34</sup> as it can be tuned _in-situ_ from the magnetic to the superconducting phase by controlling the magnitude of the strain. Moreover, we go beyond the mean-field picture by analyzing the properties of the collective modes and argue that the emerging order is more stable in the 3D case than in the previously studied 2D cases. Importantly, we show that the system supports a hitherto unexplored 3D quantum geometry of the Bloch wave functions that leads to a large superfluid stiffness in all directions despite the flatness of the bands. The 3D quantum geometry is a nontrivial consequence of the momentum dependence of the direction of the pseudo-magnetic field along the nodal line. Finally, we study the properties of 3D flat bands for the material examples of NLSMs belonging to CaAgP material class and of rhombohedral graphite. II. NON-INTERACTING MODEL A. Two-band NLSM Hamiltonian and drumhead surface states A NLSM is a material for which the energy gap between two bands near the Fermi level closes along a line in the Brillouin zone [Fig. 1(a)]. The minimal model for a NLSM, believed to be applicable, for instance, to the CaAgP materials class (see below) and Ca3P2 <sup>35–37</sup>, reads: where q = _q_ (cos _θ,_ sin _θ_ ) and _q_ _<_ 0 describes the deviation from the nodal line. Here, _±_ correspond to top and bottom surfaces, _−L/_ 2 _<_ _z_ _<_ _L/_ 2, _lS_ = _−t_ 2 _/_ ( _tQq_ ) is the localization length of the drumhead surface states, and _Lx_ ( _Ly_ ) is the length of the system in the _x_ ( _y_ ) direction along which we have applied periodic boundary conditions. B. Strain and pseudo-Landau levels A simple way to realize strain with a constant gradient of the strain field is bending <sup>23,38</sup>, as shown in Fig. 1b. The bend can be achieved by a proper choice of the growth substrate or by mechanical bending of the device. Such strain creates a displacement field _u_ = ( _xz/R,_ 0 _,_ 0) with corresponding strain tensor components _u_ 11 = _z/R_ and _u_ 13 = _u_ 31 = _x/_ (2 _R_ ). In the limit of small nodalline radii, the strain induces a pseudo-magnetic field (see Appendix below) ℏ B 5 = _elB_ <sup>2</sup> (sin _θ, −_ cos _θ,_ 0) _,_ (2) where Q = _Q_ (cos _<u>θ,</u>_ <u>sin</u> _θ_ ) is a momentum along the nodal line and _lB_ = <sup>_√_</sup> _RQ_ is the pseudo-magnetic length. In this case, the analytical solution for the zeroth PLL wave function is _e_ <sup>_i_</sup> <sup>(</sup> <sup>Q</sup> <sup>+</sup> <sup>q</sup> <sup>)</sup> <sup>_·_</sup> <sup>r</sup> _πlz_ <sup>2</sup> - <u>1</u> _e_ <sup>_−ξ_</sup> _q_ <sup>2</sup> <sup>_/_</sup> <sup>2</sup> _._ �1 _/_ 4 1 _i_ Ψ0 Q _,_ q <u>1</u> = 2 _LxLy_ ~~�~~ _z_ + _zq_ ) _/lz_, _H_ ( _k_ ) = _σ_ <sup>_z_</sup> <sup>�</sup> 6 _t −_ _t_ 1 _−_ 2 _t_ _i_ = _x,y,z_ cos _ki_ + 2 _t_ 2 _σ_ <sup>_x_</sup> sin _kz._ (1) Here _ξq_ = ( _z_ + _zq_ ) _/lz_, _zq_ = _qlB_ <sup>2</sup> Here _ξq_ = ( _z_ + _zq_ ) _/lz_, _zq_ = _qlB_ <sup>2</sup> <sup>and</sup> <sup>the</sup> <sup>pseudo-magnetic</sup> localization length in the _z_ -direction is given by Here _σ_ <sup>_x,y_</sup> are Pauli matrices, and _t_, _t_ 1, and _t_ 2 are parameters determining the size of the nodal line and the Fermi velocity. Throughout this paper, the length scales are given in units of the lattice constant and the momentum is measured in units of the inverse lattice constant. For _t_ 1 _≪_ _t_, this Hamiltonian has a gap closing along a circular path in the Brillouin zone – a nodal loop – given by _kz_ = 0 and ( _kx, ky_ ) = Q = _Q_ (cos _θ,_ sin _θ_ ), where _Q_ = _t_ 1 _/t_ and _θ_ is the azimuthal angle. The crossing between the two bands is protected by _x −_ _y_ plane re ~~�~~ flection symmetry. The bands are _σ_ <sup>_z_</sup> eigenstates in the _kz_ = 0 plane corresponding to reflection eigenvalues _±_ 1. Taking a different viewpoint, the nodal line can also be considered to be protected by the chiral symmetry _σ_ <sup>_y_</sup> or the combination of time-reversal and inversion symmetries. For this Hamiltonian, the drumhead surface states, appearing at momenta _k_ _<_ _Q_, have zero energy due to chiral symmetry. In the limit of small nodal-line radii _Q_, the corresponding surface wave functions at momentum k = Q + q can be written as _lz_ = _tQ_ <sup>_lB._</sup> - _<u>t</u>_ <u>2</u> Alternatively, one can perform a gauge transformation such that the wave function is localized in the _x−y_ plane and a plane wave in the _z_ -direction. In that case, the localization length is _<u>B</u>_ _lxy_ = <sup>_<u>l</u>_</sup> <sup>2</sup> _lz_ _._ _e_ <sup>_i_</sup> <sup>(</sup> <sup>Q</sup> <sup>+</sup> <sup>q</sup> <sup>)</sup> <sup>_·_</sup> <sup>r</sup> _e_ <sup>_±_</sup> _lS_ <sup>_<u>z</u>_</sup> _,_ The prefactors in the localization lengths arise due to the elongations of the elliptical cyclotron orbits. Going beyond the lowest-order expansion in _Q_ would lead to a _θ_ dependence of the strength of the pseudomagnetic field because the strain shrinks the nodal line anisotropically. Nevertheless, the energy of the zeroth PLL is independent of the strength of the pseudomagnetic field and, hence, in all cases we robustly obtain the desired 3D flat band. Since the pseudo-magnetic field originates from the spatial variation of the radius of the nodal loop, it can also be created by varying the relative amount of P and As contents in the CaAgP1 _−x_ As _x_ alloys along the _z_ -direction, for example, by changing the crystal growth conditions with time. 1 _±i_ Ψ _S,±_ <u>1</u> Q _,_ q = 2 _LxLylS_ sinh _l_ <sup>_<u>L</u>_</sup> _S_ - ~~�~~ _E_ Q Q _q_ _kz_ _kz_ _q_ _z_ _ky_ _kx_ drumhead states _E_ _x_ _z_ + _L_ /2 _-L_ /2 _Q_ top _Q_ _R_ _Q_ bot Figure 1. (a) Schematic representation of a nodal-line semimetal bandstructure. Here, Q is a vector pointing to a momentum on the nodal line such that _|_ Q _|_ = _Q_ is the radius of a circular nodal loop. A Dirac cone is formed with respect to the perpendicular momentum components _q_ and _kz_ . (b) Example of a strain profile leading to the formation of a 3D flat band. The strain can be created e.g. by bending the sample or growing it on a cylindrical surface. _R_ is the radius of the cylinder in the middle of the sample. (c) Bulk-boundary correspondence of the zeroth PLL of the NLSM. Due to the strain, the radius of the nodal circle varies as a function of _z_, such that the radius of the momentum-space area of the drumhead surface states on the top surface _Q_ top is different from the bottom surface _Q_ bot. Zeroth PLL bulk states appear in the momentum space region between _Q_ top and _Q_ bot. (d) Spectrum of the model Hamiltonian _H_ tb [Eq. (1)] in the presence of strain [Eq. (2)] with parameters _t_ 1 = 0 _._ 25 _t_, _t_ 2 = 0 _._ 8 _t_, _L_ = 1000, and _R_ = 8000. For comparison, we also show the energies of the effective Hamiltonian _H_ eff (orange bands) constructed from the analytical low-energy solutions (see Appendix below). (e) Numerical (blue) and analytical (orange) wavefunctions of the zeroth PLL at different momenta _kx_ = _ki_ ( _i_ = 1 _,_ 2 _,_ 3 _,_ 4) indicated in (d). The drumhead surface states appear at both surfaces for _|kx|_ _<_ _Q_ top _, Q_ bot. At _|kx|_ = _Q_ top the drumhead surface states from the top surface are deformed into the zeroth PLL bulk states and move towards the bottom surface with increasing _Q_ top _< |kx| < Q_ bot. At _|kx|_ = _Q_ bot the PLL bulk state hybridizes with the drumhead surface state at the bottom surface. (f) Degeneracy of the flat band as a function of the height _L_ of the sample. Numerically, the degeneracy is calculated by integrating the density of states over an energy window ( _|E|_ _<_ 10 <sup>_−_</sup> <sup>3</sup> _t_ ). The model parameters _t_ 1 _,_ 2 are the same as in (d). Bold lines are the numerical results and dashed lines correspond to the analytical formulas. In the presence of strain, the degeneracy grows linearly with _L_ demonstrating the existence of a 3D flat band with degeneracy _N_ flat proportional to the volume of the sample (green dashed line). In the absence of strain, the degeneracy of the zero-energy drumhead surface states saturates with increasing _L_ demonstrating that it is proportional to the area of the surface of the sample, _N_ 0. C. Connection of drumhead surface states and pseudo-Landau level In Fig. 1(c, d), we plot the spectrum of the lowest PLL states. We find that the zeroth PLL is two-fold degenerate: the bulk states discussed above coexist with drumhead states localized to the bottom surface. We further observe that the PLL bulk states evolve from drumhead states localized to the _top_ surface, similar to the connection between Fermi arcs and PLLs in Weyl semimetals <sup>39</sup> . By using approximate analytic solutions for the drumhead surface states and for the PLL bulk wave functions, and by considering their coupling at the surface of the sample, we obtain an effective low-energy Hamiltonian (see Appendix below) that accurately describes the ex act numerical results as shown in Fig. 1(d, e). We confirm the 3D nature of the flat band by plotting the scaling of the total number of states in the flat band for different thicknesses _L_ with and without strain in Fig. 1(f). For sufficiently large _L_, the number of states for the drumhead surface states without strain saturates to the value _N_ 0 = _Q_ <sup>2</sup> _LxLy/_ (2 _π_ ). On the contrary, the number of states, including the PLL bulk states, in the presence of strain grows linearly with _L_ as _N_ flat = _QLxLyL/_ (2 _πlB_ <sup>2</sup> <sup>) –</sup> confirming our hypothesis of a flat band that is genuinely 3D. The interaction effects depend on the k -space extent of the flat bands. Unlike in twisted bilayer graphene, the flat band in these 3D systems covers only a fraction of the Brillouin zone. In twisted bilayer graphene, however, the area of the moir´e-Brillouin zone is inversely proportional to the square of the superlattice lattice constant and the latter is large around the magic angle. Thus, we expect that interaction effects in the considered 3D flat band systems are as important as in the case of twisted bilayer graphene (see below). III. EFFECTS OF INTERACTIONS In flat-band systems, the density of states diverges and, therefore, interaction effects are important. Moreover, these systems have instabilities both with respect to repulsive and to attractive interactions, so that competition between various symmetry-broken phases is expected to be a generic feature of flat-band systems. We now turn our attention to the effect of an attractive pairing interaction and Coulomb repulsion between electrons. A. Magnetism For conservative model parameters we estimate _Tc,m_ = 3 K (see Appendix below). We point out that this theory describes several different types of magnetic order parameters as their projections to the PLL bulk wave functions are the same (see Appendix below). However, the surface effects break the symmetry explicitly and distinguish the magnetic order parameters from each other. We find that the lowest energy state corresponds to the situation where the magnetic order is staggered with respect to the PLL bulk states and the drumhead states at the bottom surface (see Appendix below). We note that the exact nature of the magnetic order is not important for the discussion of competing phases below since we focus on the bulk states here. B. Superconductivity Starting from the reduced BCS Hamiltonian with the density constraint, the mean field equations for the superconducting order parameter ∆and the chemical potential _µ_ are (see Appendix below) _β_ ∆= _G_ 0 2 _µ_ <sup>2</sup> + ∆ <sup>2</sup> <sup>tanh</sup> _<u>µ</u>_ ~~<u>�</u>~~ _µ_ <sup>2</sup> + ∆ <sup>2</sup> <sup>tanh</sup> <u>∆</u> _β_ ∆ <sup>2</sup> + _µ_ <sup>2</sup> _/_ 2 ~~<u>�</u>~~ ∆ <sup>2</sup> + _µ_ <sup>2</sup> _/_ 2 ~~�~~ _,_ _,_ (5) _<u>µ</u>_ _GC_ 0= 1 +is the ~~�~~ effective _µ_ <sup>2</sup> + ∆ <sup>2</sup> <sup>tanh</sup> where _G_ 0 is the effective interaction strength and _β_ = 1 _/_ ( _kBT_ ). The critical temperature is given by _<u>C −</u>_ <u>1</u> _kBTc,sc_ = <sup>_<u>G</u>_</sup> <sup><u>0</u></sup> (6) 4 arctanh( _C −_ 1) <sup>_._</sup> For the study of magnetism, we self-consistently solve the mean-field equations for the magnetic order parameter _mz_ and the chemical potential _µ_ in the presence of the density constraint that the filling factor of the band be fixed to _C_ (see Appendix below) _mz_ = <sup>_<u>V</u>_</sup> <sup><u>0</u></sup> 2 _nF_ ( _−mz_ _−_ _µ_ ) _−_ _nF_ ( _mz_ _−_ _µ_ ) _,_ _C_ = _nF_ ( _−mz_ _−_ _µ_ ) + _nF_ ( _mz_ _−_ _µ_ ) _._ (3) For typical model parameters we estimate _Tc,sc_ = 1 K (see Appendix below). We note that this value is similar to the critical temperatures observed in twisted bilayer graphene <sup>10,11</sup> . In the case of 3D flat bands in NLSMs, however, the stronger suppression of order-parameter fluctuations and the greater variability of parameters with strain can potentially lead to even larger critical temperatures. The same applies to the magnetic phase described above. C. Competing phases As recent experiments in twisted bilayer graphene indicate, the competition between different correlated phases is a generic feature of flat-band systems <sup>15,16</sup> . Moreover, in the case of competition between flat-band magnetism and superconductivity doping the system away from halffilling is generically expected to favor the superconducting phase <sup>8</sup> . Thus, we expect also magnetic and superconducting phases in 3D flat-band systems to be tunable using controllable parameters such as doping and the effective interaction strengths. The latter can be controlled, for example, by strain or an electrostatic environment. Here, _V_ 0 is the effective interaction strength and _nF_ is the Fermi function. The filling factor _C_ is restricted to 0 _≤_ _C_ _≤_ 2, such that _C_ = 0 corresponds to the situation where the flat-band states are completely empty. whereas for _C_ = 2 both spin-up and spin-down flat-band states are fully occupied. The effective interaction strength _V_ 0 is computed by projecting the Coulomb interaction to the zeroth PLL. Furthermore, it can be tuned by varying the strain (see Appendix below). The critical temperature for magnetism depends on _C_ as _kBTc,m_ = <sup>_<u>V</u>_</sup> <sup><u>0</u></sup> (4) 4 <sup>_C_</sup> <sup>(2</sup> <sup>_−_</sup> <sup>_C_</sup> <sup>)</sup> <sup>_._</sup> Figure 2. Phase diagram of the model Hamiltonian [Eq. (1)] in the presence of strain [Eq. (2)] and interactions [Eqs. (3),(5)]. (a) Critical temperatures for magnetism [Eq. (4)] and superconductivity [Eq. (6)] as a function of the filling factor _C_ in the typical situation where the effective interaction strength for superconductivity is smaller than for magnetism _G_ 0 = 0 _._ 75 _V_ 0. At half-filling _C_ = 1, the system realizes magnetic order but doping away from half-filling leads to superconductivity, resembling the phase diagrams experimentally observed in cuprates and twisted bilayer graphene. (b) Phase diagram as a function of _C_ and _G_ 0 _/V_ 0 assuming that the system realizes the phase with the larger critical temperature. The dashed horizontal line represents a path through the phase diagram corresponding to (a). This expectation is confirmed by our calculations shown in Fig. 2. In Fig. 2(a), we plot the critical temperatures for magnetism [Eq. (4)] and superconductivity [Eq. (6)] as a function of the filling factor _C_ . At halffilling _C_ = 1, the system realizes the phase with the larger effective interaction strength. Hence, for the typical situation where the Coulomb repulsion dominates the pairing interaction, _V_ 0 _> G_ 0, the magnetic phase is realized. On the contrary, doping the system away from half-filling favors the superconducting phase. Therefore, flat-band systems are expected to have phase diagrams similar to those observed experimentally in cuprates <sup>40</sup> and twisted bilayer graphene <sup>10,11</sup> . In contrast to the complicated, strongly correlated Mott physics of cuprates <sup>40</sup>, here the mechanisms of superconductivity and magnetism are independent of each other <sup>9</sup> . This is in agreement with experiments on twisted bilayer graphene <sup>15,16</sup> . In addi tion to the filling factor _C_, the ground state can also be controlled by the relative interaction strength _G_ 0 _/V_ 0, as shown in Fig. 2(b). We note that our proposal offers a degree of control over _G_ 0 and _V_ 0 _in_ _a_ _single_ _sample_ . By varying the strength of the strain one changes the parameters as derived in the Appendix below, thus allowing to tune in situ between magnetic and superconducting phases. We note that, in reality, the phase diagram may be more complicated due to possible co-existence of the order parameters near the mean-field phase boundary <sup>9</sup> . This may be analyzed using numerical techniques or functional renormalization group and are beyond the scope of the current manuscript. Nevertheless, we underline that 3D flat bands can shed light on the competition and intertwining of order parameters while avoiding the complications caused by strongly correlated Mott physics and the fluctuations present in low-dimensional systems. D. Superfluid stiffness To further substantiate our claims concerning the stability of the mean-field solutions, we analyze the collective modes of the system. In the case of 3D flat bands, the quasiparticle spectrum is fully gapped which means that the amplitude mode is gapped. Thus, the order parameter is stable against amplitude-mode fluctuations. This is in strong contrast to the order parameter appearing in the case of flat-band superconductivity due to 2D drumhead surface states, where the system is gapless and susceptible to strong amplitude-mode fluctuations <sup>41</sup> . The phase rigidity, on the other hand, needs to be analyzed more carefully as kinetic contribution to it is negligible due to the flatness of the band. It is determined by the superfluid stiffness tensor _Ds_, which is related to the supercurrent j in the system as where _ϕ_ is the phase of the superconducting order parameter. The question whether a supercurrent even exists in the systems considered here is particularly relevant as the Fermi velocity within a featureless flat band is zero. Previous studies have shown that in 2D systems there can still exist a nonzero contribution to the superfluid stiffness caused by the quantum geometry of the Bloch wave functions <sup>6,42–48</sup> . However, the possibility of an analogous 3D quantum geometry that gives rise to superfluid stiffness in all directions of a 3D system has not been explored. In the Appendix below, we combine methods developed in the context of quantum Hall systems <sup>6,42</sup> and flat-band superconductors <sup>43,46</sup> to calculate the superfluid stiffness for the model Hamiltonian [Eq. (1)] in the presence of strain [Eq. (2)]. We find that the superfluid stiffness perpendicular _Ds,zz_ and parallel _Ds,xx_ = _Ds,yy_ to _,_ (7) _ji_ = <sup><u>2</u></sup> <sup>_<u>e</u>_</sup> ℏ _j_ [ _Ds_ ] _ij_ _∂jϕ −_ <sup><u>2</u></sup> <sup>_<u>e</u>_</sup> ℏ <sup>_Aj_</sup> _j_ the layers have large geometric contributions _Ds,zz_ = <sup>_<u>n</u>_</sup> <sup><u>0</u></sup> <sup>_<u>l</u>_</sup> _<u>z</u>_ <sup>2</sup> _xy_ <sup>_._</sup> (8) 2 <sup>∆</sup> <sup>_,_</sup> <sup>_Ds,xx_</sup> <sup>=</sup> <sup>_Ds,yy_</sup> <sup>= ∆</sup> <sup>_<u>n</u>_</sup> 4 <sup><u>0</u></sup> <sup>_l_</sup> <sup>2</sup> Therefore, the system has rigidity against phase fluctuations and supports large bulk supercurrents thereby confirming the 3D nature of the superconducting state. Here, _n_ 0 = _Q/_ (2 _πlB_ <sup>2</sup> <sup>)</sup> <sup>is</sup> <sup>the</sup> <sup>degeneracy</sup> <sup>of</sup> <sup>the</sup> <sup>flat</sup> <sup>band</sup> per volume and the directional dependence of the stiffness arises because of the elongations of the semiclassical cyclotron orbits. We emphasize that the non-zero superfluid stiffness along all three directions, as obtained in this section, is not a property that flat bands exhibit by default, but the necessary 3D quantum geometry arises due to the variation of the pseudomagnetic field direction along the nodal line [Eq. (2) and Appendix below]. IV. MATERIAL CONSIDERATIONS In this section, we provide a materials perspective on our proposal. In particular, we identify CaAgP and rhombohedral graphite NLSMs as possible material platforms for 3D flat bands with negligible spin-orbit interaction. We note that NLSMs can also be realized in systems with sizable spin-orbit interactions. Theoretically proposed candidates are TlTaSe2 <sup>49</sup> or alloys of SnTe <sup>50</sup> . A. Strained CaAgP CaAgP crystallizes in an ZrNiAl-type hexagonal structure <sup>51</sup>, which is illustrated in Fig. 3(a). Standard DFT calculations predict a topological NLSM phase for the nodal-line Dirac semimetal CaAgP. However, standard DFT is known to overestimate the band inversion and, in fact, experimental results for CaAgP show a trivially gapped phase for this compound. Nonetheless, it has been shown both theoretically and experimentally that strain and As doping can turn the phase from trivial to topological <sup>52</sup> . In the following, we focus on the NLSM phase of the CaAgP materials class. The low-energy band structure is formed by the 5 _s_ orbitals of the Ag atoms and the 3 _p_ orbitals of the light P atoms. Therefore, spin-orbit interaction in CaAgP is small. In the atomic limit, the _p_ orbitals are occupied and the _s_ orbitals are unoccupied. At the Γ and at the A point of the Brillouin zone, there is a band inversion between one _s_ band and one _pz_ band, while the band orderings at M and K are trivial. As a consequence, a line node is observed along the paths Γ-M and Γ-K, which forms a circle in the _kx_ - _ky_ plane centred at the Γ point [see Fig. 3(a) and Appendix below]. The band dispersion at the line node is linear along both the radial and the _kz_ directions. It should be noted that this line node is generally not protected from spin-orbit interaction but, in this case, the weak spin-orbit coupling induces only a small gap on the order of 10 K <sup>51</sup> . We construct an effective two-orbital tight-binding model (see Appendix below) based on one 3 _pz_ -orbital Wannier function (WF) centred at one P atom and one 5 _s_ -orbital WF centred within a triangle of Ag atoms as previously done for other triangular systems <sup>53</sup> . With an energy cut-off of 6 meV for the tight-binding parameters, this allows us to accurately capture the low energy physics with a relatively simple model. Most importantly, our two-band model correctly reproduces the NLSM phase of the CaAgP materials class [see Fig. 3(b)]. In the next step, we implement the strain terms by modifying the tight-binding parameters in a way similar to our minimal model above (see Appendix below). We choose the bending direction to be aligned with the _x_ axis. We compute the energy spectrum for a (001) slab and find two nearly flat bands, as shown in Fig. 3(c). Similar to our minimal model, these bands consist of superpositions of bottom-surface states and PLL bulk states. In particular, the center of the PLL bulk states shifts as function of the flat-band momentum, which happens symmetrically around the center of the flat band at ¯Γ. However, due to the broken electron-hole symmetry in this material, the two flat bands acquire a small dispersion. Furthermore, we observe a small energy splitting between the two bands due to chiral-symmetry breaking, a symmetry that was present in the minimal model above due to its simplicity. The corresponding gap is smaller in the graphite case we turn to now. B. Strained rhombohedral graphite Another possible candidate material is rhombohedral graphite. It consists of light carbon atoms and has, therefore, negligible spin-orbit interaction. Rhombohedral graphite is composed of ABC-stacked graphene sheets [see Fig. 3(d)]. Isolated graphene sheets feature Dirac cones at the K and K’ points of their 2D Brillouin zone. Stacking several sheets in the _z_ direction in an ABCtype fashion leads to a _kz_ -dependent shift of the Dirac cones away from the K and K’ points thereby forming a nodal line. In particular, the nodal lines in rhombohedral graphite spiral around the vertical hinges of its hexagonal Brillouin zone [see Fig. 3(d)]. The low-energy properties of rhombohedral graphite, similar to graphene, can be captured by a two-band model (see Appendix below). This model reproduces the nodal spirals as can be inferred from comparing the spectrum shown in Fig. 3(e) to the Brillouin zone sketch in Fig. 3(d). Note that the electron-hole symmetry is only weakly broken in this material. As before, we implement strain terms corresponding to a cylindrical strain profile with the bending direction aligned with the _x_ axis (see Appendix below). The energy spectrum of a (001) slab of this system features two flat bands at the Fermi level, as illustrated in Fig. 3(f). In Ag Ca P Ca Ag _z_ A C B A A B C ~~Γ~~ _kz_ P ~~K~~ ~~M~~ _kx_ K Γ _ky_ M ~~Γ~~ _kz_ Γ ~~M~~ ~~K~~ M M _kx_ K _ky_ K Figure 3. 3D flat bands in nodal-line semimetals CaAgP (first row) and rhombohedral graphite (second row). (a) Top and side views of the CaAgP crystal structure. Next to these, we indicate the shape and position of its nodal circle (red), which is centered at the Γ point of the hexagonal Brillouin zone. The beige hexagon represents the (001) surface Brillouin zone with the surface projection of the nodal loop. (b) Bulk bands of the two-band tight-binding model without strain along paths with fixed _kz_ . The bands only cross in the plane _kz_ = 0. (c) Tight-binding spectrum of a strained (001) slab for _L_ = 200, _R_ = 800 with nearly flat bands. The inset shows the spatial profile of the flat-band wave function at the momentum indicated by the red dot. It is a superposition of a bottom-surface state and a (Gaussian) Landau-level state. (d) Top and side views of ABC-stacked (rhombohedral) graphite next to a sketch of its nodal lines. In contrast to CaAgP, there are several nodal lines that spiral around axes going through the K and K’ points of the hexagonal Brillouin zone. Their projections into the surface Brillouin zone form approximate nodal circles. (e) Bulk bands of the two-band tight-binding model without strain along paths with fixed _kz_ . The nodal spiral crosses the considered path for two different values of _kz_ . (f) Tight-binding spectrum of a strained (001) slab for _L_ = 100, _R_ = 400 with flat bands. The inset shows the spatial profile of the flat-band state at the red dot, which is again composed of a Landau-level and a bottom-surface state. contrast to CaAgP, their splitting and bandwidth is negligibly small. This is due to the approximate electron-hole symmetry of the material. The flat bands are again composed of PLL bulk states and drumhead surface states. However, their behavior and composition as a function of the flat-band momentum ( _qx, qy_ ) differs from our previous observations. Depending on the direction, we observe all possible combinations: bottom-surface and PLL bulk state, PLL bulk and top-surface state, bottom- and topsurface state, and even two PLL bulk states with opposite shift behavior (see Appendix below). Despite these differences we emphasize that in all cases a 3D flat band appears robustly in the presence of strain. V. DISCUSSION AND CONCLUSIONS We have proposed a feasible way to create 3D flat bands by applying strain to a nodal-line semimetal. In the process, we have discovered an inherent connection between the arising 3D flat band and the drumhead surface states of the parent nodal-line semimetal. Moreover, we have investigated the effects of interactions on the flat bands, highlighting the competition of superconductivity and magnetism in analogy with twisted bilayer graphene. By computing the superfluid stiffness, we have confirmed that the flatness of the bands does not impede the phase rigidity of the system. The flat-band system thus supports supercurrents and true long-range order solely due to the 3D quantum geometry of the Bloch wave functions, which arises because of the variation of the pseudomagnetic field direction along the nodal line. Going beyond our general idea, we have applied our theory to the potential candidate materials CaAgP and rhombohedral graphite. We have shown that both materials give rise to sufficiently flat bands under experimentally accessible strain, therefore representing viable candidate materials for the experimental realization of our ideas. Our conservative estimates for the critical temperatures are on the order of few Kelvins. However, we emphasize that they depend strongly on the magnitude of the applied strain or the pseudomagnetic field. In particular, if the pseudomagnetic field is controlled with the chemical composition we expect that much stronger pseudofield strengths can be obtained, such that critical temperatures on the order of tens of Kelvins could potentially be achieved. The critical temperatures are proportional to the k -space extent of the flat bands. Therefore, it is important to note that, even though the portion of the Brillouin zone covered by the flat band is small under the assumptions _Q_ _≪_ 1 and _R_ _≫_ _L_, the flat bands can generally cover an arbitrary portion of the Brillouin zone. In particular, the first assumption _Q_ _≪_ 1 was made only for the sake of analytical transparency. Moreover, implementing the effective magnetic field by varying the chemical composition so that the radius of the nodal line changes along the _z_ -direction, we may also violate the second condition _R_ _≫_ _L_ . In the extreme case _Q_ _∼_ 1 and _R_ _∼_ _L_ we find numerically that the 3D flat bands can indeed cover most of the Brillouin zone (see Appendix below). We have considered a specific geometry, realizable by bending the sample, leading to a suitable strain profile. We have, however, explicitly checked that only the strain tensor component _u_ 11 matters for the appearance of the 3D flat band (see Appendix below) and, therefore, the only important ingredient for realizing a 3D flat band in nodal-line semimetals is an inhomogeneous tensile strain profile across the sample. Thus, a suitable strain tensor can be realized also in various other ways, such as by utilizing the type of multilayer structure designed in Ref. <sup>54</sup> for the creation of a giant linear strain gradient. We emphasize that if the strain is realized by bending _∗_ These two authors contributed equally 1 S. T. Belyaev, “On the Nature of the First Excited States of Even-Even Spherical Nuclei,” JETP 12 [, 968–976 (1961).](http://www.jetp.ac.ru/cgi-bin/e/index/e/12/5/p968?a=list) 2 R. W. Richardson and N. Sherman, “Exact eigenstates of the pairing-force Hamiltonian,” Nuclear [Physics](http://dx.doi.org/ https://doi.org/10.1016/0029-5582%0x2864%0x2990687-X) 52, 221– 238 (1964). 3 J. Dukelsky, S. Pittel, and G. Sierra, “Colloquium: Exactly solvable Richardson-Gaudin models for many-body quantum systems,” Rev. Mod. Phys. [76](http://dx.doi.org/10.1103/RevModPhys.76.643), 643–662 (2004). 4 Jan von Delft and D.C. Ralph, “Spectroscopy of discrete energy levels in ultrasmall metallic grains,” [Physics](http://dx.doi.org/ https://doi.org/10.1016/S0370-1573%0x2800%0x2900099-5) Re the sample, the different phases and phase transitions can be studied in situ in this system. As discussed above, tuning the strain changes the relative interaction strengths of superconductivity and magnetism thereby allowing to study the transition between these phases. Moreover, it is known that flat bands are an interesting playground for Anderson localization <sup>55</sup> . The in-situ tunability of the flat-band degeneracy by strain controls also the effective disorder strength, so that it might be possible to study the Anderson transition in a single sample. In condensed matter physics, there is the immediate interest for the experimental community to realize this 3D analogue of twisted bilayer graphene in order to study the interplay of quantum geometry, flatness of the dispersion, disorder and intertwining of different types of order. Moreover, our proposal of realizing 3D flat bands by strain engineering nodal-line semimetals opens a new frontier of research beyond condensed matter physics because metamaterials and cold atomic gas systems can be engineered to exhibit dispersion relations of topological semimetals to large precision <sup>56,57</sup> . Controllable interactions in the cold atom systems makes realization of superconductivity and magnetism per our predictions possible in such systems. Beyond that, there are many related conceptual questions: how general is the connection between the surface states and the lowest pseudo-Landau levels in the presence of a gauge field. Can the picture be expanded to other semimetals and probably even to topological insulators, superconductors, weak, and fragile phases? We also note that Dirac nodal lines in the presence of effective gauge fields can lead to peculiar effective electrodynamics <sup>58</sup>, and it might be interesting to study the connection to surface states also in this context. _Acknowledgements_ _–_ We thank Raquel Queiroz, Leslie Schoop, Roni Ilan, and Adolfo Grushin for useful discussions. This work was supported by the Foundation for Polish Science through the International Research Agendas program co-financed by the European Union within the Smart Growth Operational Programme. We acknowledge the access to the computing facilities of the Interdisciplinary Center of Modeling at the University of Warsaw, Grant No. G73-23 and G75-10. _Data_ _availability_ _–_ The data shown in the figures and the code generating all of the data is available at Ref. 59. ports 345, 61–173 (2001). 5 Jainendra K. Jain, _[Composite](http://dx.doi.org/10.1017/CBO9780511607561)_ _Fermions_ (Cambridge University Press, Cambridge, 2007). 6 K. Moon, H. Mori, Kun Yang, S. M. Girvin, A. H. MacDonald, L. Zheng, D. Yoshioka, and Shou-Cheng Zhang, “Spontaneous interlayer coherence in double-layer quantum Hall systems: Charged vortices and KosterlitzThouless phase transitions,” Phys. Rev. B [51](http://dx.doi.org/10.1103/PhysRevB.51.5138), 5138–5170 [(1995).](http://dx.doi.org/10.1103/PhysRevB.51.5138) 7 N. B. Kopnin, T. T. Heikkil¨a, and G. E. Volovik, “Hightemperature surface superconductivity in topological flat band systems,” Phys. Rev. B [83](http://dx.doi.org/10.1103/PhysRevB.83.220503), 220503 (2011). 8 Tomas L¨othman and Annica M. Black-Schaffer, “Universal phase diagrams with superconducting domes for electronic flat bands,” Phys. Rev. B [96](http://dx.doi.org/10.1103/PhysRevB.96.064505), 064505 (2017). 9 Risto Ojaj¨arvi, Timo Hyart, Mihail A. Silaev, and Tero T. Heikkil¨a, “Competition of electron-phonon mediated superconductivity and Stoner magnetism on a flat band,” Phys. Rev. B [98](http://dx.doi.org/10.1103/PhysRevB.98.054515), 054515 (2018). 10 Yuan Cao, Valla Fatemi, Shiang Fang, Kenji Watanabe, Takashi Taniguchi, Efthimios Kaxiras, and Pablo JarilloHerrero, “Unconventional superconductivity in magicangle graphene superlattices,” Nature 556, 43–50 (2018). 11 Yuan Cao, Valla Fatemi, Ahmet Demir, Shiang Fang, Spencer L. Tomarken, Jason Y. Luo, Javier D. SanchezYamagishi, Kenji Watanabe, Takashi Taniguchi, Efthimios Kaxiras, Ray C. Ashoori, and Pablo Jarillo-Herrero, “Correlated insulator behaviour at half-filling in magic-angle graphene superlattices,” Nature 556, 80–84 (2018). 12 Xiaobo Lu, Petr Stepanov, Wei Yang, Ming Xie, Mohammed Ali Aamir, Ipsita Das, Carles Urgell, Kenji Watanabe, Takashi Taniguchi, Guangyu Zhang, Adrian Bachtold, Allan H. MacDonald, and Dmitri K. Efetov, “Superconductors, orbital magnets and correlated states in magic-angle bilayer graphene,” Nature [574](http://dx.doi.org/ 10.1038/s41586-019-1695-0), 653–657 [(2019).](http://dx.doi.org/ 10.1038/s41586-019-1695-0) 13 M. Serlin, C. L. Tschirhart, H. Polshyn, Y. Zhang, J. Zhu, K. Watanabe, T. Taniguchi, L. Balents, and A. F. Young, “Intrinsic quantized anomalous Hall effect in a moir´e heterostructure,” Science 367, [900–903](http://dx.doi.org/10.1126/science.aay5533) (2020). 14 Guorui Chen, Aaron L. Sharpe, Eli J. Fox, Ya-Hui Zhang, Shaoxin Wang, Lili Jiang, Bosai Lyu, Hongyuan Li, Kenji Watanabe, Takashi Taniguchi, Zhiwen Shi, T. Senthil, David Goldhaber-Gordon, Yuanbo Zhang, and Feng Wang, “Tunable correlated Chern insulator and ferromagnetism in a moir´e superlattice,” Nature 579 [, 56–61 (2020).](http://dx.doi.org/10.1038/s41586-020-2049-7) 15 Petr Stepanov, Ipsita Das, Xiaobo Lu, Ali Fahimniya, Kenji Watanabe, Takashi Taniguchi, Frank H. L. Koppens, Johannes Lischner, Leonid Levitov, and Dmitri K. Efetov, “The interplay of insulating and superconducting orders in magic-angle graphene bilayers,” (2019), [arXiv:1911.09198](http://arxiv.org/abs/1911.09198) [[cond-mat.supr-con].](http://arxiv.org/abs/1911.09198) 16 Yu Saito, Jingyuan Ge, Kenji Watanabe, Takashi Taniguchi, and Andrea F. Young, “Independent superconductors and correlated insulators in twisted bilayer graphene,” Nature Physics [(2020),](http://dx.doi.org/ 10.1038/s41567-020-0928-3) 10.1038/s41567-020[0928-3.](http://dx.doi.org/ 10.1038/s41567-020-0928-3) 17 Ching Hua Lee, Daniel P. Arovas, and Ronny Thomale, “Band flatness optimization through complex analysis,” Phys. Rev. B [93](http://dx.doi.org/ 10.1103/PhysRevB.93.155155), 155155 (2016). 18 Jia-Xin Yin, Songtian S. Zhang, Guoqing Chang, Qi Wang, Stepan S. Tsirkin, Zurab Guguchia, Biao Lian, Huibin Zhou, Kun Jiang, Ilya Belopolski, Nana Shumiya, Daniel Multer, Maksim Litskevich, Tyler A. Cochran, Hsin Lin, Ziqiang Wang, Titus Neupert, Shuang Jia, Hechang Lei, and M. Zahid Hasan, “Negative flat band magnetism in a spin–orbit-coupled correlated kagome magnet,” [Nature](http://dx.doi.org/ 10.1038/s41567-019-0426-7) Physics 15, 443–448 (2019). 19 Da-Shuai Ma, Yuanfeng Xu, Christie S. Chiu, Nicolas Regnault, Andrew A. Houck, Zhida Song, and B. Andrei Bernevig, “Spin-orbit-induced [topological](https://arxiv.org/abs/2008.08231) flat bands in line and split [graphs](https://arxiv.org/abs/2008.08231) of bipartite lattices,” (2020), arXiv:2008.08231 [[cond-mat.mes-hall].](http://arxiv.org/abs/2008.08231) 20 V. A. Khodel’ and V. R. Shaginyan, “Superfluidity in system with fermion condensate,” Soviet Journal of Experi mental and Theoretical Physics Letters 51, 553 (1990). 21 Yixing Fu, Elio J. K¨onig, Justin H. Wilson, Yang-Zhi Chou, and Jedediah H. Pixley, “Magic-angle semimetals,” npj Quantum Materials [5](http://dx.doi.org/10.1038/s41535-020-00271-9) (2020), 10.1038/s41535[020-00271-9.](http://dx.doi.org/10.1038/s41535-020-00271-9) 22 Ching-Kai Chiu, Jeffrey C. Y. Teo, Andreas P. Schnyder, and Shinsei Ryu, “Classification of topological quantum matter with symmetries,” Rev. Mod. [Phys.](http://dx.doi.org/10.1103/RevModPhys.88.035005) 88, 035005 [(2016).](http://dx.doi.org/10.1103/RevModPhys.88.035005) 23 Roni Ilan, Adolfo G. Grushin, and Dmitry I. Pikulin, “Pseudo-electromagnetic fields in 3D topological semimetals,” Nature Reviews [Physics](http://dx.doi.org/10.1038/s42254-019-0121-8) 2, 29–41 (2019). 24 N. Levy, S. A. Burke, K. L. Meaker, M. Panlasigui, A. Zettl, F. Guinea, A. H. C. Neto, and M. F. Crommie, “Strain-induced pseudo-magnetic fields greater than 300 Tesla in graphene nanobubbles,” Science [329](http://dx.doi.org/10.1126/science.1191700), 544–547 [(2010).](http://dx.doi.org/10.1126/science.1191700) 25 Evelyn Tang and Liang Fu, “Strain-induced partially flat band, helical snake states and interface superconductivity in topological crystalline insulators,” Nature [Physics](http://dx.doi.org/10.1038/nphys3109) 10, [964–969](http://dx.doi.org/10.1038/nphys3109) (2014). 26 B. Amorim, A. Cortijo, F. de Juan, A.G. Grushin, F. Guinea, A. Guti´errez-Rubio, H. Ochoa, V. Parente, R. Rold´an, P. San-Jose, J. Schiefele, M. Sturla, and M.A.H. Vozmediano, “Novel effects of strains in graphene and other two dimensional materials,” Physics Reports 617, [1–54](http://dx.doi.org/10.1016/j.physrep.2015.12.006) (2016). 27 V. J. Kauppila, F. Aikebaier, and T. T. Heikkil¨a, “Flat[band superconductivity in strained Dirac materials,” Phys.](http://dx.doi.org/10.1103/PhysRevB.93.214505) Rev. B 93, 214505 (2016). 28 Valerio Peri, Marc Serra-Garcia, Roni Ilan, and Sebastian D. Huber, “Axial-field-induced chiral channels in an acoustic Weyl system,” Nature Physics [15](http://dx.doi.org/10.1038/s41567-019-0415-x), 357–361 (2019). 29 Sang Wook Kim and Bruno Uchoa, “Elastic gauge fields and zero-field three-dimensional quantum hall effect in hyperhoneycomb lattices,” Phys. Rev. B [99](http://dx.doi.org/10.1103/PhysRevB.99.201301), 201301 (2019). 30 Antonio L. R. Manesco, Jose L. Lado, Eduardo V. Ribeiro, Gabrielle Weber, and Durval Rodrigues Jr, “Correlations in the elastic Landau level of a graphene/NbSe2 van der Waals heterostructure,” (2020), [arXiv:2003.05163](http://arxiv.org/abs/2003.05163) [cond[mat.mes-hall].](http://arxiv.org/abs/2003.05163) 31 T. D. C. Bevan, A. J. Manninen, J. B. Cook, J. R. Hook, H. E. Hall, T. Vachaspati, and G. E. Volovik, “Momentum creation by vortices in superfluid <sup>3</sup> He as a model of primordial baryogenesis,” Nature 386, [689–692](http://dx.doi.org/ 10.1038/386689a0) (1997). 32 Chao-Xing Liu, Peng Ye, and Xiao-Liang Qi, “Chiral [gauge field and axial anomaly in a Weyl semimetal,” Phys.](http://dx.doi.org/ 10.1103/PhysRevB.87.235306) Rev. B 87, 235306 (2013). 33 Hassan Shapourian, Taylor L. Hughes, and Shinsei Ryu, “Viscoelastic response of topological tight-binding models in two and three dimensions,” Phys. Rev. [B](http://dx.doi.org/10.1103/PhysRevB.92.165131) 92, 165131 [(2015).](http://dx.doi.org/10.1103/PhysRevB.92.165131) 34 Eduardo Fradkin, Steven A. Kivelson, and John M. Tranquada, “Colloquium: Theory of intertwined orders in high temperature superconductors,” Rev. Mod. [Phys.](http://dx.doi.org/10.1103/RevModPhys.87.457) 87, 457– 482 (2015). 35 Lilia S. Xie, Leslie M. Schoop, Elizabeth M. Seibel, Quinn D. Gibson, Weiwei Xie, and Robert J. Cava, “A new form of Ca3P2 with a ring of Dirac nodes,” APL Materials 3, [083602](http://dx.doi.org/ 10.1063/1.4926545) (2015). 36 Y.-H. Chan, Ching-Kai Chiu, M. Y. Chou, and Andreas P. Schnyder, “Ca3P2 and other topological semimetals with [line nodes and drumhead surface states,” Phys. Rev. B](http://dx.doi.org/ 10.1103/PhysRevB.93.205132) 93, [205132](http://dx.doi.org/ 10.1103/PhysRevB.93.205132) (2016). 37 Yuxuan Wang and Rahul M. Nandkishore, “Topological surface superconductivity in doped Weyl loop materials,” Phys. Rev. B [95](http://dx.doi.org/ 10.1103/PhysRevB.95.060506), 060506 (2017). 38 Tianyu Liu, D. I. Pikulin, and M. Franz, “Quantum oscillations without magnetic field,” Phys. Rev. [B](http://dx.doi.org/10.1103/PhysRevB.95.041201) 95, 041201 [(2017).](http://dx.doi.org/10.1103/PhysRevB.95.041201) 39 Adolfo G. Grushin, J¨orn W. F. Venderbos, Ashvin Vishwanath, and Roni Ilan, “Inhomogeneous Weyl and Dirac semimetals: Transport in axial magnetic fields and Fermi arc surface states from pseudo-Landau levels,” [Phys.](http://dx.doi.org/10.1103/PhysRevX.6.041046) Rev. X 6, [041046](http://dx.doi.org/10.1103/PhysRevX.6.041046) (2016). 40 Patrick A. Lee, Naoto Nagaosa, and Xiao-Gang Wen, “Doping a Mott insulator: Physics of high-temperature superconductivity,” Rev. Mod. Phys. 78, 17–85 (2006). 41 V. J. Kauppila, T. Hyart, and T. T. Heikkil¨a, “Collective amplitude mode fluctuations in a flat band superconductor formed at a semimetal surface,” Phys. Rev. [B](http://dx.doi.org/10.1103/PhysRevB.93.024505) 93, 024505 [(2016).](http://dx.doi.org/10.1103/PhysRevB.93.024505) 42 D. I. Pikulin, P. G. Silvestrov, and T. Hyart, “Confinement-deconfinement transition due to spontaneous symmetry breaking in quantum Hall bilayers,” [Na-](http://dx.doi.org/10.1038/ncomms10462) ture [Communications](http://dx.doi.org/10.1038/ncomms10462) 7, 10462 (2016). 43 Sebastiano Peotta and P¨aivi T¨orm¨a, “Superfluidity in topologically nontrivial flat bands,” Nature [Communica-](http://dx.doi.org/10.1038/ncomms9944) tions 6, [8944](http://dx.doi.org/10.1038/ncomms9944) (2015). 44 Long Liang, Tuomas I. Vanhala, Sebastiano Peotta, Topi Siro, Ari Harju, and P¨aivi T¨orm¨a, “Band geometry, Berry [curvature, and superfluid weight,” Phys. Rev. B](http://dx.doi.org/ 10.1103/PhysRevB.95.024515) 95, 024515 [(2017).](http://dx.doi.org/ 10.1103/PhysRevB.95.024515) 45 Xiang Hu, Timo Hyart, Dmitry I. Pikulin, and Enrico Rossi, “Geometric and conventional contribution to the superfluid weight in twisted bilayer graphene,” [Phys.](http://dx.doi.org/ 10.1103/PhysRevLett.123.237002) Rev. Lett. 123, [237002](http://dx.doi.org/ 10.1103/PhysRevLett.123.237002) (2019). 46 Fang Xie, Zhida Song, Biao Lian, and B. Andrei Bernevig, “Topology-bounded superfluid weight in twisted bilayer graphene,” Physical Review [Letters](http://dx.doi.org/ 10.1103/physrevlett.124.167002) 124 (2020), [10.1103/physrevlett.124.167002.](http://dx.doi.org/ 10.1103/physrevlett.124.167002) 47 A. Julku, T. J. Peltonen, L. Liang, T. T. Heikkil¨a, and P. T¨orm¨a, “Superfluid weight and BerezinskiiKosterlitz-Thouless transition temperature of twisted bilayer graphene,” Phys. Rev. B [101](http://dx.doi.org/10.1103/PhysRevB.101.060505), 060505 (2020). 48 Xiang Hu, Timo Hyart, Dmitry I. Pikulin, and Enrico Rossi, “Quantum-metric-enabled exciton condensate in double twisted bilayer graphene,” (2020), arXiv:2008.03241 [[cond-mat.mes-hall].](http://arxiv.org/abs/2008.03241) 49 Guang Bian, Tay-Rong Chang, Hao Zheng, Saavanth Velury, Su-Yang Xu, Titus Neupert, Ching-Kai Chiu, ShinMing Huang, Daniel S. Sanchez, Ilya Belopolski, Nasser Alidoust, Peng-Jen Chen, Guoqing Chang, Arun Bansil, Horng-Tay Jeng, Hsin Lin, and M. Zahid Hasan, “Drumhead surface states and topological nodal-line fermions in TlTaSe2,” Phys. Rev. B [93](http://dx.doi.org/ 10.1103/PhysRevB.93.121113), 121113 (2016). 50 Alexander Lau and Carmine Ortix, “Topological semimetals in the SnTe material class: Nodal lines and Weyl points,” Phys. Rev. Lett. [122](http://dx.doi.org/10.1103/PhysRevLett.122.186801), 186801 (2019). 51 Ai Yamakage, Youichi Yamakawa, Yukio Tanaka, and Yoshihiko Okamoto, “Line-node Dirac semimetal and topological insulating phase in noncentrosymmetric pnictides CaAgX (X = P, As),” [Journal](http://dx.doi.org/10.7566/JPSJ.85.013708) of the Physical Society of Japan 85, 013708 (2016), [https://doi.org/10.7566/JPSJ.85.013708.](http://arxiv.org/abs/https://doi.org/10.7566/JPSJ.85.013708) 52 N. Xu, Y. T. Qian, Q. S. Wu, G. Aut`es, C. E. Matt, B. Q. Lv, M. Y. Yao, V. N. Strocov, E. Pomjakushina, K. Conder, N. C. Plumb, M. Radovic, O. V. Yazyev, T. Qian, H. Ding, J. Mesot, and M. Shi, “Trivial topological phase of CaAgP and the topological nodal-line transition in CaAg(P1 _−x_ As _x_ ),” Phys. Rev. B [97](http://dx.doi.org/10.1103/PhysRevB.97.161111), 161111 (2018). 53 Giuseppe Cuono, Carmine Autieri, Filomena Forte, Maria Teresa Mercaldo, Alfonso Romano, Adolfo Avella, and Canio Noce, “A minimal tight-binding model for the quasi-one-dimensional superconductor K2Cr3As3,” [New](http://dx.doi.org/10.1088/1367-2630/ab2489) Journal of [Physics](http://dx.doi.org/10.1088/1367-2630/ab2489) 21, 063027 (2019). 54 Y. L. Tang, Y. L. Zhu, Y. Liu, Y. J. Wang, and X. L. Ma, “Giant linear strain gradient with extremely low elastic energy in a perovskite nanostructure array,” [Nature](http://dx.doi.org/ 10.1038/ncomms15994) Communications 8, 15994 (2017). 55 Masaki Goda, Shinya Nishino, and Hiroki Matsuda, “Inverse anderson transition caused by flatbands,” Physical review letters 96, 126401 (2006). 56 Bo Song, Chengdong He, Sen Niu, Long Zhang, Zejian Ren, Xiong-Jun Liu, and Gyu-Boong Jo, “Observation of nodal-line semimetal with ultracold fermions in an optical lattice,” Nature Physics [15](http://dx.doi.org/ 10.1038/s41567-019-0564-y), 911–916 (2019). 57 Tomoki Ozawa, Hannah M. Price, Alberto Amo, Nathan Goldman, Mohammad Hafezi, Ling Lu, Mikael C. Rechtsman, David Schuster, Jonathan Simon, Oded Zilberberg, [and Iacopo Carusotto, “Topological photonics,” Rev. Mod.](http://dx.doi.org/10.1103/RevModPhys.91.015006) Phys. 91, [015006](http://dx.doi.org/10.1103/RevModPhys.91.015006) (2019). 58 J. Nissinen and G. E. Volovik, “Dimensional crossover of effective orbital dynamics in polar distorted <sup>3</sup> He _−_ A: Transitions to antispacetime,” Phys. Rev. D [97](http://dx.doi.org/10.1103/PhysRevD.97.025018), 025018 (2018). 59 Alexander Lau, Timo Hyart, Carmine Autieri, Anffany Chen, and Dmitry I. Pikulin, “Designing threedimensional flat bands in nodal-line semimetals,” [zen-](http://dx.doi.org/ 10.5281/zenodo.3993298) odo.3993298 (2020), 10.5281/zenodo.3993298. 60 M. B. Schilling, L. M. Schoop, B. V. Lotsch, M. Dressel, and A. V. Pronin, “Flat optical conductivity in ZrSiS due to two-dimensional Dirac bands,” Phys. Rev. Lett. 119, [187401](http://dx.doi.org/ 10.1103/PhysRevLett.119.187401) (2017). 61 Valerio Peri, Zhida Song, B. Andrei Bernevig, and Sebastian D. Huber, “Fragile topology and flat-band superconductivity in the strong-coupling regime,” (2020), arXiv:2008.02288 [[cond-mat.supr-con].](http://arxiv.org/abs/2008.02288) 62 Takahiro Fukui, Yasuhiro Hatsugai, and Hiroshi Suzuki, “Chern numbers in discretized Brillouin zone: Efficient method of computing (spin) Hall conductances,” [Journal](http://dx.doi.org/ 10.1143/jpsj.74.1674) of the Physical Society of Japan 74, 1674–1677 (2005). 63 Hassan Shapourian, Taylor L. Hughes, and Shinsei Ryu, “Viscoelastic response of topological tight-binding models in two and three dimensions,” Phys. Rev. [B](http://dx.doi.org/10.1103/PhysRevB.92.165131) 92, 165131 [(2015).](http://dx.doi.org/10.1103/PhysRevB.92.165131) 64 T. Hyart, R. Ojaj¨arvi, and T. T. Heikkil¨a, “Two topologically distinct Dirac-line semimetal phases and topological phase transitions in rhombohedrally stacked honeycomb lattices,” Journal of Low [Temperature](http://dx.doi.org/ 10.1007/s10909-017-1846-3) Physics 191, 35–48 [(2018).](http://dx.doi.org/ 10.1007/s10909-017-1846-3) 65 A. H. Castro Neto, F. Guinea, N. M. R. Peres, K. S. Novoselov, and A. K. Geim, “The electronic properties of graphene,” Rev. Mod. Phys. [81](http://dx.doi.org/10.1103/RevModPhys.81.109), 109–162 (2009). 66 N. B. Kopnin, M. Ij¨as, A. Harju, and T. T. Heikkil¨a, “High-temperature surface superconductivity in rhombohedral graphite,” Phys. Rev. B [87](http://dx.doi.org/ 10.1103/PhysRevB.87.140503), 140503 (2013). 67 G. Kresse and J. Furthm¨uller, “Efficiency of ab-initio total energy calculations for metals and semiconductors using a plane-wave basis set,” Comput. Mat. [Sci.](http://dx.doi.org/ 10.1016/0927-0256%0x2896%0x2900008-0) 6, 15–50 (1996). 68 G. Kresse and D. Joubert, “From ultrasoft pseudopotentials to the projector augmented-wave method,” [Phys.](http://dx.doi.org/ 10.1103/PhysRevB.59.1758) Rev. B 59, [1758–1775](http://dx.doi.org/ 10.1103/PhysRevB.59.1758) (1999). 69 J. P. Perdew, K. Burke, and M. Ernzerhof, “Generalized gradient approximation made simple,” Phys. [Rev.](http://dx.doi.org/10.1103/PhysRevLett.77.3865) Lett. 77, [3865–3868](http://dx.doi.org/10.1103/PhysRevLett.77.3865) (1996). 70 N. Marzari and D. Vanderbilt, “Maximally localized generalized Wannier functions for composite energy bands,” Phys. Rev. B 56, [12847–12865](http://dx.doi.org/10.1103/PhysRevB.56.12847) (1997). 71 I. Souza, N. Marzari, and D. Vanderbilt, “Maximally local[ized Wannier functions for entangled energy bands,” Phys.](http://dx.doi.org/ 10.1103/PhysRevB.65.035109) Rev. B 65, 035109 (2001). 72 A. A. Mostofi, J. R. Yates, Y. S. Lee, I. Souza, D. Vander bilt, and N. Marzari, “Wannier90: A tool for obtaining maximally-localised Wannier functions,” [Comput.](http://dx.doi.org/10.1016/j.cpc.2007.11.016) Phys. Comm. 178, 685–699 (2008). 73 Note that this comes at considerably greater computational cost: previously, for each momentum ( _kx, ky_ ) we had to diagonalize a 2 _Nz_ _×_ 2 _Nz_ matrix to obtain the energies and states of the system, where _Nz_ is the number of lattice sites in the _z_ direction. Now, we instead have to deal with a matrix of size 2 _NzNx_ _×_ 2 _NzNx_ for each _ky_, with _Nx_ the number of sites in the _x_ direction. Appendix A: Strain-induced pseudo-magnetic field In the tight-binding model the strain changes the _x_ -bond length, which is implemented by a factor (1 _−_ _u_ 11) in front of cos _kx_ (see Sec. H). Depending on the orbital structure also other modifications may appear, but these non-universal contributions are neglected in our consideration of the two-band NLSM model in this section (For completeness, we consider the effects of the non-universal orbital-mixing strain terms in Sec. L and demonstrate that they do not significantly influence our results.) Thus, the Hamiltonian in the presence of strain is assumed to be _H_ ˜ ( _k_ ) = _σ_ <sup>_z_</sup> [6 _t −_ _t_ 1 _−_ 2 _t_ (1 _−_ _u_ 11) cos _kx −_ 2 _t_ _i_ = _y,z_ cos _ki_ ] + 2 _t_ 2 _σ_ <sup>_x_</sup> sin _kz_ (A1) We assume that the radius of the nodal loop _Q_ is small and expand the Hamiltonian near an arbitrary nodal point Q = _Q_ (cos _θ,_ sin _θ_ ) = _Q_ Q <sup>ˇ</sup>, where _θ_ is the polar angle in momentum space. In this way, we obtain _h_ ( _q_ ) = 2 _tσ_ <sup>_z_</sup> _Qx_ _qx_ + <sup>_<u>u</u>_</sup> <sup><u>11</u></sup> _Q_ <sup>cos</sup> <sup>_θ_</sup> + 2 _tσ_ <sup>_z_</sup> _Qy_ _qy_ + <sup>_<u>u</u>_</sup> <sup><u>11</u></sup> _Q_ <sup>sin</sup> <sup>_θ_</sup> + 2 _t_ 2 _σ_ <sup>_x_</sup> _qz,_ (A2) where q = _q_ (cos _θ,_ sin _θ_ ) = _q_ Q <sup>ˇ</sup> describes the deviation of the momentum from the nodal line. Notice that both here and in the following sections _q_ takes both positive and negative values, _i.e._, it is not the absolute value of q . The Hamiltonian _h_ ( _q_ ) is parameterized by three independent parameters: _θ_, _q_, and _qz_ . The strain term _u_ 11 can be divided between _qx_ and _qy_ in such a way that the pseudo-magnetic field B 5 is continuous around the nodal loop. To see this, we notice that the strain-induced gauge potential is _A_ 5 = _−_ <sup>_<u>u</u>_</sup> <sup><u>11ℏ</u></sup> (A3) _eQ_ <sup>(cos</sup> <sup>_θ,_</sup> <sup>sin</sup> <sup>_θ,_</sup> <sup>0)</sup> <sup>_,_</sup> leading to the pseudo-magnetic field given by Eq. (2) in the main text ℏ B 5 = _∇×_ _A_ 5 = _eRQ_ <sup>(sin</sup> <sup>_θ, −_</sup> <sup>cos</sup> <sup>_θ,_</sup> <sup>0)</sup> <sup>_._</sup> (A4) This can be used to define the pseudo-magnetic length _lB_ = ℏ _/eB_ 5 = <sup>_√_</sup> _RQ_ . The structure of the pseudo-magnetic field in k -space is illustrated in Fig. 4. ~~�~~ Appendix B: Bulk wave functions for the lowest pseudo Landau level All pseudo-Landau levels of the Hamiltonian (A2) can be obtained analytically. We skip the explicit derivation here as it is analogous to the derivation of the Landau-level solutions for graphene. We concentrate on the zeroth Landau-level wave functions, which can be written as _e_ <sup>_i_</sup> <sup>(</sup> <sup>Q</sup> <sup>+</sup> <sup>q</sup> <sup>)</sup> <sup>_·_</sup> <sup>r</sup> <u>�</u> _πlz_ <sup>2</sup> - <u>1</u> _e_ <sup>_−ξ_</sup> _q_ <sup>2</sup> <sup>_/_</sup> <sup>2</sup> _,_ (B1) �1 _/_ 4 1 _i_ Ψ0 Q _,_ q <u>1</u> = 2 _LxLy_ ~~�~~ <sup>localization</sup> where _ξq_ = ( _z_ + _zq_ ) _/lz_, _zq_ = _qlB_ <sup>2</sup> _B_ <sup>2</sup> <sup>and</sup> <sup>the</sup> <sup>localization</sup> <sup>length</sup> <sup>in</sup> <sup>the</sup> <sup>_z_</sup> <sup>-direction</sup> <sup>is</sup> <sup>given</sup> <sup>by</sup> _lz_ = _tQ_ <sup>_lB._</sup> (B2) - _<u>t</u>_ <u>2</u> ## R > 0 ## R < 0 Q B 5 Q _ky_ B 5 _kx_ Figure 4. Sketch of the momentum-dependent pseudo-magnetic field B 5 along the nodal loop (red dotted line). Here, the factor _tQt_ <u>2</u> <sup>describes</sup> <sup>the</sup> <sup>elongation</sup> <sup>of</sup> <sup>the</sup> <sup>elliptical</sup> <sup>semiclassical</sup> <sup>cyclotron</sup> <sup>orbit</sup> <sup>in</sup> <sup>the</sup> <sup>_z_</sup> <sup>-direction.</sup> One can also perform a gauge transformation so that the wave function is localized in the� _x_ _−_ _y_ plane and is a plane wave in the _z_ -direction. In that case, the localization length is Here, the factor _lxy_ = _<u>tQ</u>_ _t_ 2 _t_ 2 _<u>B</u>_ _lB_ = <sup>_<u>l</u>_</sup> <sup>2</sup> _lz_ _._ (B3) Here, the factor _<u>tQt</u>_ 2 <sup>describes</sup> <sup>the</sup> <sup>elongation</sup> <sup>of</sup> <sup>the</sup> <sup>elliptical</sup> <sup>cyclotron</sup> <sup>orbit</sup> <sup>within</sup> <sup>the</sup> <sup>_x −_</sup> <sup>_y_</sup> <sup>plane.</sup> <sup>This</sup> <sup>trans-</sup> formation is in analogy ~~�~~ with the gauge transformation that can be performed on Landau-level wavefunctions in two dimensions. Here, the factor _<u>tQt</u>_ 2 analogy ~~�~~ Appendix C: Effective Hamiltonian for the connection of drumhead surface states to lowest pseudo-Landau level To simplify our considerations, we look at solutions along a specific cut through momentum space. Without loss of generality, we choose _Qy_ = 0 for a circular nodal line. Along this cut, after performing a basis rotation in the space of Pauli matrices of the form _σz_ _→_ _σx_ and _σx_ _→_ _σy_, the effective nodal-line Hamiltonian under strain is _−_ 2 _iσyt_ 2 _∂z._ (C1) _h_ ( _qx_ ) = 2 _σxQ_ _<u>z</u>_ _q_ + _RQ_ By denoting Ψ _q_ ( _x, z_ ) = _e_ <sup>_iqx_</sup> Φ( _z_ ) = _e_ <sup>_iqx_</sup> ( _φ_ 1 _, φ_ 2) <sup>_T_</sup> and assuming _E_ = 0, we obtain two uncoupled equations _∂zφ_ 1 _−_ _φ_ 1 _/lS_ + <sup>_<u>z</u>_</sup> _lz_ <sup>2</sup> _∂zφ_ 1 _−_ _φ_ 1 _/lS_ + <sup>_<u>z</u>_</sup> _lz_ <sup>2</sup> _∂zφ_ 2 + _φ_ 2 _/lS_ _−_ <sup>_<u>z</u>_</sup> _lz_ <sup>2</sup> _∂zφ_ 2 + _φ_ 2 _/lS_ _−_ <sup>_<u>z</u>_</sup> _φ_ 1 = 0 _,_ (C2) _φ_ 2 = 0 _,_ (C3) We require that the solutions Φ( _z_ ) = ( _φ_ 1 _, φ_ 2) <sup>_T_</sup> satisfy boundary conditions _φ_ 1( _z_ = _−L/_ 2) = _φ_ 2( _z_ = _L/_ 2) _≈_ 0 up to corrections exponentially small in 1 _/L_ . 1. Drumhead surface states in the unstrained model We start by inspecting the solutions of the unstrained limit, _i.e._, in the limit _lz_ _→∞_ . In this case, the solutions are the drumhead surface states discussed in the main text, which in the new basis can be written as Φtop( _z_ ) = Φbot( _z_ ) = <u>1</u> _lS_ sinh( _L/lS_ ) <u>�</u> <u>1</u> <u>1</u> _lS_ sinh( _L/lS_ ) _e_ <sup>+</sup> <sup>_z/lS_</sup> _,_ 0 _._ (C5) �0 _, e_ <sup>_−z/lS_</sup> <sup>�</sup> (C4) - _._ (C5) These solutions are states localized to opposite surfaces (top and bottom) and decay exponentially into the interior of the system. 2. Drumhead surface states and pseudo-Landau levels in the presence of strain Once we switch on the strain, we obtain the following general solutions <sup>_<u>z</u>_</sup> <sup>2</sup> 2 _l_ <sup><u>2</u></sup> _z_ _,_ (C6) Φ( _z_ ) = ( _φ_ 1 _, φ_ 2) = _A e_ <sup>+</sup> <sup>_z/lS_</sup> _e_ _−_ <sup>_<u>z</u>_</sup> <sup>2</sup> <sup>_<u>z</u>_</sup> <sup>2</sup> + <sup>_<u>z</u>_</sup> <sup>2</sup> 2 _l_ <sup><u>2</u></sup> _z_ _, B e_ <sup>_−z/l_</sup> _S e_ 2 _l_ <sup><u>2</u></sup> _z_ We immediately see that the drumhead-state solutions are recovered in the limit _lz_ _→∞_ . At finite strain, the drumhead state from the _top_ _surface_, corresponding to _φ_ 1, evolves into a PLL bulk state _e_ �1 _/_ 4 _<u>L−</u>_ <u>2</u> _<u>qlB</u>_ <sup>2</sup> 2 _lz_ + Erf _<u>L</u>_ <u>+2</u> _<u>qlB</u>_ <sup>2</sup> 2 _lz_ _<u>B</u>_ 2 _lz_ _φ_ 1( _z_ ) = _~~√~~_ <u>1</u> _N_ 1 <u>4</u> _πlz_ <sup>2</sup> _−_ 21 _l_ <sup><u>2</u></sup> _z_ <sup>(</sup> <sup>_z_</sup> <sup>+</sup> <sup>_ql_</sup> _B_ <sup>2</sup> <sup>)</sup> 2 _,_ _N_ 1 = Erf _,_ (C7) _<u>B</u>_ 2 _lz_ where Erf( _ξ_ ) is the Gauss error function. Interestingly, this solution satisfies the boundary condition _φ_ 1( _z_ = _−L/_ 2) _≈_ 0 also for _q_ _>_ 0. Hence, the radius of the plateau of zero-energy states grows with the system width. On the other hand, the drumhead state from the _bottom_ _surface_, corresponding to _φ_ 2, does not evolve into a PLL bulk state. It is modulated with a function _e_ <sup>_z_</sup> <sup>2</sup> and therefore grows faster than exponentially for _z_ _→±∞_ . For sufficiently small strain, we nevertheless expect to recover a state localized to the bottom surface that decays into the interior. By completing the square and normalizing the wave function, we obtain _e_ �1 _/_ 4 _<u>L</u>_ <u>+2</u> _<u>qlB</u>_ <sup>2</sup> 2 _lz_ _<u>L−</u>_ <u>2</u> _<u>qlB</u>_ <sup>2</sup> 2 _lz_ _<u>B</u>_ 2 _lz_ _φ_ 2( _z_ ) = _~~√~~_ <u>1</u> _N_ 2 <u>4</u> _πlz_ <sup>2</sup> 21 _l_ <sup><u>2</u></sup> _z_ <sup>(</sup> <sup>_z_</sup> <sup>+</sup> <sup>_ql_</sup> _B_ <sup>2</sup> <sup>)</sup> 2 _,_ _N_ 2 = Erfi 2 _,_ _N_ 2 = Erfi + Erfi _<u>B</u>_ 2 _lz_ _,_ (C8) where we have used the imaginary error function Erfi( _ξ_ ) = _−i_ Erf( _iξ_ ). As before, this solution is subject to the boundary condition _φ_ 2( _z_ = _L/_ 2) _≈_ 0. This condition will be satisfied as long as the turning point of _φ_ 2, where its slope changes from negative to positive, is beyond the boundary of the system at _z_ = _L/_ 2. This turning point is at _−qlB_ <sup>2</sup> <sup>.</sup> <sup>Hence,</sup> <sup>_φ_</sup> <sup>2</sup> <sup>is</sup> <sup>only</sup> <sup>a</sup> <sup>valid</sup> <sup>solution</sup> <sup>for</sup> <sup>momenta</sup> <sup>deep</sup> <sup>inside</sup> <sup>the</sup> <sup>nodal</sup> <sup>circle,</sup> <sup>not</sup> <sup>even</sup> <sup>at</sup> <sup>_kx_</sup> <sup>=</sup> <sup>_±Q_</sup> <sup>(</sup> <sup>_qx_</sup> <sup>=</sup> <sup>0),</sup> which would contradict our numerical findings. This problem can be resolved by defining the approximate analytical solution as <u>1</u> ˜ _N_ 2 <sup>_e_</sup> _~~√~~_ <u>1</u> + <sup>_<u>z</u>_</sup> <sup>2</sup> 2 _l_ <sup><u>2</u></sup> _z_ _−L/_ 2 _≤_ _z_ _< −qlB_ <sup>2</sup> _B_ _φ_ ˜2( _z_ ) =      <u>1</u> ˜ _N_ 2 <sup>_e−z/lS e_</sup> _B_ <sup>2</sup> <sup>+</sup> <sup>_√πlz_</sup> <sup>Erfi</sup> (C9) _q_ <sup>2</sup> _l_ <sup>4</sup> _<u>B</u>_ 2 _l_ <sup><u>2</u></sup> _z_ _−qlB_ <sup>2</sup> _B_ <sup>2</sup> <sup>_≤_</sup> <sup>_z_</sup> <sup>_≤_</sup> <sup>_L/_</sup> <sup>2</sup> _~~√~~_ <u>1</u> _−_ with _<u>L−</u>_ <u>2</u> _<u>qlB</u>_ <sup>2</sup> 2 _lz_ <u>�</u> _<u>B</u>_ 2 _lz_ <u>�</u> _N_ ˜2 = _L_ + 2 _ql_ <sup>2</sup> 2 _e_ <sup>_q_</sup> <sup>2</sup> <sup>_l_</sup> _B_ <sup>4</sup> <sup>_/l_</sup> _z_ <sup>2</sup> _._ (C10) _z_ <sup>2</sup> 3. Effective model in the presence of strain Using the approximate solutions Φ1 = ( _φ_ 1 _,_ 0) and Φ2 = (0 _, φ_ 2), we will now write down an effective Hamiltonian for the flat-band states. For that, we make use of our insights from numerics: the degenerate states are at zero energy in the interior of the flat band, whereas they split and acquire a finite dispersion at the flat-band boundary. This is due to the Landau-level state shifting towards the bottom surface where the other state is localized. The two states hybridize due to the surface effects, and we model this by introducing an effective coupling _Hij_ ( _q_ ) = _δ⟨_ Φ _i_ ( _q_ ) _|σx|_ Φ _j_ ( _q_ ) _⟩,_ (C11) where the strength of the coupling _δ_ can be determined by fitting the energies of the effective model _E_ ( _q_ ) = _±H_ 12( _q_ ) to the numerical results obtained from the full tight-binding Hamiltonian. The coupling _H_ 12( _q_ ) can be expressed as <u>2</u> _<u>L/lz</u>_ <u>�</u> _{_ <sup>Erf[(</sup> <sup>_L/_</sup> <sup>2</sup> <sup>_−ql_</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>] + Erf[(</sup> <sup>_L/_</sup> <sup>2+</sup> <sup>_ql_</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>]</sup> <sup>_}{_</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>] + Erf[(</sup> <sup>_L/_</sup> <sup>2+</sup> <sup>_ql_</sup> _B_ <sup>2</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>]</sup> <sup>_}{_</sup> <sup>Erfi[(</sup> <sup>_L/_</sup> <sup>2</sup> <sup>_−ql_</sup> _B_ <sup>2</sup> _<u>B</u>_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>+ (2</sup> <sup>_π_</sup> <sup>)1</sup> <sup>_/_</sup> <sup>2</sup> <sup>Erf[(</sup> <sup>_L/_</sup> <sup>2+</sup> <sup>_ql_</sup> <sup>2</sup> ( _L−_ 2 _qlB_ <sup>2</sup> _<u>B</u>_ <sup>2</sup> <sup>)</sup> <sup>_/√_</sup> _−qlB_ <sup>2</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>_/lz}_</sup> <sup>_,_</sup> (C12) _<u>δ</u>_ _H_ 12( _q_ ) = _~~√~~_ _<u>π</u>_      ( _L−_ 2 _qlB_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>+ (2</sup> <sup>_π_</sup> <sup>)1</sup> <sup>_/_</sup> <sup>2</sup> <sup>Erf[(</sup> <sup>_L/_</sup> <sup>2+</sup> <sup>_ql_</sup> <sup>2</sup> 2 _lz_ <sup>2</sup> ] <u>�</u> _{_ <sup>Erf[(</sup> <sup>_L/_</sup> <sup>2</sup> <sup>_−ql_</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>] + Erf[(</sup> <sup>_L/_</sup> <sup>2+</sup> <sup>_ql_</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>]</sup> <sup>_}{_</sup> <sup>Erfi[(</sup> <sup>_L/_</sup> <sup>2</sup> <sup>_−ql_</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>]+</sup> _B_ <sup>2</sup> <sup>_< L/_</sup> <sup>2</sup> _B_ <sup>2</sup> <sup>_> L/_</sup> <sup>2</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>]</sup> <sup>_}{_</sup> <sup>Erfi[(</sup> <sup>_L/_</sup> <sup>2</sup> <sup>_−ql_</sup> _B_ <sup>2</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>] + Erf[(</sup> <sup>_L/_</sup> <sup>2+</sup> <sup>_ql_</sup> _B_ <sup>2</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>]+</sup> <sup>_π−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2 (</sup> <sup>_L_</sup> <sup>+2</sup> <sup>_ql_</sup> <sup>2</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>]+Erfi[(</sup> <sup>_L/_</sup> <sup>2+</sup> <sup>_ql_</sup> <sup>2</sup> _−qlB_ <sup>2</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>_/lz_</sup> <sup>]</sup> <sup>_}_</sup> <sup>_,_</sup> and the agreement with the numerical results is excellent as shown in the main text. Appendix D: Mean field theory of flat-band magnetism We start by discussing the PLL ferromagnetism in the bulk. We point out that this theory describes several different types of magnetic order parameters because their projections to PLL bulk wave functions are the same. However, the surface effects distinguish some of these magnetic order parameters from each other, and in the end of the section we identify the magnetic order parameters favoured by the surface effects. The Coulomb interactions projected to the zeroth PLL wave functions [Eq. (B1)] are described by the Hamiltonian q _,_ q <sup>_′_</sup> q _,_ q <sup>_′_</sup> K _,_ k _H_ ˆ _I_ = <sup><u>1</u></sup> 2 _σ,σ_ <sup>_′_</sup> Q _,_ Q <sup>_′_</sup> Q _,_ Q <sup>_′_</sup> <sup>_†_</sup> Q _,_ q _,σ_ <sup>_c_</sup> <sup>ˆ</sup> Q <sup>_†_</sup> _VP_ ( q _,_ q <sup>_′_</sup> _,_ K _,_ k )ˆ _c_ <sup>_†_</sup> Q Q <sup>_†_</sup> <sup>_′_</sup> _,_ q <sup>_′_</sup> _,σ_ <sup>_′_</sup> <sup>_c_</sup> <sup>ˆ</sup> <sup>Q</sup> <sup>_′_</sup> <sup>+</sup> <sup>K</sup> <sup>_,_</sup> <sup>q</sup> <sup>_′_</sup> <sup>+</sup> <sup>k</sup> <sup>_,σ′c_</sup> <sup>ˆ</sup> <sup>Q</sup> <sup>_−_</sup> <sup>K</sup> <sup>_,_</sup> <sup>q</sup> <sup>_−_</sup> <sup>k</sup> <sup>_,σ,_</sup> (D1) _φ_ 0 _lz_ - _<u>z′</u>_ <u>+</u> _<u>z</u>_ <u>q</u> _′_ _φ_ 0 _φ_ 0 _lz_ - _<u>z′</u>_ <u>+</u> _<u>z</u>_ <u>q</u> _′_ <u>+</u> <u>k</u> _lz_ - _<u>z</u>_ <u>+</u> _<u>z</u>_ <u>q</u> _<u>−</u>_ <u>k</u> _,_ _dz_ _dz_ <sup>_′_</sup> _VC_ ( r _, z −_ _z_ <sup>_′_</sup> ) <sup>_<u>ei</u>_</sup> <sup>(</sup> <sup>K</sup> <sup>+</sup> <sup>k</sup> <sup>)</sup> <sup>_·_</sup> <sup>r</sup> _LxLy_ _VP_ ( q _,_ q <sup>_′_</sup> _,_ K _,_ k ) = _d_ <sup>2</sup> _r_ _φ_ 0 _lz_ - _<u>z</u>_ <u>+</u> _<u>z</u>_ <u>q</u> where _σ_ describes the spin of the electron, and <u>1</u> _φ_ 0( _ξ_ ) = _π_ <sup>1</sup> <sup>_/_</sup> <sup>4</sup> <sup>_~~√~~_</sup> _lz_ _e_ <sup>_−ξ_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2</sup> _,_ (D2) _<u>e</u>_ <sup>2</sup> _VC_ ( r _, z_ ) = _~~√~~_ _~~√~~_ 4 _πϵϵ_ 0 _r_ <sup>2</sup> + _z_ <sup>2</sup> <sup>_._</sup> (D3) Here the summations are subject to the restrictions: - Q, Q <sup>_′_</sup>, Q <sup>_′_</sup> + K and Q _−_ K are on the nodal line, - q and q <sup>_′_</sup> are perpendicular to the nodal line at the corresponding Q and Q <sup>_′_</sup>, respectively, - q <sup>_′_</sup> + k and q _−_ k are perpendicular to the nodal line at the points described by Q <sup>_′_</sup> + K and Q _−_ K, respectively. The Hartree-Fock approximation for _H_ <sup>ˆ</sup> _I_, assuming spatially homogeneous ferromagnetism, can then be implemented by assuming that _⟨c_ <sup>_†_</sup> Q _,_ q _,σ_ <sup>_c_</sup> <sup>Q</sup> <sup>_′,_</sup> <sup>q</sup> <sup>_′,σ′⟩̸_</sup> <sup>= 0</sup> <sup>_⇐⇒_</sup> <sup>Q</sup> <sup>=</sup> <sup>Q</sup> <sup>_′_</sup> <sup>,</sup> <sup>q</sup> <sup>=</sup> <sup>q</sup> <sup>_′_</sup> <sup>and</sup> <sup>_σ_</sup> <sup>=</sup> <sup>_σ′._</sup> (D4) The direction of the magnetization can be chosen arbitrarily due to the _SU_ (2)-symmetry, and here we have chosen it to be along the _z_ -direction. This way we obtain q _,_ q <sup>_′_</sup> q _,_ q <sup>_′_</sup> q _,_ q <sup>_′_</sup> _VP_ ( q _,_ q <sup>_′_</sup> _,_ Q _−_ Q <sup>_′_</sup> _,_ q _−_ q <sup>_′_</sup> ) _⟨c_ ˆ <sup>_†_</sup> Q <sup>_†_</sup> Q _,_ q _,σ_ <sup>_c_</sup> <sup>ˆ</sup> <sup>Q</sup> <sup>_,_</sup> <sup>q</sup> <sup>_,σ⟩c_</sup> <sup>ˆ</sup> <sup>_†_</sup> Q <sup>_†_</sup> Q <sup>_′_</sup> _,_ q <sup>_′_</sup> _,σ_ <sup>_′c_</sup> <sup>ˆ</sup> <sup>Q</sup> <sup>_′,_</sup> <sup>q</sup> <sup>_′,σ′_</sup> _H_ ˆ _I_ = _σ,σ_ <sup>_′_</sup> Q _,_ Q <sup>_′_</sup> _VP_ ( q _,_ q <sup>_′_</sup> _,_ 0 _,_ 0 ) _⟨c_ ˆ <sup>_†_</sup> <sup>_†_</sup> Q _,_ q _,σ_ <sup>_c_</sup> <sup>ˆ</sup> <sup>Q</sup> <sup>_,_</sup> <sup>q</sup> <sup>_,σ⟩c_</sup> <sup>ˆ</sup> <sup>_†_</sup> Q _σ,σ_ <sup>_′_</sup> _σ_ Q _,_ Q <sup>_′_</sup> (D5) Q _,_ Q <sup>_′_</sup> <sup>_†_</sup> Q <sup>_′_</sup> _,_ q <sup>_′_</sup> _,σ_ <sup>_c_</sup> <sup>ˆ</sup> <sup>Q</sup> <sup>_′,_</sup> <sup>q</sup> <sup>_′,σ_</sup> <sup>+ Const.</sup> _−_ _σ_ Q _,_ Q <sup>_′_</sup> q _,_ q <sup>_′_</sup> We now additionally assume that the density is a constant independent of the position _σ_ _⟨c_ <sup>_†_</sup> <sup>_†_</sup> Q _,_ q _,σ_ <sup>_c_</sup> <sup>Q</sup> <sup>_,_</sup> <sup>q</sup> <sup>_,σ⟩_</sup> <sup>=</sup> <sup>_C,_</sup> (D6) _σ_ where 0 _≤_ _C_ _≤_ 2 is the filling factor of the flat bands. Then the mean field Hamiltonian simplifies to a form _H_ ˆmf = Q _,_ q _C_ Q <sup>_†_</sup> _,_ q <sup>_H_</sup> <sup>mf</sup> <sup>_C_</sup> <sup>Q</sup> <sup>_,_</sup> <sup>q</sup> <sup>_,_</sup> (D7) where _C_ Q <sup>_†_</sup> Q <sup>_†_</sup> _,_ q <sup>= (</sup> <sup>_c_</sup> Q <sup>_†_</sup> Q <sup>_†_</sup> _,_ q _,↑_ <sup>_, c†_</sup> Q <sup>_†_</sup> Q _,_ q _,↓_ <sup>),</sup> _H_ mf = _mzσz_ _−_ _µσ_ 0 (D8) Figure 5. Phase diagrams based on the mean-field equations for (a) magnetic order and for (b) superconducting order. _V_ 0 and _G_ 0 are the interaction strengths, _mz_ is the magnetization, ∆is the superconducting gap, _µ_ is the chemical potential, and _C_ is the density. The green lines correspond to the analytical formulas of the critical temperatures _Tc_ . and q <sup>_′_</sup> _⟨c_ ˆ <sup>_†_</sup> Q _mz_ = _−_ <sup><u>1</u></sup> 2 Q <sup>_′_</sup> _._ (D9) _VP_ ( q _,_ q <sup>_′_</sup> _,_ Q _−_ Q <sup>_′_</sup> _,_ q _−_ q <sup>_′_</sup> ) <sup>_†_</sup> Q <sup>_′_</sup> _,_ q <sup>_′_</sup> _,↑_ <sup>_c_</sup> <sup>ˆ</sup> <sup>Q</sup> <sup>_′,_</sup> <sup>q</sup> <sup>_′,↑⟩−⟨c_</sup> <sup>ˆ</sup> <sup>_†_</sup> Q <sup>_†_</sup> Q <sup>_′_</sup> _,_ q <sup>_′_</sup> _,↓_ <sup>_c_</sup> <sup>ˆ</sup> <sup>Q</sup> <sup>_′,_</sup> <sup>q</sup> <sup>_′,↓⟩_</sup> The magnetization _mz_ is independent of Q and q due to the spatial homogeneity, and thus _mz_ and the chemical potential _µ_ should be solved self-consistently using Eqs. (D6) and (D9). By straightforward calculation we obtain the mean-field equations <u>sinh</u> _<u>βmz</u>_ _mz_ = <sup>_<u>V</u>_</sup> <sup><u>0</u></sup> _,_ (D10) 2 cosh _βµ_ + cosh _βmz_ <u>sinh</u> _<u>βµ</u>_ _C_ = 1 + cosh _βµ_ + cosh _βmz_ _,_ (D11) by reformulating them in terms of a algorithm based on Basin-hopping. The results where _β_ = 1 _/kBT_ and we have defined _V_ 0 = <sup>�</sup> Q <sup>_′_</sup> q <sup>_′ VP_</sup> <sup>(</sup> <sup>q</sup> <sup>_,_</sup> <sup>q</sup> <sup>_′,_</sup> <sup>Q</sup> <sup>_−_</sup> <sup>Q</sup> <sup>_′,_</sup> <sup>q</sup> <sup>_−_</sup> <sup>q</sup> <sup>_′_</sup> <sup>).</sup> <sup>We solve these equations numerically</sup> by reformulating them in terms of a minimization problem, for which we then compute the minima using a stochastic algorithm based on Basin-hopping. The results are� presented in Fig. 5(a). Furthermore, from the equations above it where _β_ = 1 _/kBT_ and we have defined _V_ 0 = <sup>�</sup> is easy to see that the critical temperature for magnetism depends on the filling factor as Q <sup>_′_</sup> _kBTc,m_ = <sup>_<u>V</u>_</sup> <sup><u>0</u></sup> (D12) 4 <sup>_C_</sup> <sup>(2</sup> <sup>_−_</sup> <sup>_C_</sup> <sup>)</sup> <sup>_._</sup> At zero temperature we obtain _mz_ ( _T_ = 0) = <sup>_<u>V</u>_</sup> <sup><u>0</u></sup> (D13) 2 <sup>(1</sup> <sup>_−|C −_</sup> <sup>1</sup> <sup>_|_</sup> <sup>)</sup> <sup>_._</sup> The interaction strength depends on the parameters of the model as exp 4 _lz_ <sup>2</sup> - _<u>r</u>_ 2 _rdr φ_ <sup>2</sup> 0 _~~√~~_ _<u>B</u>_ 2 _lz_ - - _<u>q′l</u>_ 2 _V_ 0 = <sup>_<u>QV</u>_</sup> _~~√~~_ <sup>_<u>Cd</u>_</sup> 2 _dq_ <sup>_′_</sup> 4 _lz_ <sup>2</sup> _K_ 0 4 _lz_ <sup>2</sup> - _<u>r</u>_ 2 4 _lz_ <sup>2</sup> _J_ 0[( _Q_ + _q_ <sup>_′_</sup> ) _r_ ] _J_ 0( _Qr_ ) _,_ (D14) 0.08 0.06 0.04 0.02 0 0 10 20 30 40 50 _R_ [ _µm_ ] Figure 6. Interaction strength _V_ 0 as a function of the curvature radius _R_ for the minimal model with _t_ = 0 _._ 21 eV, _t_ 1 = 0 _._ 25 _t_, _t_ 2 = 0 _._ 8 _t_, and the lattice constant set to _d_ = 0 _._ 97 nm. Figure 7. Magnetic spectra of the minimal model in a (001) slab geometry with parameters _t_ 1 = 0 _._ 25 _t_, _t_ 2 = 0 _._ 8 _t_, _R_ = 800, _L_ = 200, and _mz_ = 0 _._ 025 _t_ . The considered structure _σisj_ of the order parameter is indicated. The corresponding spectra for _mz_ = 0 are plotted with dashed lines. Only the spectrum in (c) is fully gapped. where _VC_ = _e_ <sup>2</sup> _/_ (4 _πϵϵ_ 0 _d_ ) with the lattice constant _d_ . Figure 6 shows the numerically calculated _V_ 0 as a function of the curvature radius _R_ . We have used model parameters estimated from a fit to the nodal line in CaAgP (see caption of Fig. 6), with the parameter _t_ 1 tuned from 0 _._ 85 _t_ to 0 _._ 25 _t_ to obtain a _√_ <u>smaller</u> nodal circle in agreement with our initial assumptions of sufficiently small _Q_ . We find that _V_ 0 scales like 1 _/_ _R_ . By using _R_ = 0 _._ 5 _µ_ m, we therefore estimate _√_ assumptions of sufficiently small _Q_ . We find that _V_ 0 scales like 1 _/_ _R_ . By using _R_ = 0 _._ 5 _µ_ m, we therefore estimate that _V_ 0 = 114 _._ 5 meV _/ϵ_ . We further estimate that typical values of the dielectric constant _ϵ_ for these materials are on the order of 100. Hence, critical temperatures can be on the order of _Tc,m_ = 3 K. Notice that we have assumed a larger dielectric constant than typically observed in bulk semimetals <sup>60</sup> . The reason is that the enhanced density of states in our system is expected to lead to larger screening effects. We also point out that the relevant length scales in our problem are similar to those in twisted bilayer graphene and our estimate for the critical temperature agrees with the experimentally observed critical temperatures in that system. Thus, our estimate can be considered conservative guided by the current knowledge about its 2D analogue, twisted bilayer graphene, but it might also be possible to observe larger critical temperatures in nodal-line semimetals due to larger stability to fluctuations in 3D and larger variability of parameters with strain. We point out that our calculation is compatible with various types of spatially uniform magnetic orders because they can lead to the same projected order parameter within the low-energy theory. For this purpose we now consider the order parameters of the form _M_ = _mjσisj_, where Pauli matrices _σi_ ( _i_ = 0 _, x, y, z_ ) and _sj_ ( _j_ = _x, y, z_ ) correspond to the orbital and spin degrees of freedom, respectively. Due to the _SU_ (2) spin symmetry of the nonmagnetic phase, we can restrict our considerations to the case _j_ = _z_ . The zeroth PLL wavefunctions are eigenstates of _σy_, and therefore for order parameters with _σxsz_ and _σzsz_ the bulk PLL states stay at zero energy such that the system remains gapless. Thus, these order parameters are not energetically favored. On the other hand, order parameters _σ_ 0 _sz_ and _σysz_ lead to the same projected order parameter within the PLL states and open a gap in the bulk. Thus, both of these order parameters are compatible with the calculation given above and good candidates for the ground state. However, there is a further distinction between these order parameters when the surface effects are taken into account as shown in Fig. 7. The order parameter _σysz_ gives rise to a full gap both in the bulk and at the surface, but the order parameter _σ_ 0 _sz_ just shifts the two spin blocks of the Hamiltonian oppositely in energy so that the two shifted sets of bands cross at the edge of the flat bands. Therefore, we expect that the order parameter _σysz_ will be energetically favored. To shed light on the structure of this order parameter, we perform a change of basis through _M_ <sup>˜</sup> = _U_ <sup>_†_</sup> _MU_ with <u>1</u> _U_ = _~~√~~_ 2 1 1 _⊗_ _s_ 0 _._ (D15) _i_ _−i_ - In this basis the order parameter _M_ <sup>˜</sup> = _mz_ ˜ _σzsz_ is diagonal, and the magnetic order is staggered with respect to PLL bulk states and drumhead states at the bottom surface. In particular, if we restrict ourselves to the subspace of PLL bulk states, this corresponds to a ferromagnetic order parameter. Therefore, the calculations for the magnetic phase of the PLL bulk states, presented at the beginning of this section, is fully compatible also with respect to this order parameter. Appendix E: Mean field theory for flat-band superconductivity When considering an attractive interaction between electrons within the reduced BCS Hamiltonian approach, the pairing Hamiltonian takes the form <sup>_†_</sup> _−_ Q _−_ q _↓_ <sup>_c_</sup> <sup>Q</sup> <sup>_′_</sup> <sup>q</sup> <sup>_′↑c−_</sup> <sup>Q</sup> <sup>_′−_</sup> <sup>q</sup> <sup>_′↓,_</sup> (E1) _H_ pairing = Q _,_ Q <sup>_′_</sup> _,_ q _,_ q <sup>_′_</sup> _GP_ ( _q, q_ <sup>_′_</sup> ) _c_ <sup>_†_</sup> <sup>_†_</sup> Qq _↑_ <sup>_c†_</sup> _−_ where the projected two-particle interaction potential, corresponding to an effective on-site attraction _V_ ( r 1 _,_ r 2) = _−gδ_ ( r 2 _−_ r 1), is _φ_ <sup>2</sup> 0 _lz_ - - _<u>z</u>_ <u>+</u> _<u>zq′</u>_ _._ (E2) _<u>g</u>_ _GP_ ( _q, q_ <sup>_′_</sup> ) = _LxLy_ _dz_ _φ_ <sup>2</sup> 0 _lz_ - - _<u>z</u>_ <u>+</u> _<u>zq</u>_ Here _g_ _>_ 0 corresponds to the attractive interaction. Therefore, the gap equation can be written as ∆( Q _,_ q ) = Q <sup>_′_</sup> q <sup>_′_</sup> _GP_ ( _q, q_ <sup>_′_</sup> ) _⟨c_ Q _′_ q _′↑c−_ Q _′−_ q _′↓⟩._ (E3) This equation should be solved self-consistently in the presence of the density constraint Qq _C_ = 2 _⟨c_ <sup>_†_</sup> <sup>_†_</sup> Qq _↑_ <sup>_c_</sup> <sup>Qq</sup> <sup>_↑⟩._</sup> (E4) Qq Assuming a homogeneous order parameter ∆( Q _,_ q ) = ∆, we obtain _._ (E5) _β_ ∆ <sup>2</sup> + _µ_ <sup>2</sup> _/_ 2 <u>�</u> ∆= _G_ 0 <u>∆</u> and where we have defined 2 ~~<u>�</u>~~ _µ_ <sup>2</sup> + ∆ <sup>2</sup> <sup>tanh</sup> _<u>µ</u>_ _C_ = 1 + _µ_ <sup>2</sup> + ∆ <sup>2</sup> <sup>tanh</sup> _β_ ~~�~~ _β_ ∆ <sup>2</sup> + _µ_ <sup>2</sup> _/_ 2 _,_ (E6) <u>�</u> _,_ (E6) _G_ 0 = Q <sup>_′_</sup> q <sup>_′_</sup> Q <sup>_′_</sup> q <sup>_′_</sup> _GP_ (0 _, q_ <sup>_′_</sup> ) = <sup>_<u>gQ</u>_</sup> 2 _πlB_ <sup>2</sup> _GP_ (0 _, q_ <sup>_′_</sup> ) = <sup>_<u>gQ</u>_</sup> _._ (E7) From these equations one obtains a general solution for _µ_ (valid at all temperatures) given by _µ_ = <sup>_<u>G</u>_</sup> 2 <sup><u>0</u></sup> <sup>(</sup> <sup>_C −_</sup> <sup>1)</sup> (E8) and then ∆0 can be solved from Eq. (E5) as a function of temperature. At zero temperature we get ∆( _T_ = 0) = <sup>_<u>G</u>_</sup> <sup><u>0</u></sup> 2 _C_ (2 _−_ _C_ ) (E9) ~~�~~ and the critical temperature is given by _<u>C −</u>_ <u>1</u> _kBTc,sc_ = <sup>_<u>G</u>_</sup> <sup><u>0</u></sup> (E10) 4 arctanh( _C −_ 1) <sup>_._</sup> Moreover, we have also solved the mean-field equations numerically [see Fig. 5(b)]. Similarly as in the case of magnetism, the largest order parameter ∆( _T_ = 0) = _G_ 0 _/_ 2 and critical temperature _kBTc,sc_ = _G_ 0 _/_ 4 for superconductivity are obtained at half filling, but the important qualitative difference is that when the system is doped away from half filling the critical temperature for superconductivity decreases more slowly than the critical temperature for magnetism. For typical model parameters (see caption of Fig. 6), _R_ = 0 _._ 5 _µ_ m, and _g_ = 1 _._ 0 eV nm <sup>3</sup>, the effective interaction strength is _G_ 0 = 0 _._ 3 meV indicating that the critical temperature can be on the order of _Tc,sc_ = 1 K. Appendix F: Out-of-plane superfluid stiffness In this section, we calculate the superfluid stiffness in the _z_ -direction by studying the energy cost of creating a phase-gradient ∆( _z_ ) = ∆0 exp( _ikz_ ) similarly as in Refs. 6 and 42. In our formalism, we can conveniently study this by assuming that _f_ ( _z_ ) = _f_ ( _−qlB_ <sup>2</sup> <sup>)</sup> <sup>=</sup> <sup>_⟨c_</sup> <sup>Qq</sup> <sup>_↑c−_</sup> <sup>Q</sup> <sup>_−_</sup> <sup>q</sup> <sup>_↓⟩_</sup> <sup>=</sup> <sup>_f_</sup> <sup>0 exp</sup> _−ikqlB_ <sup>2</sup> . For simplicity, we assume _T_ _→_ 0, _C_ _→_ 1 and phase-gradient ∆( _z_ ) = ∆0 exp( _ikz_ ) similarly as in Refs. 6 and 42. In our formalism, we can conveniently study this by assuming that _f_ ( _z_ ) = _f_ ( _−qlB_ <sup>2</sup> <sup>)</sup> <sup>=</sup> <sup>_⟨c_</sup> <sup>Qq</sup> <sup>_↑c−_</sup> <sup>Q</sup> <sup>_−_</sup> <sup>q</sup> <sup>_↓⟩_</sup> <sup>=</sup> <sup>_f_</sup> <sup>0 exp</sup> _−ikqlB_ <sup>2</sup> . For simplicity, we assume _T_ _→_ 0, _C_ _→_ 1 and _k_ _→_ 0, so that _f_ 0 = 1 _/_ 2 and the energy is - _B_ <sup>2</sup> <sup>)</sup> <sup>=</sup> <sup>_⟨c_</sup> <sup>Qq</sup> <sup>_↑c−_</sup> <sup>Q</sup> <sup>_−_</sup> <sup>q</sup> <sup>_↓⟩_</sup> <sup>=</sup> <sup>_f_</sup> <sup>0 exp</sup> _B_ 42. _−ikqlB_ <sup>2</sup> <sup>_†_</sup> _−_ Q _−_ q _↓_ <sup>_⟩⟨c_</sup> <sup>Q</sup> <sup>_′_</sup> <sup>q</sup> <sup>_′↑c−_</sup> <sup>Q</sup> <sup>_′−_</sup> <sup>q</sup> <sup>_′↓⟩_</sup> <sup>=</sup> <sup>_−_</sup> <sup><u>1</u></sup> 4 _B_ _⟨H_ pairing _⟩_ = Q <sup>_′_</sup> _,_ q <u>�</u> _GP_ ( _q, q_ <sup>_′_</sup> ) _⟨c_ <sup>_†_</sup> <sup>_†_</sup> Qq _↑_ <sup>_c†_</sup> Q _,_ Q <sup>_′_</sup> _,_ q _,_ q <sup>_′_</sup> Q <sup>_′_</sup> _,_ q _GP_ ( _q, q_ <sup>_′_</sup> ) exp Q _,_ Q <sup>_′_</sup> _,_ q _,_ q <sup>_′_</sup> _ik_ ( _q −_ _q_ <sup>_′_</sup> ) _lB_ <sup>2</sup> _≈−_ <sup><u>1</u></sup> Q _,_ Q <sup>_′_</sup> _,_ q _,_ q <sup>_′_</sup> _B_ <sup>4</sup> <sup>=</sup> <sup>_Ec_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup><u>1</u></sup> (F1) 2 <sup>_V Ds,zk_</sup> <sup>2</sup> <sup>_,_</sup> 2 Q _,_ q Q _,_ q _GP_ ( _q, q_ <sup>_′_</sup> ) _k_ <sup>2</sup> ( _q −_ _q_ <sup>_′_</sup> ) <sup>2</sup> _l_ <sup>4</sup> ∆+ <sup><u>1</u></sup> 8 2 <sup><u>1</u></sup> and where _Ec_ = _−_ 2 <sup><u>1</u></sup> where _Ec_ = _−_ 2 <sup><u>1</u></sup> Q _,_ q <sup>∆=</sup> <sup>_−V n_</sup> <sup>0∆</sup> <sup>_/_</sup> <sup>2</sup> <sup>is</sup> <sup>the</sup> <sup>condensation</sup> <sup>energy,</sup> <sup>_V_</sup> <sup>is</sup> <sup>the</sup> <sup>volume,</sup> <sup>_Ds,z_</sup> <sup>is</sup> <sup>the</sup> <sup>superfluid</sup> <sup>weight</sup> <sup>in</sup> the _z_ -direction, and _n_ 0 = _Q/_ (2 _πlB_ <sup>2</sup> <sup>)</sup> <sup>is</sup> <sup>the</sup> <sup>density</sup> <sup>of</sup> <sup>particles</sup> <sup>within</sup> <sup>the</sup> <sup>flat</sup> <sup>band.</sup> <sup>In</sup> <sup>this</sup> <sup>way,</sup> <sup>we</sup> <sup>identify</sup> _B_ <sup>2</sup> <sup>)</sup> <sup>is</sup> <sup>the</sup> <sup>density</sup> <sup>of</sup> <sup>particles</sup> <sup>within</sup> <sup>the</sup> <sup>flat</sup> <sup>band.</sup> <sup>In</sup> <sup>this</sup> <sup>way,</sup> <sup>we</sup> <sup>identify</sup> _<u>B</u>_ _Ds,z_ = <sup>_<u>n</u>_</sup> <sup><u>0</u></sup> <sup>_<u>l</u>_</sup> <sup>2</sup> 4 Q _,_ q _B_ <sup>2</sup> <sup>=</sup> <sup>_<u>n</u>_</sup> <sup><u>0</u></sup> <sup>_<u>l</u>_</sup> _<u>z</u>_ <sup>2</sup> 2 _GP_ (0 _, q_ ) _q_ <sup>2</sup> _l_ <sup>2</sup> <sup><u>0</u></sup> <sup>_<u>l</u>_</sup> _<u>z</u>_ <sup>2</sup> (F2) 2 <sup>∆</sup> <sup>_._</sup> Appendix G: In-plane superfluid stiffness The in-plane superfluid stiffness _Ds_ also relates the supercurrent j in a superconductor to a gauge potential A (in Coulomb gauge) by _ji_ = _−_ <sup><u>4</u></sup> <sup>_<u>e</u>_</sup> <sup>2</sup> ℏ <sup>2</sup> _j_ [ _Ds_ ] _ijAj._ (G1) _j_ Here we have introduced a prefactor 4 _e_ <sup>2</sup> _/_ ℏ <sup>2</sup> so that we have a common convention with Sec. F, where the stiffness was determined from the energy cost. Although the stiffness is generally a tensor, in the case studied here the off-diagonal components vanish, so that we are only interested in the stiffness in different directions. In general the stiffness is composed of a conventional and a geometrical contribution _Ds_ = _Ds,_ conv + _Ds,_ geom _,_ (G2) but due to the dispersionless flat band the conventional contribution vanishes _Ds,_ conv = 0 _._ (G3) The geometric contribution at half-filling _C_ = 1 can be calculated as <sup>43–48</sup> [ _Ds_ ] _ij_ = ∆ <sup><u>1</u></sup> _L_ _<u>d</u>_ <sup>2</sup> _<u>k</u>_ (2 _π_ ) <sup>2</sup> <sup>_gij_</sup> <sup>(</sup> <sup>k</sup> <sup>)</sup> <sup>_,_</sup> (G4) where _gij_ ( k ) is the Fubini-Study metric of the spin-up Bloch wave functions _u_ ( k ). It is related to the quantum geometric tensor _Gij_ = _∂kiu_ <sup>_†_</sup> ( k )[1 _−_ _u_ ( k ) _u_ <sup>_†_</sup> ( k )] _∂kj_ _u_ ( k ) _,_ (G5) through the relation _gij_ = Re( _Gij_ ) _._ (G6) The Berry curvature of the system is also related to this quantity by _Fxy_ = 2 Im( _Gxy_ ) _,_ (G7) and it can be shown that tr _g_ = _gxx_ + _gyy_ _≥|Fxy|._ (G8) Hence, non-vanishing Berry curvature provides a lower bound for the geometric contribution to the superfluid weight. In the following, we analytically calculate the geometric contribution to the superfluid weight for our model Hamiltonian assuming that the dominant contribution comes from the zeroth PLL bulk states. The corresponding Bloch wave function is _e_ <sup>_−ξ_</sup> k <sup>2</sup> <sup>(</sup> <sup>_z_</sup> <sup>)</sup> <sup>_/_</sup> <sup>2</sup> _,_ (G9) �1 _/_ 4 <u>1</u> _⟨z|u_ k _⟩_ = _u_ ( k _, z_ ) = _~~√~~_ 2 1 _i_ _πlz_ <sup>2</sup> - �� <u>1</u> with _ξ_ k ( _z_ ) = <sup>_<u>z</u>_</sup> <sup><u>+</u></sup> <sup>_<u>z</u>_</sup> <sup><u>k</u></sup> _l_ 0 _<u>B</u>_ = <sup>_<u>z</u>_</sup> <sup><u>+ (</u></sup> <sup>_<u>k −</u>_</sup> <sup>_<u>Q</u>_</sup> <sup><u>)</u></sup> <sup>_<u>l</u>_</sup> <sup>2</sup> _lz_ _,_ (G10) where we have now used polar coordinates for k = ( _k_ cos _α, k_ sin _α_ ). The Fubini-Study metric _gij_ of the flat-band states can be expressed as _∂kiu_ <sup>_†_</sup> ( k _, z_ ) _∂kj_ _u_ ( k _, z_ ) + _∂kj_ _u_ <sup>_†_</sup> ( k _, z_ ) _∂kiu_ ( k _, z_ ) + - <sup>�</sup> _dz_ _dz_ <sup>_′_</sup> _u_ <sup>_†_</sup> ( k _, z_ ) _∂kiu_ ( k _, z_ ) _u_ <sup>_†_</sup> ( k _, z_ <sup>_′_</sup> ) _∂kj_ _u_ ( k _, z_ <sup>_′_</sup> ) _._ (G11) _gij_ = <sup><u>1</u></sup> 2 _dz_ - <sup>�</sup> (G11) The components of this quantity contain the following terms, _<u>B</u>_ _∂kxu_ ( k _, z_ ) = cos _α ∂ku_ ( _k, z_ ) = _−u_ ( _k, z_ ) <sup>_<u>l</u>_</sup> <sup>2</sup> _lz_ <sup>2</sup> _<u>B</u>_ _∂kxu_ ( k _, z_ ) = cos _α ∂ku_ ( _k, z_ ) = _−u_ ( _k, z_ ) <sup>_<u>l</u>_</sup> <sup>2</sup> _lz_ <sup>2</sup> _<u>B</u>_ _∂ky_ _u_ ( k _, z_ ) = sin _α ∂ku_ ( _k, z_ ) = _−u_ ( _k, z_ ) <sup>_<u>l</u>_</sup> <sup>2</sup> _lz_ <sup>2</sup> _<u>B</u>_ _∂ky_ _u_ ( k _, z_ ) = sin _α ∂ku_ ( _k, z_ ) = _−u_ ( _k, z_ ) <sup>_<u>l</u>_</sup> <sup>2</sup> cos _α_ ( _z_ + _zk_ ) (G12) sin _α_ ( _z_ + _zk_ ) (G13) (G14) cos <sup>2</sup> _α e_ <sup>_−_</sup> <sup>(</sup> <sup>_z_</sup> <sup>+</sup> <sup>_zk_</sup> <sup>)2</sup> <sup>_/l_</sup> _z_ <sup>2</sup> _z_ <sup>2</sup> ( _z_ + _zk_ ) <sup>2</sup> (G15) Using _u_ <sup>_†_</sup> _u_ = exp _−_ ( _z_ + _zk_ ) <sup>2</sup> _/lz_ <sup>2</sup> _z_ - _/_ <sup>_√_</sup> _<u>πlz</u>_, we further get <u>1</u> _<u>l</u>_ <sup>4</sup> <u>1</u> _∂kxu_ <sup>_†_</sup> _∂kxu_ = _~~√~~_ _<u>π</u>_ <u>1</u> _∂ky_ _u_ <sup>_†_</sup> _∂ky_ _u_ = _~~√~~_ _<u>π</u>_ _<u>lB</u>_ <sup>4</sup> _lz_ <sup>5</sup> _<u>lB</u>_ <sup>4</sup> _lz_ <sup>5</sup> _<u>lB</u>_ <sup>4</sup> sin <sup>2</sup> _α e_ <sup>_−_</sup> <sup>(</sup> <sup>_z_</sup> <sup>+</sup> <sup>_zk_</sup> <sup>)2</sup> <sup>_/l_</sup> _z_ <sup>2</sup> ( _z_ + _zk_ ) <sup>2</sup> (G16) _∂kxu_ <sup>_†_</sup> _∂ky_ _u_ = 2 <sup>_~~√~~_</sup> <u>1</u> _<u>π</u>_ _<u>llB</u>_ <sup>4</sup> _z_ <sup>5</sup> sin 2 _α e_ <sup>_−_</sup> <sup>(</sup> <sup>_z_</sup> <sup>+</sup> <sup>_zk_</sup> <sup>)2</sup> <sup>_/l_</sup> _z_ <sup>2</sup> ( _z_ + _zk_ ) <sup>2</sup> = _∂ky_ _u_ <sup>_†_</sup> _∂kxu_ (G17) _u_ <sup>_†_</sup> _∂kxu_ = _−_ <sup><u>1</u></sup> _~~√~~_ _<u>π</u>_ _u_ <sup>_†_</sup> _∂ky_ _u_ = _−_ <sup><u>1</u></sup> _~~√~~_ _<u>π</u>_ _<u>lB</u>_ <sup>2</sup> _lz_ <sup>3</sup> _<u>lB</u>_ <sup>2</sup> _lz_ <sup>3</sup> cos _α e_ <sup>_−_</sup> <sup>(</sup> <sup>_z_</sup> <sup>+</sup> <sup>_zk_</sup> <sup>)2</sup> <sup>_/l_</sup> _z_ <sup>2</sup> ( _z_ + _zk_ ) (G18) sin _α e_ <sup>_−_</sup> <sup>(</sup> <sup>_z_</sup> <sup>+</sup> <sup>_zk_</sup> <sup>)2</sup> <sup>_/l_</sup> _z_ <sup>2</sup> ( _z_ + _zk_ ) _._ (G19) 500 400 300 200 100 0 _D_ 00, numerics _D_ 00, analytics _D_ 11, numerics _D_ 01, numerics 0 200 400 600 800 1000 _L_ Figure 8. Scaling of the in-plane superfluid stiffness for the minimal model with parameters _t_ = 0 _._ 21 eV, _t_ 1 = 0 _._ 25 _t_, _t_ 2 = 0 _._ 8 _t_, and _R_ = 8000: we show the numerical and analytical scaling of the integral in Eq. (G23). The numerical scaling of the diagonal components _D_ 00 = _D_ 11 agrees well with the analytical formula up to the addition of a constant independent of _L_ . From the last two equations we see that the second term in _gij_ is zero as it contains only symmetric integrals over odd functions in _z_ and _z_ <sup>_′_</sup> . Hence, the components of the Fubini-Study metric _gij_ simplify to cos <sup>2</sup> _α_ (G20) sin <sup>2</sup> _α_ (G21) sin 2 _α_ = _gyx._ (G22) _gxx_ = _gyy_ = _gxy_ = _dz ∂kxu_ <sup>_†_</sup> _∂kxu_ = <sup><u>1</u></sup> 2 _dz ∂ky_ _u_ <sup>_†_</sup> _∂ky_ _u_ = <sup><u>1</u></sup> 2 _dz ∂kxu_ <sup>_†_</sup> _∂ky_ _u_ = <sup><u>1</u></sup> 4 _<u>lB</u>_ <sup>4</sup> <sup><u>1</u></sup> 2 _lz_ <sup>2</sup> _<u>lB</u>_ <sup>4</sup> <sup><u>1</u></sup> 2 _lz_ <sup>2</sup> _<u>lB</u>_ <sup>4</sup> <sup><u>1</u></sup> 4 _lz_ <sup>2</sup> _<u>B</u>_ _lz_ <sup>2</sup> _<u>lB</u>_ <sup>4</sup> _lz_ <sup>2</sup> _<u>lB</u>_ <sup>4</sup> _lz_ <sup>2</sup> To evaluate the _k_ -space integrals of _gij_ = _gij_ ( _α_ ) we consider a system extending from _z_ = _−L/_ 2 to + _L/_ 2. The PLL states at _k_ = _Q_ are centered at _z_ = 0 and reach the top (bottom) surface at _k_ top = _Q −_ _L/_ 2 _lB_ <sup>2</sup> <sup>(</sup> <sup>_k_</sup> <sup>bot</sup> <sup>=</sup> <sup>_Q_</sup> <sup>+</sup> <sup>_L/_</sup> <sup>2</sup> <sup>_l_</sup> _B_ <sup>2</sup> <sup>).</sup> _B_ <sup>2</sup> <sup>(</sup> <sup>_k_</sup> <sup>bot</sup> <sup>=</sup> <sup>_Q_</sup> <sup>+</sup> <sup>_L/_</sup> <sup>2</sup> <sup>_l_</sup> _B_ <sup>2</sup> states at _k_ = _Q_ are centered at _z_ = 0 and reach the top (bottom) surface at _k_ top = _Q −_ _L/_ 2 _lB_ <sup>2</sup> <sup>(</sup> <sup>_k_</sup> <sup>bot</sup> <sup>=</sup> <sup>_Q_</sup> <sup>+</sup> <sup>_L/_</sup> <sup>2</sup> <sup>_l_</sup> _B_ <sup>2</sup> <sup>).</sup> This defines our domain of integration and we obtain LLs <sup><u>1</u></sup> _k_ <sup>2</sup> 2 _<u>B</u>_ _lz_ <sup>2</sup> _Q L._ (G23) _d_ <sup>2</sup> _k gij_ = _k_ top - _k_ bot _<u>π</u>_ _<u>lB</u>_ <sup>2</sup> 2 _lz_ <sup>2</sup> _<u>π</u>_ _kdk_ 0 - 2 _π_ _dα gij_ ( _α_ ) = <sup><u>1</u></sup> 0 2 2 _π_ bot <sup>2</sup> <sup>_−_</sup> <sup>_k_</sup> <sup>2</sup> top 0 - <sup>�</sup> <sup>2</sup> <sup>_π_</sup> _dα gij_ ( _α_ ) = _δij_ 0 Thus, _Dij_ is isotropic and has vanishing off-diagonal components. The in-plane superfluid stiffness is given by _<u>lB</u>_ <sup>2</sup> <sup><u>1</u></sup> 8 _π_ _lz_ <sup>2</sup> _Ds,∥_ = ∆ <sup><u>1</u></sup> _<u>B</u>_ _lz_ <sup>2</sup> _<u>B</u>_ _lz_ <sup>2</sup> _Q_ = ∆ <sup>_<u>n</u>_</sup> <sup><u>0</u></sup> _<u>lB</u>_ <sup>4</sup> <sup>_<u>n</u>_</sup> <sup><u>0</u></sup> 4 _lz_ <sup>2</sup> = ∆ <sup>_<u>n</u>_</sup> 4 <sup><u>0</u></sup> <sup>_l_</sup> _xy_ <sup>2</sup> <sup>_._</sup> (G24) The expressions for the out-of-plane [Eq. (F2)] and in-plane [Eq. (G24)] stiffness are related to each other by replacement of _lz_ <sup>2</sup> <sup>with</sup> <sup>_l_</sup> _xy_ <sup>2</sup> <sup>_/_</sup> <sup>2</sup> <sup>which</sup> <sup>arises</sup> <sup>because</sup> <sup>of</sup> <sup>the</sup> <sup>different</sup> <sup>elongations</sup> <sup>of</sup> <sup>the</sup> <sup>semiclassical</sup> <sup>cyclotron</sup> <sup>orbits</sup> <sup>in</sup> <sup>the</sup> _z_ -direction and within the ( _x, y_ )-plane and due to the angular average within the ( _x, y_ )-plane. Similar results for the superfluid stiffness are expected also beyond mean-field approximation <sup>61</sup> . We have checked our results for _Ds,_ geom also numerically (see Fig. 8). In the numerical calculation we adopt the essence of a method for calculating the Berry curvature in a discretized Brillouin zone <sup>62</sup> to efficiently compute the quantum geometric tensor _Gij_ and utilize Eq. (G6). We find that the numerical and analytical results agree well up to the addition of a constant independent of _L_ . We attribute this constant to the drumhead surface states coexisting with the zeroth PLL bulk states. Appendix H: Strain implementation We follow Ref. 63 for the implementation of strain into a tight-binding model. The tight-binding parameters _t_ represent orbital overlaps which are modified as the sample is strained because the bond lengths are changed. To linear order, this correction can be expressed as follows, _t_ ( r 0 + _δ_ r ) = _t_ ( r 0) + <sup><u>(</u></sup> <sup><u>r</u></sup> <sup><u>0</u></sup> <sup>_<u>· δ</u>_</sup> <sup><u>r</u></sup> <sup><u>)</u></sup> _r_ 0 _<u>∂t</u>_ _∂r_ r 0 ���� _,_ (H1) where r 0 is the hopping vector between the two orbitals involved in equilibrium, _δ_ r is the deviation from the equilibrium value r 0, and _t_ ( r ) is the hopping function. In general, there can be other correction terms due to the change of the angle between unlike orbitals, but we assume here that these contributions are sufficiently small. By writing _δ_ r = _U_ r 0, with the strain tensor _U_ = ( _uij_ ), as well as r 0 = _r_ 0 e 0 and _t_ ( r 0) = _t_ 0, the equation above becomes, r 0 ���� _t_ ( r 0 + _δ_ r ) = _t_ 0 + ( e 0 _· U_ e 0) _r_ 0 _<u>∂t</u>_ _∂r_ _._ (H2) For simplicity, we further assume that the hopping function can be approximated by _t_ ( _r_ ) = _t_ 0 _r_ 0 _/r_, such that we end up with the following expression: _t_ ( r ) = _t_ 0 (1 _−_ e 0 _· U_ e 0) _._ (H3) In the numerical strain implementation for CaAgP and rhombohedral graphite, all hopping terms were modified according to this formula, assuming that the dominant strain contribution comes from the _u_ 11 component for a cylindrical substrate bent in the _x_ direction. Appendix I: Tight-binding model for rhombohedral graphite Our calculations for rhombohedral graphite in the main text are based on the following model <sup>64</sup>, _H_ ( k ) = Θ( k ) Φ( k ) (I1) Φ <sup>_∗_</sup> ( k ) Θ( k ) - with _i_ _e_ <sup>_i_</sup> <sup>_δ_</sup> <sup>_i·_</sup> <sup>k</sup> _−_ _γ_ 1 _e_ <sup>_ibkz_</sup> _−_ _γ_ 3 _e_ <sup>_−ibkz_</sup> <sup>�</sup> _e_ <sup>_i_</sup> <sup>_δ_</sup> <sup>_i·_</sup> <sup>k</sup> Φ( k ) = _−γ_ 0 Θ( k ) = _−γ_ 2 _i_ _i_ _e_ <sup>_−i_</sup> <sup>_δ_</sup> <sup>_i·_</sup> <sup>k</sup> (I2) _i_ _i_ _e_ <sup>_−i_</sup> <sup>_δ_</sup> <sup>_i·_</sup> <sup>k</sup> + _e_ <sup>_−ibkz_</sup> <sup>�</sup> _i_ _e_ <sup>_i_</sup> <sup>n</sup> <sup>_i·_</sup> <sup>k</sup> _−_ _γ_ 4 - _i_ _e_ <sup>_ibkz_</sup> <sup>�</sup> _._ (I3) _i_ _i_ _i_ Here, _b_ is the distance between adjacent layers, _δ_ _i_ are the intra-layer nearest-neighbor hopping vectors, and n _i_ are the intra-layer next-nearest-neighbor hopping vectors <sup>65</sup> . We take the model parameters from literature <sup>66</sup> : _γ_ 0 = 2 _._ 58 eV, _γ_ 1 = 0 _._ 34 eV, _γ_ 2 = 0, _γ_ 3 = 0 _._ 17 eV, and _γ_ 4 = 0 _._ 04 eV. For the implementation of the cylindrical strain profile, we assume that the bending direction is along the _x_ direction. This modifies the hopping amplitudes of our tight-binding model according to Eq. (H3). Hence, <u>(</u> _<u>δ</u>_ _<u>i ·</u>_ <u>e</u> <u>1)</u> <sup>2</sup> 1 _−_ _u_ 11 _|_ _δ_ _i|_ <sup>2</sup> + _b_ <sup>2</sup> _e_ <sup>_−i_</sup> <sup>_δ_</sup> <sup>_i·_</sup> <sup>k</sup> (I4) _i_ �2 <sup>�</sup> _e_ <sup>_i_</sup> <sup>_δ_</sup> <sup>_i·_</sup> <sup>k</sup> _−_ _γ_ 1 _e_ <sup>_ibkz_</sup> _−_ _γ_ 3 _e_ <sup>_−ibkz_</sup> <sup>�</sup> 1 _−_ _u_ 11 _|_ _δ_ _i|_ <sup>_·_</sup> <sup>e</sup> <sup>1</sup> - - _<u>δ</u>_ _<u>i</u>_ Φ( k ) _→_ Φ( k ) = _−γ_ 0 _i_ and _e_ <sup>_i_</sup> <sup>n</sup> <sup>_i·_</sup> <sup>k</sup> <u>�2</u> <sup><u>�</u></sup> 1 _−_ _u_ 11 _|_ n _i|_ <sup>_·_</sup> <sup>e</sup> <sup>1</sup> - - <u>n</u> _<u>i</u>_ Θ( k ) _→_ Θ( k ) = _−γ_ 2 _i_ _i_ _i_ 4 _i_ <u>(</u> _<u>δ</u>_ _<u>i ·</u>_ <u>e</u> <u>1)</u> <sup>2</sup> 1 _−_ _u_ 11 _|_ _δ_ _i|_ <sup>2</sup> + _b_ <sup>2</sup> _e_ <sup>_i_</sup> <sup>_δ_</sup> <sup>_i·_</sup> <sup>k</sup> <u>(</u> _<u>δ</u>_ _<u>i ·</u>_ <u>e</u> <u>1)</u> <sup>2</sup> 1 _−_ _u_ 11 _|_ _δ_ _i|_ <sup>2</sup> + _b_ <sup>2</sup> _−_ _γ_ 4 _i_ _e_ <sup>_ibkz_</sup> <sup>�</sup> - _i_ _e_ <sup>_−i_</sup> <sup>_δ_</sup> <sup>_i·_</sup> <sup>k</sup> + _e_ <sup>_−ibkz_</sup> <sup>�</sup> _i_ (I5) _|_ _δ_ _i|_ <sup>2</sup> + _b_ <sup>2</sup> Appendix J: Analytical solutions for the zeroth PLL wave functions in rhombohedral graphite From our numerical analysis, we find that the structure and shift behavior of the zeroth PLL wave functions differ from those of our minimal model discussed in the main text (see Fig. 9 for a comparison). In particular, we observe two PLL bulk states along one momentum-space direction, whereas a bottom/top surface state coexist with a PLL bulk state along the perpendicular direction. Furthermore, the zeroth PLL is elongated in only one direction in contrast to the isotropic growth in the minimal model. In this section, we want to shed more light onto these findings by deriving analytical solutions for the zeroth PLL wave functions. Figure 9. Schematic of the zeroth PLL wave functions across the flat band. The red bold line is the nodal loop in the unstrained system parametrized by a vector Q, whereas the red dashed line indicates the edge of the flat band (beige area) in the strained system. The small panels show the the absolute value _|ψ_ ( _z_ ) _|_ of the wave functions at various momenta within the flat band. (a) Minimal model around Γ: the shifts of the bulk wave functions are isotropic with respect to the center of the flat band. The flat band is a circular disk with radius larger than _|Q|_ . (b) Rhombohedral graphite around _K_ : the flat band is elongated in the _ky_ direction and forms an elliptical disk. The structure and the behavior of the PLL wave functions are anisotropic. We start from the Hamiltonian defined in Eq. (I1). To proceed analytically, we set _γ_ 2 = _γ_ 3 = _γ_ 4 = 0, such that Θ( k ) = 0. By using in Φ( k ) the intra-layer nearest-neighbor hopping vectors <sup>_<u>a</u>_</sup> _√_ 2 <sup>(1</sup> <sup>_,_</sup> _δ_ 1 = <sup>_<u>a</u>_</sup> 2 _δ_ 2 = <sup>_<u>a</u>_</sup> 2 3 _,_ 0) _≡_ ( _δx, δy,_ 0) _,_ (J1) <sup>_<u>a</u>_</sup> _√_ 2 <sup>(1</sup> <sup>_, −_</sup> 3 _,_ 0) = ( _δx, −δy,_ 0) _,_ (J2) _δ_ 3 = _−a_ (1 _,_ 0 _,_ 0) _,_ (J3) and after implementing the strain terms according to Eq. (I4), we obtain cos ( _δyky_ ) _e_ <sup>_iδxkx_</sup> _−_ _γ_ 0 (1 _−_ _u_ 11) _e_ <sup>_−iakx_</sup> _−_ _γ_ 1 _e_ <sup>_ibkz_</sup> _,_ (J4) Φ( k ) = _−_ 2 _γ_ 0 1 _−_ <sup>_<u>u</u>_</sup> <sup><u>11</u></sup> 4 with _u_ 11 = _z/R_ . We now expand the strain Hamiltonian in Eq. (J4) around the K ( K <sup>_′_</sup> ) point with k = K <sup>(</sup> <sup>_′_</sup> <sup>)</sup> + Q . This leads to Φ K ( <sup>_′_</sup> ) = _−_ <sup><u>3</u></sup> <sup>_<u>a</u>_</sup> 2 <sup>_<u>a</u>_</sup> 2 <sup>_γ_</sup> <sup>0</sup> <sup>_e−i_</sup> <sup>2</sup> <sup>_π/_</sup> <sup>3(</sup> <sup>_±Qy −_</sup> <sup>_iQx_</sup> <sup>)</sup> + <sup><u>3</u></sup> 4 <sup>_γ_</sup> <sup>0</sup> <sup>_e−i_</sup> <sup>2</sup> <sup>_π/_</sup> <sup>3</sup> <sup>_u_</sup> <sup>11</sup> 1 _±_ <sup>_<u>a</u>_</sup> 2 <sup>_Qy −_</sup> <sup>_i_</sup> <sup><u>3</u></sup> 2 <sup>_<u>a</u>_</sup> <sup>_Qx_</sup> _−_ _γ_ 1 _e_ <sup>_ibkz_</sup> _._ (J5) Note that we have only expanded in the _kx_ and _ky_ directions, since the nodal line extends over the whole BZ in the _kz_ direction. Before we proceed, we first look into the structure of these nodal lines. 1. Nodal lines of the unstrained system The nodal lines of the unstrained system ( _u_ 11 = 0) spiral around axes parallel to the _kz_ axis that go through the K and K <sup>_′_</sup> points of the hexagonal BZ, <u>2</u> _<u>π</u>_ _√_ K = _~~√~~_ 3 3 _a_ <sup>(</sup> <u>2</u> _<u>π</u>_ _√_ K <sup>_′_</sup> = _~~√~~_ 3 3 _a_ <sup>(</sup> 3 _,_ 1 _,_ 0) _≡_ ( _Kx, Ky,_ 0) _,_ (J6) 3 _, −_ 1 _,_ 0) = ( _Kx, −Ky,_ 0) _._ (J7) (J8) Close to these axes, the energies of the Hamiltonian (with _u_ 11 = 0) at momenta k = K <sup>(</sup> <sup>_′_</sup> <sup>)</sup> + Q are to first order in _Qx_ and _Qy_ _E_ <sup>2</sup> = _|_ Φ( k ) _|_ <sup>2</sup> = <sup><u>9</u></sup> 4 _y_ <sup>2) +</sup> <sup>_γ_</sup> 1 <sup>2</sup> 1 <sup><u>9</u></sup> 4 <sup>_γ_</sup> 0 <sup>2</sup> <sup>_a_</sup> <sup>2(</sup> <sup>_Q_</sup> <sup>2</sup> _x_ <sup>+</sup> <sup>_Q_</sup> _y_ <sup>2</sup> _−_ 3 _γ_ 0 _γ_ 1 [sin ( _aKx_ + _bkz_ ) _aQx ∓_ cos ( _aKx_ + _bkz_ ) _aQy_ ] _,_ (J9) which leads to the following equation, + �2 _aQy ±_ <sup><u>2</u></sup> <sup>_<u>γ</u>_</sup> <sup><u>1</u></sup> 3 _γ_ 0 _._ (J10) �2 <u>4</u> _<u>E</u>_ <sup>2</sup> = 9 _γ_ 0 <sup>2</sup> _aQx −_ <sup><u>2</u></sup> <sup>_<u>γ</u>_</sup> <sup><u>1</u></sup> 3 _γ_ 0 <sup><u>2</u></sup> <sup>_<u>γ</u>_</sup> <sup><u>1</u></sup> sin ( _aKx_ + _bQz_ ) 3 _γ_ 0 <sup><u>2</u></sup> <sup>_<u>γ</u>_</sup> <sup><u>1</u></sup> cos ( _aKx_ + _bQz_ ) 3 _γ_ 0 Hence, the zero-energy states lie on a spiral given by _aQ_ 0 _,x_ = <sup><u>2</u></sup> <sup>_<u>γ</u>_</sup> <sup><u>1</u></sup> sin (2 _π/_ 3 + _bQ_ 0 _,z_ ) _,_ (J11) 3 _γ_ 0 _aQ_ 0 _,y_ = _∓_ <sup><u>2</u></sup> <sup>_<u>γ</u>_</sup> <sup><u>1</u></sup> cos (2 _π/_ 3 + _bQ_ 0 _,z_ ) _._ (J12) 3 _γ_ 0 This is a crucial difference to our minimal model, where the nodal line was confined to the plane _kz_ = 0. 2. Analytical solutions in the _ky_ direction with respect to K We now look at a particular k -space subset around K, for which _Qx_ = 0. As for our minimal model, we expand Φ K around a nodal point Q 0 = (0 _, Q_ 0 _,y, Q_ 0 _,z_ ) to leading order in momentum and strain. We obtain <sup><u>3</u></sup> 4 <sup>_γ_</sup> <sup>0</sup> <sup>_e−i_</sup> <sup>2</sup> <sup>_π/_</sup> <sup>3</sup> <sup>_u_</sup> <sup>11</sup> 1 + <sup>_<u>a</u>_</sup> 2 <sup>_Q_</sup> <sup>0</sup> <sup>_,y_</sup> _−_ <sup><u>3</u></sup> 2 <sup>_<u>a</u>_</sup> - Φ( q ) = <sup><u>3</u></sup> 4 <sup><u>3</u></sup> <sup>_<u>a</u>_</sup> (J13) 2 <sup>_γ_</sup> <sup>0</sup> <sup>_e−i_</sup> <sup>2</sup> <sup>_π/_</sup> <sup>3</sup> <sup>_qy −_</sup> <sup>_iγ_</sup> <sup>1</sup> <sup>_eibQ_</sup> <sup>0</sup> <sup>_,z bqz,_</sup> where we have used q = Q _−_ Q 0. We further have that _e_ <sup>_i_</sup> <sup>(</sup> <sup>_bQ_</sup> <sup>0</sup> <sup>_,z_</sup> <sup>+2</sup> <sup>_π/_</sup> <sup>3)</sup> = cos ( _bQ_ 0 _,z_ + 2 _π/_ 3) + _i_ sin ( _bQ_ 0 _,z_ + 2 _π/_ 3) = _−_ <sup><u>3</u></sup> <sup>_<u>a</u>_</sup> _<u>γ</u>_ <u>0</u> 2 _γ_ 1 _Q_ 0 _,y._ (J14) Hence, after a change of basis we end up with the following expression <sup><u>3</u></sup> 1 + <sup>_<u>a</u>_</sup> _−_ <sup><u>3</u></sup> <sup>_<u>a</u>_</sup> 4 <sup>_γ_</sup> <sup>0</sup> <sup>_u_</sup> <sup>11</sup> 2 <sup>_Q_</sup> <sup>0</sup> <sup>_,y_</sup> 2 - Φ( q ) = <sup><u>3</u></sup> 4 <sup>_<u>a</u>_</sup> (J15) 2 <sup>_γ_</sup> <sup>0</sup> <sup>_qy_</sup> <sup>+</sup> <sup>_i_</sup> <sup><u>3</u></sup> 2 <sup>_<u>a</u>_</sup> <sup>_γ_</sup> <sup>0</sup> <sup>_Q_</sup> <sup>0</sup> <sup>_,y bqz._</sup> To obtain the zero-energy solutions of the expanded strain Hamiltonian, we have to solve 0 Φ( q ) _ψ_ 1 Φ <sup>_∗_</sup> ( q ) 0 _ψ_ 2 - �� = 0 _._ (J16) After a change of basis and replacing _iqz_ _→_ _∂z_, this leads us to the following set of equations around _Q_ 0 _,y_ = _±_ 2 _γ_ 1 _/_ 3 _aγ_ 0 _≡±Q_ : _−_ <sup>_<u>z</u>_</sup> _R_ _−_ _R_ <sup>_<u>z</u>_</sup> <sup>(</sup> <sup>_γ_</sup> <sup>1</sup> <sup>_±_</sup> <sup>3</sup> <sup>_γ_</sup> <sup>0) + 6</sup> <sup>_aγ_</sup> <sup>0</sup> <sup>_q −_</sup> <sup>4</sup> <sup>_bγ_</sup> <sup>1</sup> <sup>_∂z_</sup> _ψ_ 1 = 0 _,_ (J17) - + _R_ <sup>_<u>z</u>_</sup> <sup>(</sup> <sup>_γ_</sup> <sup>1</sup> <sup>_±_</sup> <sup>3</sup> <sup>_γ_</sup> <sup>0)</sup> <sup>_−_</sup> <sup>6</sup> <sup>_aγ_</sup> <sup>0</sup> <sup>_q −_</sup> <sup>4</sup> <sup>_bγ_</sup> <sup>1</sup> <sup>_∂z_</sup> _ψ_ 2 = 0 _,_ (J18) - <sup>_<u>z</u>_</sup> _R_ <sup>(</sup> <sup>_γ_</sup> <sup>1</sup> <sup>_±_</sup> <sup>3</sup> <sup>_γ_</sup> <sup>0) + 6</sup> <sup>_aγ_</sup> <sup>0</sup> <sup>_q −_</sup> <sup>4</sup> <sup>_bγ_</sup> <sup>1</sup> <sup>_∂z_</sup> <sup>_<u>z</u>_</sup> _R_ <sup>(</sup> <sup>_γ_</sup> <sup>1</sup> <sup>_±_</sup> <sup>3</sup> <sup>_γ_</sup> <sup>0)</sup> <sup>_−_</sup> <sup>6</sup> <sup>_aγ_</sup> <sup>0</sup> <sup>_q −_</sup> <sup>4</sup> <sup>_bγ_</sup> <sup>1</sup> <sup>_∂z_</sup> _ψ_ 2 = 0 _,_ (J18) where we have set _qy_ _≡_ _q_ for _Q_ 0 _,y_ _>_ 0, and _qy_ _≡−q_ for _Q_ 0 _,y_ _<_ 0. With this definition, momenta with _q_ _<_ 0 ( _q_ _>_ 0) are inside (outside) the projected nodal circle. For sufficiently small nodal lines, we can assume that _γ_ 1 _< γ_ 0. In this case, the sign in front of _γ_ 0 determines the overall sign of the terms _γ_ 1 _±_ 3 _γ_ 0. We therefore define, _σ±_ = <u>4</u> _<u>Rbγ</u>_ <u>1</u> (J19) - (3 _γ_ 0 _± γ_ 1) and _λ_ = <sup><u>3</u></sup> <sup>_<u>aγ</u>_</sup> <sup><u>0</u></sup> _q._ (J20) 2 _bγ_ 1 With this, we obtain the following zero-energy solutions: - for _Q_ 0 _,y_ _>_ 0, + <sup>2</sup> _e_ <sup>_λz_</sup> _∝_ _e_ <sup>_−_</sup> <sup>(</sup> <sup>_z−λσ_</sup> + <sup>2</sup> 2 _/_ 2 _σ_ 2 + _,_ (J21) _ψ_ 1( _z_ ) = _A_ 1 _e_ <sup>_−z_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2</sup> <sup>_σ_</sup> + <sup>2</sup> _ψ_ 2( _z_ ) = _A_ 2 _e_ <sup>+</sup> <sup>_z_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2</sup> <sup>_σ_</sup> + <sup>2</sup> + <sup>2</sup> <sup>)</sup> + <sup>2</sup> _e_ <sup>_−λz_</sup> _∝_ _e_ <sup>+(</sup> <sup>_z−λσ_</sup> + <sup>2</sup> 2 _/_ 2 _σ_ 2 + _,_ (J22) + <sup>2</sup> <sup>)</sup> - for _Q_ 0 _,y_ _<_ 0, _−_ <sup>2</sup> _e_ <sup>_λz_</sup> _∝_ _e_ <sup>+(</sup> <sup>_z_</sup> <sup>+</sup> <sup>_λσ_</sup> _−_ <sup>2</sup> 2 _/_ 2 _σ_ 2 _−_ _,_ (J23) _ψ_ 1( _z_ ) = _B_ 1 _e_ <sup>+</sup> <sup>_z_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2</sup> <sup>_σ_</sup> _−_ <sup>2</sup> _ψ_ 2( _z_ ) = _B_ 2 _e_ <sup>_−z_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2</sup> <sup>_σ_</sup> _−_ <sup>2</sup> _−_ <sup>2</sup> <sup>)</sup> _−_ <sup>2</sup> _e_ <sup>_−λz_</sup> _∝_ _e_ <sup>_−_</sup> <sup>(</sup> <sup>_z_</sup> <sup>+</sup> <sup>_λσ_</sup> _−_ <sup>2</sup> 2 _/_ 2 _σ_ 2 _−_ _._ (J24) _−_ <sup>2</sup> <sup>)</sup> Here, the solutions describe a PLL bulk state and a top-surface state for _Q_ 0 _,y_ _>_ 0, but a PLL bulk state and a bottom-surface state for _Q_ 0 _,y_ _<_ 0. Furthermore, the PLL bulk-state shifts along this direction are not symmetric with respect to the center of the flat band: starting from _Q_ 0 _,y_ _<_ 0, the bulk-state shifts towards the top surface as we move towards the center of the flat band, whereas it shifts towards the bottom surface, if we do the same starting from _Q_ 0 _,y_ _>_ 0. This is in qualitative agreement with the numerical results [see Fig. 9(b)] and we have also confirmed that analytical and numerical solutions agree quantitatively. 3. Analytical solutions in the _kx_ direction with respect to K Let us now turn to the perpendicular subset in momentum space for which _Qy_ = 0. Before we proceed, recall from Fig. 9(b) that the flat band does not grow in the _Qx_ direction. In particular, we know from numerics that the two PLL bulk states hybridize at the nodal-line momenta _Qx,_ 0. Therefore, an expansion around a nodal point as before is not a promising approach to find zero-energy solutions. Instead, we will work with the initial expansion of the strain Hamiltonian around K from Eq. (J5), with k = K + q and q = ( _qx,_ 0 _,_ 0), _−_ _γ_ 1 _e_ <sup>_ibkz_</sup> _._ (J25) Φ( _qx, kz_ ) = <sup><u>3</u></sup> 2 <sup>_<u>a</u>_</sup> <sup>_γ_</sup> <sup>0</sup> <sup>_e−i_</sup> <sup>2</sup> <sup>_π/_</sup> <sup>3</sup> <sup>_iqx_</sup> <sup>+</sup> <sup><u>3</u></sup> 4 <sup>_γ_</sup> <sup>0</sup> <sup>_e−i_</sup> <sup>2</sup> <sup>_π/_</sup> <sup>3</sup> <sup>_u_</sup> <sup>11</sup> 1 _−_ <sup><u>3</u></sup> <sup>_<u>a</u>_</sup> 2 <sup>_iqx_</sup> Note that we have, for notational consistency, renamed Q _→_ q . After a change of basis, this becomes _−_ _γ_ 1 _e_ <sup>_i_</sup> <sup>(</sup> <sup>_bkz_</sup> <sup>+2</sup> <sup>_π/_</sup> <sup>3)</sup> _._ (J26) Φ( _qx, kz_ ) = <sup><u>3</u></sup> 2 <sup>_<u>a</u>_</sup> <sup>_γ_</sup> <sup>0</sup> <sup>_iqx_</sup> <sup>+</sup> <sup><u>3</u></sup> 4 <sup>_γ_</sup> <sup>0</sup> <sup>_u_</sup> <sup>11</sup> 1 _−_ <sup><u>3</u></sup> <sup>_<u>a</u>_</sup> 2 <sup>_iqx_</sup> Recall that we have not yet expanded the Hamiltonian along _kz_ . From numerics, we obtain that the Fouriertransformed PLL bulk solutions are centered at _kz_ values that depend on _qx_, suggesting that the corresponding expansion point along the _kz_ direction should be a function of _qx_ . In particular, we find the following relation between the bulk-state centers _Kz_ and _qx_ _qx_ ( _Kz_ ) = _Q_ cos ( _bKz_ + _π/_ 6) _,_ (J27) where _Q_ = 2 _γ_ 1 _/_ 3 _aγ_ 0 is the radius of the nodal spiral projected into the _kx_ - _ky_ plane. For fixed _qx_, there are two centers _Kz,_ 1 and _Kz,_ 2 corresponding to the two PLL bulk states, _−_ _π/_ 6 _≡_ _Kz,_ + (J28) <u>�</u> _−_ _π/_ 6 _≡_ _Kz,−_ (J29) <u>�</u> _bKz,_ 1 = arccos _Q_ - _<u>qx</u>_ _bKz,_ 2 = _−_ arccos _Q_ <u>�</u> _<u>qx</u>_ We now expand Eq. (J26) along the _kz_ direction around each of these points separately. We obtain _±_ <sup><u>3</u></sup> <sup>_<u>a</u>_</sup> 2 <sup><u>3</u></sup> <sup>_<u>a</u>_</sup> _Q_ <sup>2</sup> _−_ _qx_ <sup>2</sup> _−_ <sup><u>3</u></sup> <sup>_<u>a</u>_</sup> 2 <sup>_γ_</sup> <sup>0</sup> 2 ~~�~~ _ibqz_ (J30) _Q_ <sup>2</sup> _−_ _qx_ <sup>2</sup> + _iqx_ Φ( q ) = <sup><u>3</u></sup> 4 <sup>_γ_</sup> <sup>0</sup> <sup>_u_</sup> <sup>11</sup> 1 _−_ <sup><u>3</u></sup> <sup>_<u>a</u>_</sup> 2 <sup>_iqx_</sup> We are interested in zero-energy solutions, i.e., in the solutions of <sup>_<u>a</u>_</sup> _∓_ 2 <sup>_γ_</sup> <sup>0</sup> = 0 _._ (J31) 0 Φ Φ <sup>_∗_</sup> 0 _ψ_ 1 _ψ_ 2 �� For notational simplicity, we set _a_ = _b_ = 1 in the following. After a change of basis and replacing _iqz_ _→_ _∂z_, we obtain the following set of equations _<u>z</u>_ 2 _RQ_ <sup>2</sup> _<u>z</u>_ 2 _RQ_ <sup>2</sup> _∓_ _±_ _Q_ <sup>2</sup> _−_ _qx_ <sup>2</sup> _−_ _iqx_ ~~<u>�</u>~~ _Q_ <sup>2</sup> _−_ _qx_ <sup>2</sup> _−_ _iqx_ ~~�~~ _−_ <sup><u>1</u></sup> _Q_ + <sup><u>1</u></sup> _Q_ 1 _−_ <sup><u>3</u></sup> 2 <sup>_iqx_</sup> - <sup>�</sup> 1 + <sup><u>3</u></sup> 2 <sup>_iqx_</sup> <u>�</u> <sup>�</sup> 1 _−_ <sup><u>3</u></sup> 2 <sup>_iqx_</sup> - <sup>�</sup> _Q_ <sup>2</sup> _−_ _qx_ <sup>2</sup> ~~<u>�</u>~~ _Q_ <sup>2</sup> _−_ _qx_ <sup>2</sup> ~~�~~ _−_ _∂z_ _−_ _∂z_ _Q_ <sup>2</sup> _x_ <sup>2</sup> <sup>_± iqx_</sup> _ψ_ 1 = 0 (J32) _ψ_ 2 = 0 (J33) _Q_ <sup>2</sup> _Q_ <sup>2</sup> _−_ _qx_ <sup>2</sup> _Q_ <sup>2</sup> _−_ _qx_ <sup>2</sup> <u>�</u> _x_ <sup>2</sup> <sup>_∓_</sup> <sup>_iqx_</sup> To analyze the solutions of these equations, we introduce the following short-hand notations: _λ±_ = <sup><u>1</u></sup> _Q_ <sup>2</sup> _Q_ <sup>2</sup> _−_ _qx_ <sup>2</sup> <u>�</u> _x_ <sup>2</sup> <sup>_± iqx_</sup> _Q_ <sup>2</sup> _−_ _qx_ <sup>2</sup> <u>�</u> _._ (J35) 1 _−_ <sup><u>3</u></sup> 2 <sup>_iqx_</sup> - <sup>�</sup> _,_ (J34) <u>�</u> <u>1</u> _ω±_ = 2 _RQ_ <sup>2</sup> _±_ <u>�</u> _Q_ <sup>2</sup> _−_ _qx_ <sup>2</sup> + _iqx_ With this, the set of equations from above becomes _<u>dψ</u>_ <u>1</u> _dz_ <sup>=</sup> <sup>_−λ±ψ_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_ω±z ψ_</sup> <sup>1</sup> (J36) _<u>dψ</u>_ <u>2</u> _±_ <sup>_∗_</sup> <sup>_ψ_</sup> <sup>2</sup> <sup>+</sup> <sup>_ω_</sup> _±_ <sup>_∗_</sup> _±_ <sup>_∗_</sup> <sup>_z ψ_</sup> <sup>2</sup> (J37) <u>2</u> _dz_ <sup>= +</sup> <sup>_λ_</sup> _±_ <sup>_∗_</sup> The solutions of these equations are (J38) _ψ_ 1 _,±_ ( _z_ ) = _A±e_ <sup>_−λ±z_</sup> _e_ <sup>_−_</sup> 2 <sup><u>1</u></sup> <sup>_ω±z_</sup> <sup>2</sup> (J39) _ψ_ 2 _,±_ ( _z_ ) = _B±e_ <sup>_λ_</sup> _±_ <sup>_∗_</sup> 2 <sup><u>1</u></sup> <sup>_ω_</sup> _±_ <sup>_∗_</sup> <sup>_z_</sup> <sup>2</sup> _._ (J40) _±_ <sup>_∗_</sup> <sup>_z_</sup> _e_ <sup>+</sup> 2 <sup><u>1</u></sup> Let us look at the absolute values of these solutions, _|ψ_ 1 _,±_ ( _z_ ) _|_ <sup>2</sup> = _|A±|_ <sup>2</sup> _e_ <sup>_−_</sup> <sup>2Re(</sup> <sup>_λ±_</sup> <sup>)</sup> <sup>_z_</sup> _e_ <sup>_−_</sup> <sup>Re(</sup> <sup>_ω±_</sup> <sup>)</sup> <sup>_z_</sup> <sup>2</sup> _,_ (J41) �� _._ (J42) �� <sup>2</sup> _z_ <sup>2</sup> <sup>2</sup> _z_ <sup>2</sup> <u>1</u> exp _−_ 2 _RQ_ <sup>2</sup> �� �� <u>1</u> exp + 2 _RQ_ <sup>2</sup> �� <u>��</u> _±_ _±_ _Q_ <sup>2</sup> _−_ _qx_ <sup>2</sup> + 3 _qx_ <sup>2</sup> _Q_ <sup>2</sup> _−_ _qx_ <sup>2</sup> + 3 _qx_ <sup>2</sup> ~~�~~ _x_ <sup>2</sup> <sup>_/_</sup> <sup>2</sup> and = _|A±|_ <sup>2</sup> exp _−_ 2 �� +2 �� _z_ �1 _−_ ( _qx/Q_ ) <sup>2�</sup> _z_ �1 _−_ ( _qx/Q_ ) <sup>2�</sup> _|ψ_ 2 _,±_ ( _z_ ) _|_ <sup>2</sup> = _|B±|_ <sup>2</sup> exp _x_ <sup>2</sup> <sup>_/_</sup> <sup>2</sup> In the limit _qx_ = 0, this simplifies to: <u>1</u> _∓_ 2 _RQ_ <sup>_z_</sup> <sup>2</sup> = _|A_ <sup>˜</sup> _±|_ <sup>2</sup> exp �� �� <u>1</u> _±_ 2 _RQ_ <sup>_z_</sup> <sup>2</sup> = _|B_ <sup>˜</sup> _±|_ <sup>2</sup> exp �� �� _|ψ_ 1 _,±_ ( _z_ ) _|_ <sup>2</sup> = _|A±|_ <sup>2</sup> exp _{_ ( _−_ 2 _z_ ) _}_ exp _|ψ_ 2 _,±_ ( _z_ ) _|_ <sup>2</sup> = _|B±|_ <sup>2</sup> exp _{_ (+2 _z_ ) _}_ exp <u>1</u> _∓_ 2 _RQ_ <sup>(</sup> <sup>_z ±_</sup> <sup>2</sup> <sup>_RQ_</sup> <sup>)2</sup> (J43) �� �� <u>1</u> _±_ 2 _RQ_ <sup>(</sup> <sup>_z ±_</sup> <sup>2</sup> <sup>_RQ_</sup> <sup>)2</sup> _._ (J44) �� �� (a) (b) 4 3 2 1 0 -1 -2 -3 -4 -5 Γ M K Γ A L H A Γ M K Γ A L H A Γ M K Γ A L H A (c) (d) 4 3 2 1 0 -1 -2 -3 -4 -5 Γ M K Γ A L H A 1.2 0.6 0 -0.6 -1.2 1.2 0.6 0 -0.6 -1.2 Figure 10. DFT band structure (purple) and bands obtained from Wannier fits (cyan) for CaAgP: the first (second) row shows 12 (two) interpolated Ag-s and P-p bands obtained using the Wannier functions for CaAgP. The Fermi level is set to zero. In (b) and (d), we present a magnified plot of the bands shown in (a) and (c), respectively. Hence, the Gaussian solutions are _ψ_ 1 _,_ + and _ψ_ 2 _,−_ with centers at _±_ 2 _RQ_ . For general _qx_ with _|qx|_ _<_ _Q_, _ψ_ 1 _,_ + is always a Gaussian because the coefficient in parentheses in front of _z_ <sup>2</sup> is always positive. This behavior is different for _ψ−_, for which this coefficient changes sign at some critical _qx,c_ with _−_ <sup><u>3</u></sup> 4 _R_ �� + <sup><u>3</u></sup> 4 �� _x,c_ <sup>2</sup> <sup>=</sup> <sup><u>2</u></sup> 9 _q_ <sup>2</sup> positive. This behavior is different for _ψ−_, for which <sup><u>2</u></sup> 9 9 _Q_ <sup>2</sup> + 1 _−_ 1 . In particular, at _qx_ = _±Q_ we get �� _|ψ_ 1 _,±_ ( _z_ ) _|_ <sup>2</sup> = _|A±|_ <sup>2</sup> exp _|ψ_ 2 _,±_ ( _z_ ) _|_ <sup>2</sup> = _|B±|_ <sup>2</sup> exp <sup><u>3</u></sup> (J45) 4 _R_ <sup>_z_</sup> <sup>2</sup> �� 4 <sup><u>3</u></sup> _R_ <sup>_z_</sup> <sup>2</sup> _,_ (J46) �� such that, in this case, _ψ_ 1 _,_ + and _ψ_ 2 _,_ + are the bulk PLL solutions with centers at _z_ = 0. For sufficiently small _Q_, nevertheless, we have that _|qx,c|_ _≈_ _Q_ such that _ψ_ 2 _,−_ describes the second Gaussian solution for nearly the whole interior of the flat band along the _qx_ direction. We have checked that these solutions agree well with the numerically obtained solutions shown in Fig. 9(b). The other two analytical solutions _ψ_ 1 _,−_ and _ψ_ 2 _,_ + are, however, not obtained in numerics implying that they are not valid approximate solutions of the full Hamiltonian. To summarize, the valid solutions along the _qx_ direction are: _ψ_ 1 _,_ +( _z_ ) _∝_ _e_ <sup>_−λ_</sup> <sup>+</sup> <sup>_z_</sup> _e_ <sup>_−_</sup> 2 <sup><u>1</u></sup> <sup>_ω−z_</sup> <sup>2</sup> (J47) _−_ <sup>_∗_</sup> <sup>_z_</sup> _e_ <sup>+</sup> 2 <sup><u>1</u></sup> _ψ_ 2 _,−_ ( _z_ ) _∝_ _e_ <sup>+</sup> <sup>_λ_</sup> _−_ <sup>_∗_</sup> 2 <sup><u>1</u></sup> <sup>_ω_</sup> _−_ <sup>_∗_</sup> <sup>_z_</sup> <sup>2</sup> _._ (J48) Appendix K: DFT calculations for CaAgP In this section, we provide details on the construction of the tight-binding model for CaAgP used in the main text. We have performed first-principles density functional theory (DFT) calculations by using the VASP package based on the plane-wave basis set and projector augmented wave method <sup>67,68</sup> . A plane-wave energy cut-off of 270 eV has been used. For the treatment of exchange correlations, the Perdew-Burke-Ernzerhof generalized gradient approximation (GGA) <sup>69</sup> has been applied. We have used a 12 _×_ 12 _×_ 18 k-point grid centered at Γ. After computing the Bloch wave functions in DFT, we construct corresponding Wannier functions (WFs) <sup>70,71</sup> using the WANNIER90 code <sup>72</sup> . To extract the orbital character of the electronic bands at low energies, we use the Slater-Koster interpolation scheme based on the WFs. Furthermore, we neglect spin-orbit interactions, which are small in this material. As a first step, we construct a 12-orbital model based on the 3 _p_ orbitals of the three P atoms and on the 5 _s_ orbitals of the three Ag atoms in the unit cell. Our band structure results are shown in Figs. 10(a) and (b) and are in agreement with the literature <sup>51</sup> . The match between the DFT band structure and the interpolated band structure obtained from the WFs is good around the Fermi level. To obtain a simpler model catching the essential physics only at low energies, we next construct an effective two-orbital tight-binding model based on one _pz_ orbital centered at one P atom and on one s-orbital centered at the middle of a triangle of Ag atoms. The band interpolation of the two-orbital model is shown in Figs. 10(c) and (d). As we can see from the comparison between Figs. 10(b) and (d), we do not lose accuracy between -0.60 and 0.85 eV moving from the 12-orbital to the two-orbital model. This model, as obtained from the Wannier interpolation, still has a large number of parameters. To reduce this number to a managable value, we finally set an energy cut-off of 6 meV for the tight-binding parameters such that the dispersion close to the Fermi level is still captured correctly. This results in a two-band model with 37 different parameters, which is used for the strain implementation in the main text. Appendix L: Effect of orbital-mixing strain terms Figure 11. Energy subbands close to _E_ = 0 for the minimal model with open boundary conditions in both _x_ and _z_ direction, and model parameters _t_ 1 = 0 _._ 25 _t_, _t_ 2 = 0 _._ 8 _t_, _Lx_ = _Lz_ = 100. (a) Unstrained system. (b) Strained system without orbital-mixing term. (c) Strained system with orbital-mixing _s −_ _p_ terms. Here, we have chosen _R_ = 200. In our considerations, we have disregarded the effect of non-universal strain terms that might arise due to the specific orbital structure of the model, such as strain-enabled hopping terms between unlike orbitals. In this section, we show for our minimal model that including these terms does not change the results significantly. In Sec. A, we implemented the cylindrical strain profile focusing on the change in the _x_ -bond length, which led to the strain Hamiltonian _H_ 0( k ) shown in Eq. (A1). These strain terms are present independent of the orbital structure. If the two orbital degrees of freedom correspond to specific _s_ and _pz_ orbitals, the considered strain profile also makes _s −_ _p_ hopping available in the _x_ direction. There exists several possible approximation schemes to account for the mixing of the _s_ and _p_ orbitals (and their validity depends on the details of the materials), but in this section we follow the specific approach proposed in Ref. 63 for simplicity. This way, we determine the mixing term to be 2 _t_ 2 _σ_ <sup>_x_</sup> _u_ 31 sin _kx_, with the strain tensor component _u_ 31 = _u_ 13 = _x/_ 2 _R_ . Hence, the full strain Hamiltonian reads _H_ ˜ ( _k_ ) = _σ_ <sup>_z_</sup> [6 _t −_ _t_ 1 _−_ 2 _t_ (1 _−_ _u_ 11) cos _kx −_ 2 _t_ _i_ = _y,z_ cos _ki_ ] + 2 _t_ 2 _σ_ <sup>_x_</sup> (sin _kz_ + _u_ 31 sin _kx_ ) _._ (L1) Recall that the strain terms in _H_ 0( k ) [see Eq. (A1)] allow to retain the in-plane translational symmetry of the system. Hence, both _kx_ and _ky_ are good quantum numbers enabling us to visualize the spectrum of the strained system with finite width _Lz_ in an effective 2D Brillouin zone (see Fig. 1 of the main text). On the contrary, the presence of _u_ 31 in Eq. (L1) breaks translational symmetry also in the _x_ direction. Hence, only _ky_ remains a good quantum number and open boundary conditions have to be applied in the _x_ and _z_ directions <sup>73</sup> . Figure 11 shows the energy bands of the system in such a geometry, i.e., the system is finite in _x_ and _z_ with widths of _Lx_ and _Lz_, respectively, in units of the lattice constant of the unstrained system. For comparison, in Figs. 11(a) and (b) we also plot the energies of the unstrained system and the strained system without the _s−p_ terms. We observe a number of flat subbands close to _E_ = 0 comprising the top- and bottom-surface drumhead states in the case of the unstrained system, and surface and bulk pseudo-Landau level (PLL) states in the case of the strained system. Most importantly, we find that the _ky_ extent and the number of flat subbands are larger than in the unstrained system. This reflects the growing density of states as strain is applied. Finally, in Fig. 11(c) we plot the energy subbands of the strained system including the _s −_ _p_ strain terms. We find that the spectrum is strikingly similar to Fig. 11(b). In particular, number and extent of the flat subbands close to _E_ = 0 are larger than in the unstrained system and almost identical to Fig. 11(b). The only difference is the subband level spacing away from _E_ = 0. Moreover, we have checked that the flat subbands indeed consist of surface states and bulk PLL states behaving in a way identical to what we observe in the absence of the additional _s −_ _p_ strain terms: the centers of the bulk PLL shift as we move along _ky_ or along the subband index. This confirms that orbital-mixing strain terms have only a minor effect on the details of the spectrum and the system still supports 3D flat bands. Appendix M: Portion of the Brillouin zone covered by the flat bands We have mostly assumed that _Q ≪_ 1. Moreover, the validity of the leading order expansion of the strain requires that _R_ _≫_ _L_ . With these assumptions the portion of the Brillouin zone covered by the flat band is always small. However, the first assumption was done only for the sake of analytical transparency. Moreover, if we implement the effective magnetic field by varying the chemical composition so that the radius of the nodal line changes along the _z_ -direction, we can also violate the second condition. In the extreme case we can have _Q_ _∼_ 1 and _R_ _∼_ _L_ . In this case, the analytical approximations are no longer valid, but numerically we find 3D flat bands which cover most of the Brillouin zone (see Fig. 12). Thus, we conclude that there are no significant fundamental limitations for the portion of the Brillouin zone covered by the flat bands. Figure 12. Large flat bands in the minimal model for parameters _t_ 1 = 4 _t_, _t_ 2 = _t_, and _L_ = _R_ = 100: (a) extent of the flat bands (blue) at _E_ = 0 in the full Brillouin zone. (b) Energy bands close to _E_ = 0 along the path indicated in (a). (c) Wave function of the flat-band states at the momentum indicated in (a) and (b).

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.