Introduction

The possible topological properties of non-interacting Hamiltonians are dictated by their spatial dimension, and discrete and crystal symmetries1. In particular, changing the dimension of a system while keeping its discrete symmetries unaltered generally yields a topological phase transition, following the Altland-Zirnbauer classes2,3,4,5. Examples in condensed matter systems include transitions from a trivial insulator to a quantum spin Hall (QSH) phase in HgTe quantum wells6,7, and transitions from three-dimensional topological insulators with two-dimensional surface states to QSH states with one-dimensional helical states8,9,10,11.

Such topological transitions due to dimensional shifts have been previously theoretically characterized by analyzing edge states in finite-size systems, the topological invariants based on band representations12,13, and the transport properties of a material14. However, a real-space framework capable of illuminating how a system’s topology changes during a dimensional shift has traditionally been missing due to the dearth of local topological markers needed to probe the topology of systems lacking translational symmetry across all of the possible symmetry classes. Nevertheless, such a theory could be useful to guide the design of materials and next-generation devices; for example, to identify how thin a slab can be while maintaining its three-dimensional topological properties, or how thick a nanowire can be while maintaining its end Majorana modes.

In this paper, we introduce a scheme to study topological phase transitions induced by the change in a system’s spatial dimensions via local topological markers. We will focus on the symmetry class D in the Altland-Zirnbauer classification2,3,4,5, a class that contains some topological superconductors15, and which exhibits non-trivial invariants in both 1D and 2D. Specifically, Hamiltonians in this class have particle-hole symmetry \({{{\mathcal{C}}}}\), and broken time-reversal and chiral symmetries. In one dimension (1D), the topological invariant corresponds to \({{\mathbb{Z}}}_{2}\), while in two dimensions (2D) to \({\mathbb{Z}}\). Our aim is to study the evolution of the \({\mathbb{Z}}\) invariant into \({{\mathbb{Z}}}_{2}\) as one of the dimensions of the target material embedded in an insulating environment is reduced.

In particular, we consider magnet-superconductor hybrid systems, Shiba lattices, consisting of time-reversal-symmetry-breaking magnetic atoms placed on the surface of a superconductor arranged as 1D chains16,17 or in 2D lattices18,19. Shiba lattices can be assembled with high precision in the laboratory and have shown signatures of topological superconductivity. 1D Shiba chains have been fabricated using ferromagnetic transition metal atoms (such as iron, chromium, manganese, and cobalt) placed on the surface of lead, rhenium, niobium or β-Bi2Pd20,21,22,23,24,25,26,27,28,29,30. In 2D, Shiba lattices have been realized using iron adatoms on rhenium31, flakes of chromium tribromide placed on niobium diselenide32,33, and cobalt-silicon islands on Si(111) covered by lead34. Additionally, arrays of chromium atoms on niobium have shown signatures of mirror symmetry-protected topological superconductivity35.

The task of tracking the topological properties of the Shiba lattice across spatial dimensions is well suited to the spectral localizer framework36,37,38, a real-space numeric K-theory approach that characterizes the local topological properties of finite-size systems, without requiring any notion of lattice periodicity. The spectral localizer approach has been employed to identify topological phenomena in gapless systems39,40,41,42, nonlinear materials43, non-Hermitian systems44,45,46,47,48, photonic systems49,50,51, quasicrystals52,53,54, time-dependent systems55,56, disordered superconductors57 and heterostructures58. While most of these studies have looked at 1D and 2D systems, the framework has also been applied to a 3D system36 and a 4D system59.

For the present study, we utilize two local topological markers derived from the spectral localizer, a Chern number, and a \({{\mathbb{Z}}}_{2}\) invariant that characterizes two- and one-dimensional Shiba lattices embedded in two-dimensional superconductors. Additionally, we also considered the one-to-zero-dimensional crossover in a BDI class model, showing the generality of our approach (See Supplementary Note 1). As this framework does not rely on projecting to an occupied subspace, it is endowed with a measure of the corresponding local topological protection related to the local spectral gap60. The local nature of the markers permits us to track their changes and corresponding local protection as the dimension of the Shiba lattice changes from two to one dimension. The real-space topology in 2D Shiba lattices has been characterized using a global position-space invariant61,62, and \({{\mathbb{Z}}}_{2}\) local markers for nonchiral phases in odd dimensions have been recently introduced63. However, these approaches cannot diagnose the topology of 1D Shiba lattices embedded in a two-dimensional superconductor.

Results

Shiba lattice model Hamiltonian

A mean-field tight-binding Hamiltonian describing Shiba lattices, systems consisting of a set of magnetic atoms placed on the surface of a superconductor, is given by19,62

