## Introduction

Geometric properties of Bloch wave functions, such as the Berry curvature and Berry connection, have been the central theme of modern solid-state physics since the discovery of the topological insulator1,2,3,4,5. Using such geometric quantities, various bulk numbers called the topological invariants can be defined, which encode the topological nature of solid-state systems and enable us to classify phases more delicately beyond the order-parameter-based classifications6,7,8,9. Representative topological invariants include the Chern number of Chern insulators, Z2 index of topological insulators6,10, mirror Chern number of topological crystalline insulators5,11, monopole charge of Weyl semimetals12, and Zak phase of one-dimensional mirror-symmetric insulators13,14,15.

The most direct physical manifestation of these abstract topological orders is the existence of boundary modes that are robust against external perturbations, respecting the symmetries of the given system. This feature is called the bulk-boundary correspondence, which has played the most central role in the topological analysis of solids16,17,18,19,20,21. As a result, even if a solid is deemed to be an insulator according to the bulk band structure, it can be a metal owing to the boundary modes if the bulk has a non-trivial topological order. In other words, the bulk-boundary correspondence offers direct access to the bulk topology and helps us figure out the most fundamental material character, i.e., metallic or insulating.

In the perspective of geometry, there is another intriguing quantity called the Hilbert-Schmidt quantum distance22,23,24, which is defined as

$${d}_{{{{{{{{\rm{HS}}}}}}}}}^{2}({{{{{{{\bf{k}}}}}}}},{{{{{{{\bf{k}}}}}}}}^{\prime} )=1-| \left\langle {\psi }_{{{{{{{{\bf{k}}}}}}}}}| {\psi }_{{{{{{{{\bf{k}}}}}}}}^{\prime} }\right\rangle {| }^{2},$$
(1)

where ψk is an eigenstate of the Bloch Hamiltonian matrix with crystal momentum k. This quantity, also called quantum distance for short, takes the role of distance in the geometric description of Bloch wave functions, while the Berry curvature plays the curvature part. Indicating how close two states are, the quantum distance is not quantized and varies continuously between 0 and 1. We show that the quantum distance can be used to predict the existence and band structures of interface modes in two-dimensional flat-band systems. Although the quantum distance is not entirely independent of topological notions25,26,27, there has been no bulk-interface correspondence directly employing this kind of geometric quantity.

A flat band is a perfectly dispersionless band and has received considerable attention from the perspective of many-body physics because the electron-electron interaction strength is the most dominant energy scale in such a band28,29,30,31,32,33,34,35,36,37,38,39. Recently, a class of flat bands, called singular flat bands (SFBs), has attracted much attention because of their intriguing geometric effects40,41. The Bloch wave function of the SFB has a singularity originating from a band-crossing with another band42. The band-crossing point is characterized by a geometric quantity called the maximum quantum distance ($${d}_{\max }$$) if the band-crossing is quadratic type [see Fig. 1b]. The maximum quantum distance is the maximum value of quantum distance among all the possible pairs of Bloch eigenstates around the band-crossing point. A finite value of $${d}_{\max }$$ guarantees the existence of topological line-shaped eigenmodes called the non-contractible loop states40 and manifests itself as an anomalous Landau level structure, where Landau levels corresponding to the flat band are spread into the nearby band gap, and the magnitude of the spreading is determined by $${d}_{\max }$$43.

This work shows that if we introduce an interface in the middle of a singular flat-band system with nonzero $${d}_{\max }$$, localized modes are guaranteed to exist around the interface whose energy dispersion is located between the flat and parabolic bands [see Fig. 1a, c]. Here, we consider two types of interfaces. One is created by applying a potential difference between two 2D flat-band system regions, and the other is obtained by making a junction of two different flat-band models. Moreover, while the topological invariants predict only the number of the boundary modes in the gap, we find that $${d}_{\max }$$ also determines even the effective mass of the band dispersion and the localization length of the interface mode. Our results show that geometric quantities other than topological notions also can be used for the bulk-interface correspondence.