$$H\;= \,-t\sum\limits_{{{{\bf{r}}}},{{{\boldsymbol{\delta }}}},\sigma }{c}_{{{{\bf{r}}}}\sigma }^{{{\dagger}} }{c}_{{{{\bf{r}}}}+{{{\boldsymbol{\delta }}}}\sigma }-\mu \sum\limits_{{{{\bf{r}}}},\sigma }{c}_{{{{\bf{r}}}}\sigma }^{{{\dagger}} }{c}_{{{{\bf{r}}}}\sigma }+\Delta \sum\limits_{{{{\bf{r}}}}}{c}_{{{{\bf{r}}}}\uparrow }^{{{\dagger}} }{c}_{{{{\bf{r}}}}\downarrow }^{{{\dagger}} }+h.c.\\ \;+\;i\alpha \sum\limits_{{{{\bf{r}}}},{{{\boldsymbol{\delta }}}},a,b}{c}_{{{{\bf{r}}}}a}^{{{\dagger}} }{\left({{{\boldsymbol{\delta }}}}\times {{{\boldsymbol{\sigma }}}}\right)}_{ab}^{z}{c}_{{{{\bf{r}}}}+{{{\boldsymbol{\delta }}}}b}+J\sum\limits_{{{{\bf{R}}}},a,b}{{{\bf{S}}}}\cdot {c}_{{{{\bf{R}}}}a}^{{{\dagger}} }{{{{\boldsymbol{\sigma }}}}}_{ab}{c}_{{{{\bf{R}}}}b},$$
(1)

where \({c}_{{{{\bf{r}}}}\sigma }^{{{\dagger}} }\) (crσ) creates (annihilates) an electron at site r with spin σ, σ = {σxσyσz} are the Pauli matrices, t is the hopping amplitude between nearest-neighbor lattice sites separated by the displacement vector δ such that the distance between nearest-neighbor sites is l = δ, μ is the chemical potential, α is the spin-orbit coupling strength, and Δ is the superconducting s-wave pairing. Specifically, we consider a square lattice superconductor. The magnetic adatoms located at positions R are assumed single-orbital, and are described as classical magnetic moments S aligned perpendicular to the superconductor lattice plane and coupled to the electron spin via the exchange coupling J.

Shiba lattices possess particle-hole symmetry \({{{{\mathcal{C}}}}}^{2}=I\), where I is the identity, such that they are in class D of the Altland-Zirnbauer classification and can thus exhibit non-trivial topology in physically realizable dimensions. To illustrate the topological behavior of Shiba lattices, we consider two magnetic adatom geometries in Fig. 1: a circular Shiba island (a) and a chain (b), both embedded in a two-dimensional square-lattice superconductor. We compute the local density of states (LDOS) at site i and energy E,

$${\rho }_{i}(E)=-\frac{1}{\pi }{\sum}_{\sigma }{{{\rm{Im}}}}\left[{G}_{ii}^{\sigma \sigma }(E)\right]$$
(2)

using the Chebyshev–Bogoliubov–de Gennes method64, where \({G}_{ii}^{\sigma \sigma }(E)\) is the Green’s function, and σ corresponds to the spin. We include an artificial broadening of the Green’s function’s features at zero temperature [see Methods]. Majorana modes localized at the corresponding 1D and 0D edges of the circular island and chain are numerically observed in their respective zero-energy LDOS, see Fig. 1c, d. Moreover, we compare the LDOS as a function of energy at bulk and edge sites of the magnetic adatom geometries in Fig. 1e, f; the former case shows the superconducting gap, while the latter exhibits a zero-energy peak corresponding to the interface-localized states.

Fig. 1: Topological phenomena in 1D and 2D Shiba lattices.
figure 1

Magnetic adatoms (filled circles) arranged in a circular island (a) and a chain (b) geometry, embedded in a two-dimensional superconductor whose sites are represented by empty circles. c, d Zero-energy local density of states (LDOS) for the circular Shiba island and chain, respectively, showing a Majorana mode at their boundary. e, f LDOS as a function of energy at a bulk site (dashed black line) and at a site on the island’s and chain’s edges (solid orange line). The latter displays zero-energy peaks. The parameters used for the island and chain are N = 20, where N is the size of the superconductor’s lattice, chemical potential μ = −4t, spin-orbit coupling strength α = 0.45t/l, superconducting s-wave pairing Δ = 2.0t, and magnetic moment times exchange coupling JS = 4.8t.

Previously, topological properties of finite-sized two-dimensional Shiba lattices have been classified in real-space using Chern markers61, including hybrid structures composed of networks of chains attached to islands62. Topological quantum numbers for one-dimensional chains based on the scattering matrix have been introduced16. Similarly, scattering theory has been recently applied to diagnose intrinsic higher order topology protected by spatial symmetries in finite samples65. A real-space topological invariant for one-dimensional time-quasiperiodic Majorana modes has been discussed in ref. 56.

Spectral localizer

Here, we use the spectral localizer framework to study the experimentally relevant geometry of a one-dimensional Shiba chains embedded in a two-dimensional superconductor, such as the case in Fig. 1d. In general, this framework has two key features that make it amenable to this task: first, it possesses local topological markers for both 1D and 2D class D systems, and second, it is endowed with a local measure of the associated topological protection. Physically, the spectral localizer framework assesses whether a system can be locally continued to an atomic limit while preserving any local spectral gap and (relevant) symmetries, or if there is an obstruction to doing so. Mathematically, the spectral localizer framework classifies material topology by first translating a system’s description into a single Hermitian matrix and then diagnoses its topology via matrix homotopy, i.e., the study of which types of invertible matrices can be path-connected such that every matrix element in the path shares the same properties (e.g., Hermiticity) and remains invertible. As such, the spectral localizer framework does not rely on vector bundles, though it is provably equivalent in some cases37,66. For a detailed tutorial on the spectral localizer and Clifford pseudospectrum, see ref. 67.

For a d-dimensional system with open boundaries described by the Hamiltonian H defined on a finite-dimensional Hilbert space, the spectral localizer is defined as36

$$\begin{array}{r}{L}_{{{{\boldsymbol{\lambda }}}}}({{{\boldsymbol{X}}}},H)={\sum }_{j=1}^{d}\kappa ({X}_{j}-{x}_{j}I)\otimes {\Gamma }_{j}+\left(H-EI\right)\otimes {\Gamma }_{d+1},\end{array}$$
(3)

where the matrices Γi generate an irreducible Clifford representation, Xj are the position operators, λ = (xE) is the point in position-energy space at which we are probing the local topological properties, and κ > 0 is a scaling parameter with units of energy divided by length. Intuitively, the spectral localizer can be understood as combining the eigenvalue equations of the position operators with the Hamiltonian into a single matrix using a Clifford representation to preserve the independent information contained in these different operators. Thus, κ must be chosen to balance the relative contributions of Xj and H to the spectrum of Lλ; choosing κ to be too large or too small results in the information carried by Lλ to effectively duplicate the information already present in Xj or H, respectively. For bounded Hamiltonians, such as those describing tight-binding models, a proven range of validity for κ exists where the spectral localizer provides information beyond what is immediately available in H and X38,60,66. Generally, for systems with gapped bulk spectra, this scaling parameter can be set by the bulk gap width Egap and the smallest length of the finite system L as κ ~ Egap/L. In comparison with other theories of local topological markers68,69, setting κ is similar to the choice of integration radius used by those markers.

The spectral localizer Lλ(XH) encodes both the local topological invariant and a measure of its local protection. In particular, as this framework’s local markers are all rooted in matrix homotopy arguments, the spectral localizer quantifies the strength of the local topological protection by how close a system’s Lλ(XH) is to being non-invertible at a chosen λ. More precisely, the localizer gap is defined as

$${\mu }_{{{{\boldsymbol{\lambda }}}}}({{{\boldsymbol{X}}}},H)=\min \left\{\left\vert \Sigma \left({L}_{{{{\boldsymbol{\lambda }}}}}({{{\boldsymbol{X}}}},H)\right)\right\vert \right\},$$
(4)

where \(\Sigma \left({L}_{{{{\boldsymbol{\lambda }}}}}({{{\boldsymbol{X}}}},H)\right)\) corresponds to the spectrum of the spectral localizer. In other words, this localizer gap is the minimum distance an eigenvalue must move for Lλ to become non-invertible. As the spectral localizer is Hermitian (for Hermitian H), any perturbation δL to Lλ, either through changing the choice of λ or perturbing the underlying system H → H + δH, cannot yield a non-invertible Lλ + δL so long as δL < μλ. Here, is the L2 matrix norm, i.e., its largest singular value.

The localizer gap can also be viewed as a quantity similar to the local density of states. As the spectral localizer is a combination of generally non-commuting operators, λ = (xE) can be understood as a guess at a location in position and energy space where the operators might exhibit an approximate joint eigenvector \(\left\vert \phi \right\rangle\). If μλ is small relative to quantities like \(\sqrt{ \| [H,\kappa {X}_{j}] \| }\), the system is guaranteed to exhibit a state that satisfies \({X}_{j}\left\vert \phi \right\rangle \approx {x}_{j}\left\vert \phi \right\rangle\) and \(H\left\vert \phi \right\rangle \approx E\left\vert \phi \right\rangle\)70. Thus, altogether, large values of μλ indicate locations where the local topology is robust, while small values of μλ indicate the presence of approximate states in the underlying system.

2D class D local invariant

While the definitions of the spectral localizer and the associated localizer gap can be defined for arbitrary dimensions, the associated local markers for classifying material topology require specializing to both the specific system dimensionality and symmetry class being considered. This demand for specificity can both be viewed as a physical consequence of the Altland-Zirnbauer classification3,4,5, as well as a mathematical consequence of changing dimensions and symmetries altering the structure of Lλ(XH). For example, such alterations may transform a spectral localizer that is symmetric \({L}_{{{{\boldsymbol{\lambda }}}}}^{\top }={L}_{{{{\boldsymbol{\lambda }}}}}\) into one that no longer possesses this property, fundamentally changing what matrix homotopy arguments can be applied and thus changing the structure, and possible existence, of the local markers.

For 2D systems, the Pauli matrices can be chosen as the Clifford representation in Eq. (3), yielding

$${L}_{{{{\boldsymbol{\lambda }}}} = (x,y,E)}^{(2D)}(X,Y,H) \,=\, \left(H-EI\right)\otimes {\sigma }_{z} \\ +\kappa \left[(X-xI)\otimes {\sigma }_{x}+(Y-yI)\otimes {\sigma }_{y}\right].$$
(5)

For a Hamiltonian in class D, the local topological marker at the energy-position point λ = (xyE) is36

$${C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}=\frac{1}{2}{{{\rm{sig}}}}\{{L}_{{{{\boldsymbol{\lambda }}}}}^{(2D)}\left(X,Y,H\right)\},$$
(6)

where \({{{\rm{sig}}}}\{{L}_{{{{\boldsymbol{\lambda }}}}}^{(2D)}\left(X,Y,H\right)\}\) corresponds to the signature of the spectral localizer, the difference between the number of positive and negative eigenvalues. Thus, when μλ is nonzero, \({C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}\) takes a well-defined integer value. Note that \({C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}\) can only change its value across λ where μλ = 0, as the eigenvalues of Hermitian operators must move continuously.