We consider the most general form of the 2D continuum Hamiltonian describing a flat band with a parabolic band touching [see Fig. 1b] given by

$${{{{{{{{\mathcal{H}}}}}}}}}_{{{{{{{{\rm{fb}}}}}}}}}({{{{{{{\bf{k}}}}}}}})=\mathop{\sum}\limits_{\alpha }{f}_{\alpha }({{{{{{{\bf{k}}}}}}}}){\sigma }_{\alpha },$$
(2)

where σα represents an identity (α = 0) and Pauli matrices (α = x, y, z)40. See Supplementary Note 1 for details. Here, fα(k) is a real quadratic function: $${f}_{x}({{{{{{{\bf{k}}}}}}}})={t}_{6}{k}_{y}^{2},\,{f}_{y}({{{{{{{\bf{k}}}}}}}})={t}_{4}{k}_{x}{k}_{y}+{t}_{5}{k}_{y}^{2},{f}_{z}({{{{{{{\bf{k}}}}}}}})={t}_{1}{k}_{x}^{2}+{t}_{2}{k}_{x}{k}_{y}+{t}_{3}{k}_{y}^{2}$$, and $${f}_{0}({{{{{{{\bf{k}}}}}}}})={b}_{1}{k}_{x}^{2}+{b}_{2}{k}_{x}{k}_{y}+{b}_{3}{k}_{y}^{2}$$, where ti and bi are real-valued band parameters. Any kind of quadratic Hamiltonian can be unitarily transformed into the above. Owing to the flat-band condition, only four out of nine band parameters are independent, and can be chosen as P0 = {t1, t2, t3, t4}40. We assume that the flat band is at zero energy, and the crossing point is at k = 0 without loss of generality. With P0, the maximum quantum distance $${d}_{\max }$$ is evaluated as

$${d}_{\max }^{2}=\frac{{t}_{4}^{2}}{-{t}_{2}^{2}+4{t}_{1}{t}_{3}+2{t}_{4}^{2}},$$
(3)

which is the highest value of $${d}_{{{{{{{{\rm{HS}}}}}}}}}^{2}({{{{{{{\bf{k}}}}}}}},{{{{{{{{\bf{k}}}}}}}}}^{{\prime} })$$ around the band-crossing point43. Note that the Hamiltonian (2) is of the form k2h(ϕ), where $${k}^{2}={k}_{x}^{2}+{k}_{y}^{2}$$, and h is a 2 × 2 matrix and a function of the polar angle with respect to the band-crossing point ϕ. As a result, the quantum distance is independent of k because the eigenvectors of (2) is determined by the k-independent part h(ϕ). However, when we calculate $${d}_{\max }$$ in lattice models, we should take the limit $${{{{{{{\bf{k}}}}}}}},{{{{{{{{\bf{k}}}}}}}}}^{{\prime} }\to {{{{{{{{\bf{k}}}}}}}}}_{c}$$, where kc is the band-crossing point. Since the Landau level spreading of the singular flat band, which is arising from the inter-band coupling, is a monotonic function of $${d}_{\max }$$, $${d}_{\max }$$ is considered representing the strength of the inter-band coupling between the flat and parabolic bands43. One can visualize $${d}_{\max }$$ by the pseudospin texture $${{{{{{{\bf{s}}}}}}}}({{{{{{{\bf{k}}}}}}}})={\sum }_{\alpha }\langle {\psi }_{{{{{{{{\bf{k}}}}}}}}}| {\sigma }_{\alpha }| {\psi }_{{{{{{{{\bf{k}}}}}}}}}\rangle \hat{\alpha }$$, where $$\hat{\alpha }$$ is a unit vector along the α-axis, because the maximum canting angle between the pseudospins $${{\Delta }}{\theta }_{\max }$$ is related to $${d}_{\max }$$ via an identity $${{\Delta }}{\theta }_{\max }=2{\sin }^{-1}{d}_{\max }$$43.