The overall picture of the spectral localizer framework is shown in Fig. 2, where the local marker \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}|\) and localizer gap μλ are both shown over the spatial extent of the full 2D system. In the lattice’s center the local marker reveals non-trivial topology and the localizer gap is large, indicating the robustness of the topological phase. As the choice of position is varied towards the system’s edge, the localizer gap closes around the boundary of the distribution of magnetic adatoms, beyond which the local index changes its value to reveal trivial topology. Finally, at the heterostructure’s boundary, the closing of the localizer gap coincides with the chiral interface-localized states, see Fig. 1c. Thus, bulk-boundary correspondence manifests in the spectral localizer framework as the local index cannot change without crossing through a location in position-energy space where μλ = 0, guaranteeing the appearance of a system state at that approximate energy and position.

Fig. 2: Application of the spectral localizer framework to the Shiba island.
figure 2

Chern number \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}|\) (a) and 2D localizer gap (b) as a function of position for the 2D island geometry shown in Fig. 1a, for the same parameters and at E/t = 0. The spectral localizer calculations use κ = 0.05(t/l).

1D class D local invariant

The 1D spectral localizer can also be constructed using the Pauli matrices as the choice of Clifford representation as

$${L}_{{{{\boldsymbol{\lambda }}}} = (x,E)}^{(1D)}(X,H)=\left(H-EI\right)\otimes {\sigma }_{y}+\kappa (X-xI)\otimes {\sigma }_{x},$$
(7)

where H is also given by Eq. (1). Here, the choice of H need not change between using \({L}_{{{{\boldsymbol{\lambda }}}}}^{(2D)}\) and \({L}_{{{{\boldsymbol{\lambda }}}}}^{(1D)}\), that is, the same H could be used in both Eqs. (5) and (7) to determine different physical properties. Instead, to classify topological phenomena associated with a lower physical dimension we use dimensional reduction, which in the spectral localizer framework is performed through the omission of (in this case) the second position operator Y in the definition of \({L}_{{{{\boldsymbol{\lambda }}}}}^{(1D)}\). Intuitively, the absence of a position operator means that sites with different y coordinates but the same x coordinate are being treated mathematically as analogous to different orbitals of a single site with the same x coordinate, a process that could be considered as similar to the reverse of using a synthetic dimension71 where different degrees of freedom on a single spatial site are considered to constitute an additional fictitious spatial dimension. As such, \({L}_{{{{\boldsymbol{\lambda }}}}}^{(1D)}\) can be equally applied to 1D chains as well as effective 1D chains embedded in 2D materials (or any material of arbitrarily higher dimension). Similarly, one can also define \({L}_{{{{\boldsymbol{\lambda }}}}}^{(1D)}\) in terms of other position operators such as Y or X + Y. However, for concreteness, we arrange our Shiba chains along the x-direction in the 2D superconductor as shown in Fig. 1b.

The 1D local topological invariant in class D is defined by first transforming to a basis for which H is purely imaginary and X is real. Such a basis must exist due to the system’s particle-hole symmetry. In this basis for H, and noting the choice of Pauli matrices used in Eq. (7), the 1D spectral localizer is both block off-diagonal and real symmetric at E = 0, such that \({({L}_{(x,0)}^{(1D)})}^{{{\dagger}} }={({L}_{(x,0)}^{(1D)})}^{\top }={L}_{(x,0)}^{(1D)}\). Thus, all of its eigenvalues come in pairs, and when \({L}_{(x,0)}^{(1D)}\) is invertible, its matrix homotopy can be classified using only one of its off-diagonal blocks (which removes this spectral pairing) as36

$${z}_{2,x}={{{\rm{sign}}}}\left[\det \left\{\kappa (X-xI)-iH\right\}\right].$$
(8)

As the determinant is given by the product of a matrix’s eigenvalues, z2,x cannot change its value (for fixed H) without first crossing through a location in position-space where μ(x,0) = 0. This reinforces the fact that μλ provides both a measure of robustness as well as guarantee of bulk-boundary correspondence regardless of dimension and symmetry class. Note though, that locations where μλ(XH) = 0 are not generally connected to locations where μλ(XYH) = 0.

Shiba lattice dimensional crossover phase diagram

Leveraging the local topological invariants for Class D systems, we explore the Shiba lattice’s parameter space for 1D and 2D geometries and consider values previously used in the literature for this model61,62,72,73. To this end, we consider two geometries, a circular island, and a chain, and compute the corresponding local topological invariants (the Chern number \({C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}\) and z2,x, respectively) at the system’s center, see Fig. 3. Using the same parameters for both geometries, we find regions where the Shiba island and chain are both topological, regions where the Shiba island is topological and the chain is trivial, regions where the island is trivial and the chain is topological, and regions where both geometries are trivial. Note that topological transitions not captured in the diagram can occur as the geometry changes from 2D to 1D. For example, the transition from \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}| =2\) to z2,x = −1 as the circular island is flattened occurs via a change to \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}| =1\) for a narrow island, as we discuss later. [See Section Topological phase transitions from dimensional crossover.] In Fig. 3, we consider only positive values for the chemical potential μ, as the phase diagram is symmetric under μ → −μ. In Supplementary Note 2, we present a lower-resolution phase diagram that considers negative values for the chemical potential μ.

Fig. 3: Dimensional crossover topological phase diagram in the Shiba lattice.
figure 3

The phase diagram is shown as a function of the chemical potential μ/t and the product of the magnetic moment and exchange coupling JS/t, for N = 20, and spin-orbit coupling strength α = 0.45t/l. The phase diagrams contain 31 × 31 points. Phase diagram (a), 1D spectral localizer gap for the chain (b), and 2D spectral localizer gap for the 2D island  (c) for Δ = 1.2t at E = 0. The color code indicates the 2D local marker \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}|\) computed at the center of a circular island, and the 1D local marker z2,x computed at the center of a chain using the same parameters and only changing the geometry. The localizer gaps are similarly computed at the center of the 2D island and 1D chain. df Similar to ac, except for Δ = 0.4t. Topological transitions not captured in the diagram can occur as the geometry changes from 2D to 1D. The spectral localizer calculations use κ = 0.05(t/l).

Even for the relatively modest system sizes considered in Fig. 3, the predicted topological phases of the Shiba island and chain are robust, as the localizer gaps [Fig. 3b, c, e, f] in both dimensions attain values within an order of magnitude of half the system’s bulk spectral gap [Fig. 1e, f]. Note, in an infinite clean system, the localizer gap at mid-gap is expected to be approximately half the bulk spectral gap width, i.e., the distance in energy to the nearest bulk states, as that is the perturbation to Lλ needed to find an approximate eigenstate. Indeed, there is a broad range of κ spanning multiple orders of magnitude that produce quantitatively similar results, see Supplementary Note 3. Thus, the phase diagrams in Fig. 3a, d are also robust to the choice of position where the topology is determined, so long as this choice is a few sites from the Shiba geometry’s boundary.

Topological phase transitions from dimensional crossover

To understand the various phases revealed in Fig. 3, we study the topological invariants as the Shiba geometry transitions from two-dimensional island to a one-dimensional chain by varying the distribution of magnetic adatoms placed atop the underlying superconductor.

To begin, we consider the case where both the Shiba island and chain are topological with \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}| =1\) and z2,x = −1, respectively, see Fig. 4. Specifically, our goal is to connect the change in the distribution of the magnetic adatoms [Fig. 4a–e] with the spectra of the associated spectral localizers [Fig. 4f–j], as well as the local markers and associated localizer gaps [Fig. 4k–t], as the adatom distribution is interpolated between a Shiba circular island and a Shiba chain. For the Shiba island, Fig. 4f, \(\Sigma ({L}_{{{{\boldsymbol{\lambda }}}}}^{(2D)}({{{\boldsymbol{X}}}},H))\) crosses zero at the edge of the magnetic adatom island, transitioning from trivial \({C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}=0\) to topological with \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}| =1\) [Fig. 4k]. The finite localizer gap is maximal at the center of the island. However, for this same geometry, the spectrum of the 1D spectral localizer, \(\Sigma ({L}_{{{{\boldsymbol{\lambda }}}}}^{(1D)}({{{\boldsymbol{X}}}},H))\), displays a much smaller localizer gap within the Shiba island [Fig. 4p]. While there are sites where the topological local marker is topological, z2,x = −1, the vanishing localizer gap means that there is little protection against variations in the Hamiltonian δH or position operators δX. Therefore, the 1D topology is not robust, and the system is characterized by a two-dimensional topology via the local Chern number, \({C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}\).

Fig. 4: Topological phase transitions due to dimensional crossover between the Shiba island and the Shiba chain.
figure 4

The parameters used are the same as in Fig. 1, Δ = 2.0t, μ = −4t, α = 0.45t/l, and JS = 4.8t, such that both the initial Shiba island and final Shiba chain exhibit non-trivial topology. ae Arrangements of magnetic adatoms (filled circles) and their absence (empty circles) embedded in a two-dimensional superconductor interpolating from the two-dimensional circular island to the one-dimensional chain geometries. fj 1D (black solid line) and 2D (dashed orange lines) localizer spectrum Σ(Lλ) as a function of position x for y = N/2 and E = 0. ko Local Chern number \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}|\) (orange squares) and 2D localizer gap \(\min \{| \Sigma ({L}_{{{{\boldsymbol{\lambda }}}}}^{(2D)})| \}\) (solid gray line) as a function of position x for y = N/2 and E = 0. pt Local z2,x invariant (black circles) and 1D localizer gap \(\min \{| \Sigma ({L}_{{{{\boldsymbol{\lambda }}}}}^{(1D)})| \}\) (solid gray line) as a function of position x for E = 0. The spectral localizer calculations use κ = 0.05(t/l).

As the number of magnetic adatoms is reduced along the y-direction, flattening the island, as shown in Fig. 4b, similar trends in the local markers and the associated localizer gaps are obtained. However, the number of sites with a nontrivial Chern number is reduced compared with the circular island’s case. Additionally, the 2D localizer gap is now smaller. The trend continues for a flatter island, as shown in Fig. 4c. However, for the parameters considered, the three-atom-wide island exhibits a change in its behavior: the Chern number is now nonzero only at locations where the 2D localizer gap vanishes, Fig. 4n, while there are sites with a nontrivial z2,x invariant protected by a 1D localizer gap, Fig. 4s. As such, this marks the transition from 2D to 1D topology in the system due to the change in the system’s geometry. For the Shiba chain, panel (e), the z2,x invariant changes from trivial to nontrivial at the edge of the chain. As the Shiba island reduces to a chain, \(\Sigma ({L}_{{{{\boldsymbol{\lambda }}}} = (x,y = N/2,E = 0)}^{(2D)}({{{\boldsymbol{X}}}},H))\) approaches \(\Sigma ({L}_{{{{\boldsymbol{\lambda }}}} = (x,E = 0)}^{(1D)}({{{\boldsymbol{X}}}},H))\). The local density of states for all the geometries considered is shown in the Supplementary Note 4.