One can transform P0 into another set of gauge-invariant band parameters $${P}_{1}=\{{m}_{xx},{m}_{xy},{m}_{yy},{\tilde{d}}_{\max }\}$$, where mij is a mass tensor for the quadratic band Equad(k) defined by $${m}_{ij}^{-1}={\partial }_{{k}_{i}}{\partial }_{{k}_{j}}{E}_{{{{{{{{\rm{quad}}}}}}}}}({{{{{{{\bf{k}}}}}}}}){| }_{{{{{{{{\bf{k}}}}}}}}\to 0}$$43. Here, $${\tilde{d}}_{\max }={{{{{{{\rm{sgn}}}}}}}}[{t}_{4}]{d}_{\max }$$, where $${{{{{{{\rm{sgn}}}}}}}}[{t}_{4}]$$ is the sign of t4, can be regarded as an extended definition of the maximum quantum distance, introduced to recover the information of the sign of t4 lost during the transformation (3). P1 is the most natural choice of band parameters for the quadratic band-crossing flat-band model because three mass tensor elements describe the shape of the parabolic band and $${d}_{\max }$$ corresponds to the inter-band coupling. Moreover, both the mass tensor and $${d}_{\max }$$ are gauge-invariant. This continuum Hamiltonian (2) describes the low-energy physics of a variety of well-known flat-band models, such as kagome and checkerboard lattice models. While flat bands are mostly trivial from a topological perspective, it was noted that $${d}_{\max }$$ is the characteristic geometric quantity of the flat-band model $${{{{{{{{\mathcal{H}}}}}}}}}_{{{{{{{{\rm{fb}}}}}}}}}({{{{{{{\bf{k}}}}}}}})$$, and manifests itself in Landau level structures43.

In this work, we focus on the flat-band systems because they manifest the effect of $${d}_{\max }$$ most effectively. The flat-band Hamiltonian (2) is the most minimal quadratic 2 × 2 model described by only four independent parameters as explained above. Except three parameters relevant to the mass tensor or the shape of the parabolic band, only one parameter, $${d}_{\max }$$, is left to represent the inter-band coupling between the flat and quadratic bands as a geometric quantity. Moreover, since the flat-band model (2) is topologically trivial43, the flat-band model (2) is an ideal platform to study geometric phenomena excluding topological origins.

## Results

We show that the bulk number $${d}_{\max }$$ of the flat band is reflected in the electronic structur of the wave function of the interface mode. The interface is realized by applying a position-dependent potential U(x) to the system, where $$U(\infty )={V}_{G}^{{{{{{{{\mathcal{R}}}}}}}}}$$ and $$U(-\infty )={V}_{G}^{{{{{{{{\mathcal{L}}}}}}}}}$$ [see Fig. 1a]. This potential divides the system into two bulk regions, denoted by $${{{{{{{\mathcal{L}}}}}}}}$$- and $${{{{{{{\mathcal{R}}}}}}}}$$-regions. Under this condition, where the translational symmetry along the y-direction still exists, the flat-band Hamiltonian (2) transforms to

$${{{{{{{{\mathcal{H}}}}}}}}}_{{{{{{{{\rm{fb,IF}}}}}}}}}({k}_{y})={{{{{{{{\mathcal{H}}}}}}}}}_{{{{{{{{\rm{fb}}}}}}}}}(-i{\partial }_{x},{k}_{y})+U(x){\sigma }_{0},$$
(4)

where, for convenience, we assume $${V}_{G}^{{{{{{{{\mathcal{L}}}}}}}}}=0$$ and $${V}_{G}^{{{{{{{{\mathcal{R}}}}}}}}}={U}_{0}$$. In this study, we assume that U0 < 0 without loss of generality. The interface state is localized around the boundary between the $${{{{{{{\mathcal{R}}}}}}}}$$- and $${{{{{{{\mathcal{L}}}}}}}}$$-regions, and the corresponding band is located between the parabolic and flat bands. Namely, $${k}_{y}^{2}/2{m}_{yy}+{U}_{0}\, > \,{{{{{{{{\mathcal{E}}}}}}}}}_{{{{{{{{\rm{IF}}}}}}}}}({k}_{y})\, > \,{U}_{0}$$, where $${{{{{{{{\mathcal{E}}}}}}}}}_{{{{{{{{\rm{IF}}}}}}}}}({k}_{y})$$ is the energy dispersion of the interface mode, and U0 is the flat-band’s energy in the $${{{{{{{\mathcal{R}}}}}}}}$$-region far away from the interface. Assuming that U(x) is slowly varying ($${U}^{{\prime} }(x)\approx 0$$) for x 1, the energy dispersion of the interface mode near the band-crossing point is obtained as

$${{{{{{{{\mathcal{E}}}}}}}}}_{{{{{{{{\rm{IF}}}}}}}}}({k}_{y},{U}_{0})=\frac{{d}_{\max }^{2}}{2{m}_{yy}}{k}_{y}^{2}+{U}_{0},$$
(5)

and the corresponding eigenfunction is given by

$${\psi }_{{{{{{{{\rm{IF}}}}}}}},{k}_{y}}(x)\propto \exp \left(-i\eta {k}_{y}x\right)\,\exp \left[s(x){\int}^{x}\lambda (x{^\prime} )dx^{\prime} \right],$$
(6)

where $${\eta }_{{k}_{y}}=-{m}_{xy}/{m}_{yy}$$, s(x) = + 1(−1) for x < 0(x > 0), and $$\lambda (x)={(2/{m}_{xx}^{-1})}^{1/2}{[{k}_{y}^{2}/2{m}_{yy}+U(x)-{{{{{{{{\mathcal{E}}}}}}}}}_{{{{{{{{\rm{IF}}}}}}}}}({k}_{y})]}^{1/2}$$[see Supplementary Note 2]. Here, λ(x), which is related to the energy difference between the parabolic and interface bands, determines the decay length of the localized mode, whereas s(x) represents the exponential decay of the interface mode away from the interface. Since the above results are obtained from the behavior of the interface mode far from the interface, where $${U}^{{\prime} }(x)\approx 0$$, they are independent of the detailed shape of the interface potential around the interface[see Supplementary Note 2]. We note that there are no interface states when $${d}_{\max }=0$$ (non-singular flat band).

As shown in (5), the maximum quantum distance of the bulk system is directly and clearly manifested in the effective mass of the interface mode ($${m}^{* }={m}_{yy}/{d}_{\max }^{2}$$). As $${d}_{\max }$$ increases from 0 to 1, the interface band emerges out of the flat band and then approaches the parabolic band by lowering its effective mass [see Fig. 1c]. This means that one can extract the information of the quantum distance of the bulk by observing the spectrum of the interface state generated between two bulks with different gate voltages. Another role of $${d}_{\max }$$ is to determine the localization length of the interface mode via λ(x) in (6). As $${d}_{\max }$$ increases the localization length also increases because the character of the interface mode resembles the extended feature of the wave function of the bulk parabolic band as the interface band gets closer to the bulk parabolic band with increasing $${d}_{\max }$$. On the other hand, as $${d}_{\max }$$ decreases, the localization length decreases too since the interface band approaches the flat band, which is characterized by the compact localized eigenstates40.