To demonstrate that the topological transition shown in Fig. 4 is robust regardless for different boundaries of adatoms (so long as additional symmetries are not introduced), we consider the dimensional crossover using a geometry without symmetries, as shown in Fig. 5. To define the asymmetric Shiba islands, we start from the equation of a circle and define a “local” radius by introducing a random variable that changes the distance from the center of the island to the edge by up to 10%. The same procedure is applied to the flattened geometries. For the Shiba lattices that are 2D-like structures, Fig. 5a, b, the topology is characterized by the local Chern number, \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{L}|\) and protected by the large 2D localizer gap. Similar to Fig. 4, for these 2D geometries, the 1D localizer gap is too small to protect a meaningful z2,x. Conversely, as the randomized-boundary system approaches the Shiba chain limit, Fig. 5c–e, it becomes trivial from the 2D topological invariant perspective, while displaying regions with a nontrivial z2,x protected by a 1D localizer gap.

Fig. 5: Topological phase transitions due to dimensional crossover between an imperfect Shiba island and Shiba chain.
figure 5

The parameters used are μ = −4t, α = 0.45t/l, Δ = 2.0t, and JS = 4.8t, as in Fig. 1. af Arrangements of magnetic adatoms (filled circles) and their absence (empty circles) embedded in a two-dimensional superconductor interpolating from a two-dimensional island with no spatial symmetries to a 1D chain with imperfections. gl 1D (black solid line) and 2D (dashed orange lines) localizer spectrum Σ(Lλ) as a function of position x for y = N/2 and E = 0. mr Local Chern number \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}|\) (orange squares) and 2D localizer gap \(\min \{| \Sigma ({L}_{{{{\boldsymbol{\lambda }}}}}^{(2D)})| \}\) (solid gray line) as a function of position x for y = N/2 and E = 0. sx Local z2,x invariant (black circles) and 1D localizer gap \(\min \{| \Sigma ({L}_{{{{\boldsymbol{\lambda }}}}}^{(1D)})| \}\) (solid gray line) as a function of position x for E = 0. The spectral localizer calculations use parameter κ = 0.05(t/l).

We now consider a set of parameters that leads to a topological island with \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}| =2\) transitioning into a topological chain z2,x = −1, see Fig. 6. For this case, there are two main differences with respect to the previous example we discussed. First, there is a topological transition from \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}| =2\) to \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}| =1\) when the Shiba island shrinks from seven to five atoms wide in the y direction. Second, for the three-atom-wide island, there is a coexistence of non-trivial 2D and 1D topology with \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}| =1\) and z2,x = −1, respectively, though both topological phases are only weakly protected due to the relatively small localizer gaps in both cases. In Supplementary Note 5, we show plots for a topological island with \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}| =2\) transitioning into the trivial chain, z2,x = 1. In this case, the number of sites with nontrivial topology decreases together with the localizer gap protection, until the system becomes trivial in both 1D and 2D. Finally, in Supplementary Note 6, we consider the opposite case of a trivial Shiba island with \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}| =0\) transitioning into a topological chain with z2,x = −1. In this case, the topological phase transition due to dimensional crossover occurs for the three-atoms-wide island.

Fig. 6: Topological phase transitions due to dimensional crossover between a Shiba island with \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}| =2\) and Shiba chain with z2,x = −1.
figure 6

The parameters are N = 20, μ = 1.0t, α = 0.45t/l, Δ = 1.2t, and JS = 2.579t. ae Arrangements of magnetic adatoms (filled circles) and their absence (empty circles) embedded in a two-dimensional superconductor interpolating from the two-dimensional circular island to the one-dimensional chain geometries. fj 1D (black solid line) and 2D (dashed orange lines) localizer spectrum Σ(Lλ) as a function of position x for y = N/2 and E = 0. ko Local Chern number, \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}|\), (orange squares) and 2D localizer gap \(\min \{| \Sigma ({L}_{{{{\boldsymbol{\lambda }}}}}^{(2D)})| \}\) (solid gray line) as a function of position x for y = N/2 and E = 0. pt Local z2,x invariant (black circles) and 1D localizer gap \(\min \{| \Sigma ({L}_{{{{\boldsymbol{\lambda }}}}}^{(1D)})| \}\) (solid gray line) as a function of position x for E = 0. The spectral localizer calculations use κ = 0.05(t/l).

To conclude the discussion of topological phase transitions due to dimensional crossover in the clean limit, we consider a different approach to understanding these transitions based on the number of sites in the system exhibiting a non-trivial local marker with at least a moderate localizer gap, see Fig. 7. In particular, we consider the number of sites with a topological local marker, dtop, divided by the total number of sites on the x-axis, dtot, both for 1D and 2D, as a function of the island’s width-to-length ratio. Here, we only consider sites topological if the localizer gap is larger than 0.02t. Thus, the transition from 2D topology to 1D topology, as characterized by the spectral localizer framework, is approximately given by the crossing of the traces.

Fig. 7: Topological dimensional crossover as a function of island width.
figure 7

Length of the cut along x for y = N/2 and E = 0, as shown in Fig. 4, for which the local topological invariants \({C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}\) (orange squares) and z2,x (black triangles) are nontrivial and localizer gap of appropriate dimension is larger than 0.02t, dtop, divided by the number of sites along the cut, dtot. a Lattice uses the parameters from Fig. 4. b Lattice uses the parameters N = 20, μ = 0, α = 0.8t/l, Δ = 1.2t, and JS = 2t. The set of plots showing the topological transition can be found in Supplementary Note 5. c Lattice uses the parameters from Fig. 6. The spectral localizer calculations use κ = 0.05(t/l).

Effects of disorder

To test the robustness of our results, we consider the effects of adding disorder in the local chemical potential. To do so, we include an on-site disorder term in the Hamiltonian,

$${H}_{{{{\rm{dis}}}}}=-{\sum}_{{{{\bf{r}}}},\sigma }\delta \mu ({{{\bf{r}}}}){c}_{{{{\bf{r}}}}\sigma }^{{{\dagger}} }{c}_{{{{\bf{r}}}}\sigma },$$
(9)

where δμ(r) is taken to be an uncorrelated, uniformly distributed random variable, δμ(r)  [ −WW]. Shiba lattices could also present disorder in the adatom coupling strength, spin orientation, and possibly missing magnetic atoms in a given geometry61. In this study, we do not calculate the superconducting order parameter self-consistently in the presence of disorder74. Here, we consider the disorder strength W/t = 1.2 and compute the topological markers and localizer gaps for an island and a chain geometry, averaging over an ensemble of 100 disorder realizations see Fig. 8. For this disorder strength, the 2D localizer gap is closed within the Shiba island along the path considered. Thus, whatever local 2D marker the system may possess, the associated phase is not robust. However, the 1D localizer gap remains open and system remains 1D-topological, see Fig. 8d.

Fig. 8: Effects of disorder on the Shiba island and chain.
figure 8

a Ensemble-averaged 2D localizer gap for a disordered circular Shiba island, as shown in the inset with filled and empty circles indicating magnetic adatom locations and absences, respectively, along x for y = N/2 and E = 0, and with disorder strength W/t = 1.2. The blue dots show the average over 100 disorder realizations, while the light blue shaded area corresponds to  ±1 standard deviation of the average. b Ensemble-averaged local maker \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}|\) (orange squares) and the region falling within  ±1 standard deviation (light orange). c Ensemble-averaged 1D localizer gap (blue dots) and region falling within  ±1 standard deviation (light blue) for a disordered Shiba chain, as shown in the inset, along x, for E = 0 and W/t = 1.2, corresponding to the chain’s position. d Ensemble-averaged local marker z2,x (orange squares) and the region falling within  ±1 standard deviation (light orange). The spectral localizer calculations use κ = 0.05(t/l).

Now, we consider the effect of disorder for a narrow Shiba lattice where 1D and 2D topologies coexist in the clean case, as considered in Fig. 6n, s. In particular, we study a disordered three-atom-wide Shiba island with disorder strength W/t = 0.3 and average over an ensemble of 100 disorder realizations, see Fig. 9. When considering the system’s 2D topology, the small gap protecting its topological phase in the clean limit is now significantly reduced in the presence of disorder. However, again, the 1D localizer gap remains open across the region with nontrivial z2,x = −1. Together, these results indicate the chemical potential disorder favors the 1D topology.

Fig. 9: Effects of disorder at the topological dimensional crossover point.
figure 9

a Ensemble-averaged 2D localizer gap for a disordered three-atom-wide Shiba island, as shown in the inset with filled and empty circles indicating magnetic adatom locations and absences, respectively, along x for y = N/2 and E = 0, and with disorder strength W/t = 0.3. The blue dots show the average over 100 disorder realizations, while the light blue shaded area corresponds to  ±1 standard deviation of the average. b Ensemble-averaged local maker \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}|\) (orange squares) and the region falling within  ±1 standard deviation (light orange). c Ensemble-averaged 1D localizer gap (blue dots) and region falling within  ±1 standard deviation (light blue) for a disordered three-atom-wide Shiba island, as shown in the inset, along x for E = 0 and W/t = 0.3. d Ensemble-averaged local marker z2,x (orange squares) and the region falling within  ±1 standard deviation (light orange). In ad the gray lines correspond to the clean limit. The spectral localizer calculations use κ = 0.05(t/l).

Discussion

We have established a real-space approach based on the spectral localizer framework to characterize topological transitions due to spatial dimension changes. In particular, we have leveraged local topological markers for systems in class D, with particle-hole symmetry and broken time-reversal and chiral symmetry, to study Shiba lattices in experimentally relevant examples. We considered a 2D circular Shiba island and deformed it into a 1D chain by reducing its size along one of its dimensions. By computing the local markers across the dimension change, we found that the transition from 2D topology to 1D topology occurs via a reduction in the number of sites with Chern number \(| {C}_{{{{\boldsymbol{\lambda }}}}}^{{{{\rm{L}}}}}| > 0\) together with a decrease in the 2D localizer gap protecting the Chern number. At a critical thickness, we found the emergence of nontrivial 1D topology, marked by z2,x = −1, protected by a nonzero 1D localizer gap whose size increases for the 1D chain geometry. We tested the robustness of our results against disorder in the chemical potential of the magnetic adatoms, and numerically observed that the 1D localizer gap, and thus the 1D topology, is more robust than its 2D counterpart.