We also consider another type of interface, where we have two different flat-band models on the $${{{{{{{\mathcal{L}}}}}}}}$$- and $${{{{{{{\mathcal{R}}}}}}}}$$-regions, while $${d}_{\max }$$ is the same on both sides and the applied potential is uniform (U(x) = 0). In particular, we obtain analytic results when the two models are the same, except for the sign of t4, which are described by two different parameter sets $$\{{m}_{xx},{m}_{xy},{m}_{yy},-{d}_{\max }\}$$ and $$\{{m}_{xx},{m}_{xy},{m}_{yy},{d}_{\max }\}$$, respectively [see Fig. 2a]. Similar to the above, we find that the band spectrum of the interface mode induced by this type of junction is given by $${{{{{{{{\mathcal{E}}}}}}}}}_{{{{{{{{\rm{IF}}}}}}}}}({k}_{y},0)$$. While we have obtained analytic results only when two regions have the same mass tensor, we note that the interface mode appears even when the mass tensor is different between two regions if $${d}_{\max }$$ is the same for both domains and nonzero.

We apply our general results of the continuum model to various lattice models, such as the kagome, Lieb, and square lattice models. We consider the conventional tight-binding model on the kagome lattice, where only the nearest-neighbor hopping processes are allowed [see Fig. 3a]. On the other hand, the flat-band model on the Lieb lattice is a modified version of the conventional one, where hopping processes are anisotropic, and the onsite potential is non-uniform [see Supplementary Fig. 1a]. Finally, in the case of the square lattice, various artificial long-range hopping processes are included in addition to the nearest-neighbor ones of the conventional model as illustrated in Fig. 4a. The hopping parameters are given by tred = − t1/2, $${t}_{{{{{{{{\rm{orange}}}}}}}}}=-{t}_{3}/2-{t}_{4}^{2}/8{t}_{1}$$, tgreen = it4/4, $${t}_{{{{{{{{\rm{blue}}}}}}}}}=-{t}_{4}^{2}/8{t}_{1}$$, $${t}_{{{{{{{{\rm{purple}}}}}}}}}={t}_{4}{(4{t}_{1}{t}_{3}+{t}_{4}^{2})}^{1/2}/4{t}_{1}$$, $${t}_{{{{{{{{\rm{pink}}}}}}}}}=-{t}_{4}{(4{t}_{1}{t}_{3}+{t}_{4}^{2})}^{1/2}/8{t}_{1}$$. The explicit forms of the tight-binding Hamiltonians for these models are provided in Supplementary Note 4. They all host a flat band with a quadratic band-crossing at k = 0. While $${d}_{\max }$$ is fixed to 1 in the kagome and Lieb models, we can control $${d}_{\max }$$ continuously while maintaining the band flatness and the mass tensor of the quadratic band in the square lattice model. To investigate the interface modes, we create an interface by applying a step-like potential U(x) = Ustep(x) along x-axis such that Ustep(x) = 0 and Ustep(x) = U0 when x < 0 and x > 0, respectively. We apply an open boundary condition at the left and right ends of the system.

As shown in Figs. 3b and 4c, d, there are non-bulk bands between the parabolic and flat bands. The red and green ones indicate the interface modes, while the others represent edge modes localized at the open boundaries of the systems. The continuum formula (5) fits all the interface bands of the lattice models accurately near the band-crossing point. In the kagome and Lieb lattices, where $${d}_{\max }$$ is fixed to 1, we confirm that the continuum formula (5) works well as shown in the ky-dependence of the interface bands in Fig. 3c and Supplementary Fig. 1c. Note that, in the case of the kagome lattice, we apply the interface potential of the form (U( − ), U()) = (− 2, − 2 + U0) to the continuum Hamiltonian (4) instead of $$\left(U(-\infty ),U(\infty )=(0,{U}_{0})\right.$$ because the flat band in the kagome lattice model is located at E = − 2. In the case of the square lattice model, we additionally plot the $${d}_{\max }$$-dependence of the effective mass of the interface band by controlling the hopping parameters and then check that the result (5) holds [see Fig. 4b]. Moreover, the $${d}_{\max }$$-dependence of the localization length of the interface modes is also illustrated in Fig. 4e, f, which shows that the wave functions becomes extended as $${d}_{\max }$$ increases.

We examine a junction between two areas with different values of $${\tilde{d}}_{\max }$$ in the square lattice model too [see Fig. 2a]. We consider a step-like sign change of $${\tilde{d}}_{\max }$$ such that $${\tilde{d}}_{\max }(x)=-{d}_{\max }$$ and $${\tilde{d}}_{\max }(x)={d}_{\max }$$ when x < 0 and x > 0, respectively. In this system, an interface mode also appears as plotted in Supplementary Fig. 7b. As shown in Fig. 2b, the effective mass of the interface band(red solid curve) is well described by $${m}^{* }={m}_{yy}/{d}_{\max }^{2}$$ obtained from the continuum analysis. Although we have considered only the case where the sign of $${\tilde{d}}_{\max }$$ is different between $${{{{{{{\mathcal{L}}}}}}}}$$- and $${{{{{{{\mathcal{R}}}}}}}}$$-regions, we also show that the interface mode appears quite generally when the values of $${\tilde{d}}_{\max }$$ is different between two areas [see Supplementary Note 7 and Supplementary Fig. 7].

We investigate how the bulk-interface correspondence is modified for the nearly flat bands from the perspective of realistic systems. The interface is introduced by applying the same potential U(x) as we did for the perfectly flat-band case. First, we derive an analytic formula for the dispersion relation of the interface mode and show how it is related to $${d}_{\max }$$ by considering a continuum Hamiltonian. The bulk Hamiltonian for the nearly flat band is given by $${{{{{{{{\mathcal{H}}}}}}}}}_{{{{{{{{\rm{n-fb}}}}}}}}}({{{{{{{\bf{k}}}}}}}})={{{{{{{{\mathcal{H}}}}}}}}}_{{{{{{{{\rm{fb}}}}}}}}}({{{{{{{\bf{k}}}}}}}})+a{k}_{x}^{2}+b{k}_{y}^{2}+{{\Delta }}{\sigma }_{z}$$, where $$a{k}_{x}^{2}+b{k}_{y}^{2}$$ is a perturbation deforming the flat band and Δσz is the mass term. When Δ = 0 and a or b are nonzero, the band-crossing point survives, and the eigenstates around it give the same $${d}_{\max }$$, although the flat band is slightly warped. On the other hand, if Δ > 0(Δ < 0), the band-touching point is gapped out when $$0\le {d}_{\max } \, < \, 1$$($$0 \, < \, {d}_{\max } < 1$$). When $${d}_{\max } \, > \, 0$$, that is, when the flat band is singular, this gap-opening process accompanies the warping of the flat band, realizing a nearly flat band. Although the band-crossing point is destroyed for the nonzero Δ, the effect of $${d}_{\max }$$ before opening the gap is still encoded in the interface mode for the nearly flat-band cases. When Δ > 0, the energy spectrum of the interface mode around the band-crossing point induced by U(x) is obtained as follows:

$${\tilde{{{{{{{{\mathcal{E}}}}}}}}}}_{{{{{{{{\rm{IF}}}}}}}}}({k}_{y},{U}_{0},a,b,{{\Delta }})={{{{{{{{\mathcal{E}}}}}}}}}_{{{{{{{{\rm{IF}}}}}}}}}({k}_{y},{U}_{0})+{\chi }_{ab}{k}_{y}^{2}-{{\Delta }},$$
(7)

where $${\chi }_{ab}=b-a({m}_{xx}{m}_{yy}-\det [{{{{{{{\bf{m}}}}}}}}]{d}_{\max }^{2})/{m}_{yy}^{2}$$, as derived in Supplementary Note 3. Note that the mass tensor used here is from the unperturbed Hamiltonian, $${{{{{{{{\mathcal{H}}}}}}}}}_{{{{{{{{\rm{fb}}}}}}}}}({{{{{{{\bf{k}}}}}}}})$$. One can extract $${d}_{\max }$$ from this result assuming that the mass tensor and perturbation parameters are already known from the bulk band structure. For another type of the interface formed between two regions with opposite signs of $${d}_{\max }$$ but with the same external potential, the band structure of the interface state is found to be equal to $${\tilde{{{{{{{{\mathcal{E}}}}}}}}}}_{{{{{{{{\rm{IF}}}}}}}}}^{}({k}_{y},0,a,b,{{\Delta }})$$ similar to the perfectly flat-band case.

We confirm that the geometric formula for the interface band (7) works well by examining the square lattice model under the step-like potential U(x). A nearly flat band is realized in this model by adding several perturbative hopping processes and modulating onsite potentials. The dashed arrows in Fig. 4a represent the perturbative hopping processes: {pred, pblue} = { − a/4, − b/4}. The explicit form of the corresponding Hamiltonian is provided in Supplementary Note 4. We show how the continuum formula (7) matches well with the lattice model as a function of crystal momentum and $${d}_{\max }$$ for the gapless and gapped cases of the square lattice model with the nearly flat band in Fig. 5a, b and Fig. 5c, d, respectively [see Supplementary Fig. 2 for the d$${}_{\max }$$-dependence]. Therefore, one can extract the bulk geometric quantity $${d}_{\max }$$ of the unperturbed flat-band model from the band spectrum of the interface mode of the nearly flat-band system near the band-crossing point via the bulk-boundary correspondence described by (7).

## Discussion

We have shown that geometric quantities other than topological notions also can be used for the bulk-interface correspondence. Although our bulk-interface correspondence from the quantum distance applies to flat-band systems only, it possesses a certain level of robustness in that it can predict the existence and effective mass of the interface band around the band-crossing point regardless of the explicit shape of the interface potential [see Supplementary Fig. 3, Fig. 4, and Fig. 5 in Supplementary Note 5]. As a result, one can extract the geometric quantity $${d}_{\max }$$ by observing the effective mass of the interface band even for the nearly flat-band cases. It is noteworthy to mention that the flatness condition is crucial for the existence of the $${d}_{\max }$$-originating interface mode. We have shown in Supplementary Note 6 that the interface mode is destroyed when the bandwidth of the nearly flat band becomes comparable to the potential difference U0 [see Supplementary Fig. 6]. The generalization of our bulk-interface correspondence to the band-crossings between generic dispersive bands would be a future research direction, establishing a geometric mechanism for the generation of the interface modes beyond the topological origin.

While the interface is introduced between two regions with different potentials, this kind of experimental setup can be realized by designing a dual-gate device, where two independent voltages are applied to two divided areas of the sample44,45. The band spectrum of this 1D interface system can then be analyzed from the quasi-particle interference (QPI) pattern obtained from the scanning tunneling microscopy (STM)46,47. The anisotropic scattering potential due to the interface formed along the interface lets the QPI propagate mainly into the bulk perpendicular to the interface. However, the interface mode might exhibit the charge modulations along the interface so that one can distinguish the QPI of the interface mode from that of the bulk. If multiple dual-gates with interfaces aligned with each other can be fabricated, the same number of uniformly oriented 1D interface systems can be generated. The angle-resolved photoemission spectroscopy (ARPES) technique can also be used to observe the band structure of the interface states in such 1D systems48,49,50. Recently, various kagome materials hosting nearly flat bands such as Fe3Sn2, FeSn, and CoSn have been synthesized51,52,53, and they are candidate systems to demonstrate the bulk-interface correspondence from the quantum distance experimentally. We expect that one of the possible applications utilizing the bulk-interface correspondence is the detection of the ferroelectric domains in memory devices54,55,56. Using the interface mode of two-dimensional flat-band systems, we propose a quantum device that can detect the domain wall formed with the out-of-plane polarization direction [see Supplementary Fig. 8 in Supplementary note 8].