There are other methods to produce local markers of K-theory, including some that are valid for interacting systems75,76. These are, however limited to the \({\mathbb{Z}}\)-valued invariants so cannot be used to track the same Altland-Zirnbauer symmetry class across adjacent dimensions where at least one \({{\mathbb{Z}}}_{2}\)-valued invariant will be needed.

The approach we have introduced can be readily generalized to other symmetry classes. For example, we also considered the one-to-zero-dimensional crossover in a BDI class model, showing the generality of our approach [see Supplementary Note 1]. The spectral localizer, Eq. (3), can also be defined for a 3D topological insulator and a 2D quantum spin Hall system77. Additionally, one could consider the simultaneous removal of two or more dimensions, for example, to study the topological transition between 3D and 1D class AIII systems. More generally, the framework could help guide the design of topological materials for device applications. One of the strengths of the spectral localizer framework is its numerical efficiency, which enables it to be applied directly to experimental systems without developing a low-energy approximation78. As such, our results may be useful for the design and analysis of topological superconducting nanowires79.

Methods

Local density of states

We compute the local density of states using the Chebyshev-Bogoliubov-de Gennes method introduced in ref. 64. For completeness, we provide here a brief description. The Green’s function is defined as \({{{\mathcal{G}}}}=\left\langle vac\right\vert {\Psi }^{{{\dagger}} }\widehat{G(E)}\Psi \left\vert vac\right\rangle\), where \(\widehat{G(E)}={\left[E+i\epsilon -H\right]}^{-1}\), H the Hamiltonian in Eq. (1), \(\left\vert vac\right\rangle\) is the vacuum, and \(\Psi =({c}_{1\uparrow },...,{c}_{{N}^{2}\uparrow };{c}_{1\downarrow },...,{c}_{{N}^{2}\downarrow };{c}_{1\uparrow }^{{{\dagger}} },...,{c}_{{N}^{2}\uparrow }^{{{\dagger}} };{c}_{1\downarrow }^{{{\dagger}} },...,{c}_{{N}^{2}\downarrow }^{{{\dagger}} })\), labeling the positions in the two-dimensional superconductor using a single index. \({G}_{jj}^{\sigma \sigma }\) in Eq. (2) corresponds to the matrix entry with spin σ at site j. As shown in ref. 64, expanding the Green’s function using Chebyshev polynomials leads to

$${G}_{jj}^{\sigma \sigma }(E) \,\approx \, \frac{-2i}{\sqrt{1-{\tilde{E}}^{2}}}{\sum }_{m=0}^{M}{a}_{m}^{\sigma \sigma }(j,j)\frac{\sinh [\nu (1-\frac{m}{M})]}{\sinh (\nu )}\,\times\, {e}^{-im\arccos (\tilde{E})},$$
(10)

with coefficients \({a}_{m}^{\sigma \sigma }(i,j)=\left\langle {c}_{i\sigma }\right\vert {T}_{m}(H)\left\vert {c}_{j\sigma }^{{{\dagger}} }\right\rangle /(1+{\delta }_{0,m})\), where \(\vert {c}_{j\sigma }^{{{\dagger}} }\rangle ={c}_{j\sigma }^{{{\dagger}} }\vert vac\rangle\), and Tm(x) are the Chebyshev polynomials of the first kind which can be computed recursively. \(\tilde{E}\) corresponds to a rescaled energy, such that the spectrum lies within the interval [−1, 1]. Eq. (10) becomes exact in the limit M → . ν = ϵM is a real number taken to be the product of the Green’s function broadening ϵ and the summation cutoff M. We consider ϵ = 5 × 10−3 and a cutoff M = 103, enough for the system sizes we consider.

Spectral localizer

On the tight-binding basis of the Hamiltonian H, given by \(\Psi =({c}_{1\uparrow },...,{c}_{{N}^{2}\uparrow };{c}_{1\downarrow },...,{c}_{{N}^{2}\downarrow };{c}_{1\uparrow }^{{{\dagger}} },...,{c}_{{N}^{2}\uparrow }^{{{\dagger}} };{c}_{1\downarrow }^{{{\dagger}} },...,{c}_{{N}^{2}\downarrow }^{{{\dagger}} })\), we label the positions in the system using a single index, j =  1, . . . , N2. Then, the position operators XY used in the spectral localizer are diagonal matrices with the x (y) component of the j-th lattice site at the entry Xjj (Yjj). The spin and particle-hole spaces are labeled with an additional index at the same position. The spectral localizer is diagonalized using eigenvalue solvers to obtain its spectrum and gap. The two-dimensional topological marker, \({C}_{{{{\boldsymbol{\lambda }}}}}^{L}\), is given by the signature of the spectral localizer \({L}_{{{{\boldsymbol{\lambda }}}}}^{(2D)}\). When the full spectrum is not needed, we speed up its calculation using the LDLT decomposition of the spectral localizer. To compute the sign of the determinant needed for the 1D topological marker, z2,x, we perform a LU factorization of \({L}_{{{{\boldsymbol{\lambda }}}}}^{(1D)}\).