Introduction

Parity-time (\({{{{{{{\mathcal{PT}}}}}}}}\)) symmetry is a key ingredient in non-Hermitian physics1,2,3. As a special type of pseudo-Hermiticity4, \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry guarantees real eigenenergies for \({{{{{{{\mathcal{PT}}}}}}}}\)-unbroken eigenstates, enforcing a balance between gain/loss and thus probability conservation1,5,6. As such, it provides an ubiquitous route towards realizing exotic non-Hermitian phenomena in a stable manner, as demonstrated in optical6,7,8,9, acoustic10,11,12,13, circuit14,15,16, and atomic platforms17,18,19,20,21,22.

Recently, it was found that non-Hermitian lattices can possess robust localized modes not just due to topological protection, but also from the non-Hermitian skin effect (NHSE), where all eigenstates accumulate exponentially to the boundary under open boundary conditions (OBCs)23,24,25. In particular, NHSE always requires a complex spectrum under periodic boundary conditions (PBCs) that forms loops in the complex energy plane26,27,28,29,30, and hence broken \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry. However, the potential application of \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry in manipulating NHSE still remains largely unexplored and a comprehensive framework is lacking.

In this work, we found that beyond ensuring stability, \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry can also serve as a paradigm for designing rich families of higher-dimensional non-Hermitian lattices with unconventional bulk, surface, hinge, or corner dynamics. Note that in our discussion we use “bulk/surface/edge/hinge” to describe the co-dimensionality of states in their adiabatically connected Hermitian limit, even if the NHSE has effectively dimensionally reduced them. Taking the spectral feature of NHSE as a cornerstone, we can generate various classes of higher-dimensional NHSEs not by breaking \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry globally, but by selectively activating or breaking it in different sectors e.g. edges and surfaces. By systematically switching on/off various types of NHSE in two-dimensional (2D) lattices as examples, we not only obtain rich families of non-Hermitian skin states beyond known NHSEs (e.g. corner NHSE and hybrid skin-topological effect), but also provide a scheme to manipulate them as desired. In three dimension (3D) or higher, \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry can even conspire with charge-parity (\({{{{{{{\mathcal{CP}}}}}}}}\)) symmetry and selective NHSE to activate much richer arrays of non-Hermitian skin phenomena, which may prove useful for designing an abundant variety of non-Hermitian optical devices that exploit NHSE31,32,33,34. We emphasize that these intriguing models can be realized in classical system, such as electrical circuits16,35,36,37,38,39,40,41,42,43,44. Moreover, it may also be extended to the quantum systems such as cold atoms and superconducting circuit setups, which are described by Lindblad master equation, where short-time dynamics can be effectively described by non-Hermitian Hamiltonians with the effects of quantum jump ignored45,46.

Results

Corner NHSE from generalized \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry breaking

As a warm-up, we begin with a minimal 2D model Hγ,2D whose robust corner/edge modes are localized not from higher-order topology, but from the NHSE activated by \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry breaking. We construct Hγ,2D by extending the 1D non-Hermitian Su-Schrieffer-Heeger (nH-SSH) model47,48 to 2D with a ky-dependent coupling (also see Methods section):

$${H}_{\gamma ,2{{{{{{{\rm{D}}}}}}}}}({k}_{x},{k}_{y})={h}_{\gamma }^{(0)}\,{\sigma }_{0}+{h}_{\gamma }^{(x)}{\sigma }_{x}+{h}_{\gamma }^{(y)}{\sigma }_{y}$$
(1)

where \({h}_{\gamma }^{(0)}={t}_{1}\cos {k}_{y}\), \({h}_{\gamma }^{(x)}=u+v\cos {k}_{x}\) and \({h}_{\gamma }^{(y)}=v\sin {k}_{x}+i\gamma /2 + i{t}_{2}\sin {k}_{y}\), and σα=x,y,z are the Pauli matrices acting on a pseudospin-1/2 space (e.g. two sublattices). Here u, v and t1, t2 are hopping parameters along the x and y directions respectively.

First consider fixed ky, when this Hamiltonian can be viewed as a 1D nH-SSH model with x-NHSE25 (with an extra energy shift of \({t}_{1}\cos {k}_{y}\)). The real-space Hamiltonian of this 1D model satisfies a generalized \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry \({{{{{{{\mathcal{K}}}}}}}}{H}_{\gamma ,{{{{{{{\rm{2D}}}}}}}}}({k}_{y}){{{{{{{\mathcal{K}}}}}}}}={H}_{\gamma ,{{{{{{{\rm{2D}}}}}}}}}({k}_{y})\), as x-OBC Hamiltonian Hγ,2D contains only real matrix elements49,50. Under x-OBCs, the spectrum remains complex for ky (0, π) [Fig. 1a], but becomes real in ky [ − π, 0] [Fig. 1b], reflecting the broken and unbroken phases of the generalized \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry, respectively. More generally, the real OBC spectrum can be associated to the so-called non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry51,52,53 (also see Methods section), with non-Bloch exceptional points emerging during transition of these two scenarios at k = 0 and π51.

Fig. 1: Corner and edge modes activated by parity-time (\({{{{{{{\mathcal{PT}}}}}}}}\)) symmetry breaking.
figure 1

a, b The spectrum under open boundary conditions (OBCs) (gray) of Hγ,2D with fixed ky can be a complex or b real depending on whether \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry is restored by the non-Hermitian skin effect. For reference, the spectrum under periodic boundary conditions (PBCs) (brown) is always complex. c Full spectrum of Hγ,2D as a 2D model, with PBCs along the y direction. Pink and blue cross sections correspond to the spectra in a and b (also indicated by gray arrows). The full x, y-OBC spectrum (colored according to the fractal dimension FD) is contained within the set of y-PBC eigenenergies, as shown by the lower part of the panel (gray). Corner modes with their fractal dimension FD ≈ 0 (I,II, triangles) are plotted in d, and exist at Im(E) ≠ 0 where \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry is broken. An edge mode with FD ≈ 1 (III, square) exists at Im(E) = 0, as plotted in e. Parameters are γ = 1.4, t1 = 0.1, t2 = 0.1, v = 1, and u = 0.7.

In the 2D context, Fig. 1a, b correspond to 1D slices [pink and blue planes in Fig. 1c] of Hγ,2D at different quasi-momenta ky, respectively with unbroken/broken generalized \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry and different types of NHSE. When OBCs are also implemented in the y-direction, ky is no longer diagonal and the spectrum with both x, y-OBCs [Fig. 1c Bottom] may differ from the x-OBC, y-PBC spectrum (Top). In particular, y-NHSE can occur only for the states with the generalized \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry already broken, since the NHSE requires nontrivial spectral winding, which in turn requires complex eigenenergies. Since x-NHSE acts on all eigenstates of Hγ,2D, there are no completely extended states, but only edge or corner-localized states under full x, y-OBCs, corresponding to single/double direction NHSE from unbroken/broken generalized \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry, as shown in Fig. 1d and e respectively. To quantify the effective dimensionality of these eigenstates, we introduce the fractal dimension54

$${{{{{{{\rm{FD}}}}}}}}=-\ln \left[\mathop{\sum}\limits_{{{{{{{{\bf{r}}}}}}}}}| {\psi }_{n,{{{{{{{\bf{r}}}}}}}}}{| }^{4}\right]/\ln \sqrt{N},$$
(2)

N being the total number of sites and ψn,r being the amplitude of n-th eigenstates at r-site. We have FD ≈ 0, 1, or 2 for corner, edge, and 2D bulk states. In Fig. 1c Bottom, FD ≈ 1 for states with real eigenenergies, indicating their 1D edge-localized nature [Fig. 1e]. In contrast, states with complex eigenenergies have FD closer to 0, corresponding to the corner localization in Fig. 1d.

Directional toggling of NHSE and symmetry-driven corner modes

Noting that \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry plays a crucial role in determining the allowed NHSE directions, we now show that it can be used to activate the NHSE exclusively in the x or y directions. We call this directional NHSE toggling. Furthermore, at an intermediate stage of the toggling, localization occurs briefly in both directions, leading to symmmetry-driven corner modes.

To demonstrate this intriguing directional toggling of the NHSE, we tune the \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry by varying the boundary hoppings. We interpolate between x-PBCs and x-OBCs with a parameter β, such that Hγ,2D becomes

$${H}_{\gamma ,2{{{{{{{\rm{D}}}}}}}}}^{\beta }={H}_{\gamma ,2{{{{{{{\rm{D}}}}}}}}}^{{{{{{{{\rm{OBC}}}}}}}}}+{e}^{-\beta }{H}_{1\leftrightarrow {N}_{x}}$$
(3)

where \({H}_{\gamma ,2{{{{{{{\rm{D}}}}}}}}}^{{{{{{{{\rm{OBC}}}}}}}}}\) is the Hamiltonian under full x, y-OBCs, and \({H}_{1\leftrightarrow {N}_{x}}\) denotes the hoppings between the first and last unit cells along the x-direction (see Methods section).

We have x-OBCs and hence x-NHSE at β → , and if parameters are chosen such that the generalized \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry is unbroken for all states, no y-NHSE can occur, even though we also have y-OBCs. (Corner NHSE shall occur otherwise, see Supplementary Note 1A.) This gives the x-edge-localized modes of Fig. 2a, with FD ≈ 1. By contrast, the other limit of β = 0 recovers x-PBCs that eliminate x-NHSE, but leads to y-NHSE with y-localized states [Fig. 2c]. In both scenarios, the y-OBCs remain unchanged, yet by adjusting the x-boundary hoppings, we can activate the localization in y-direction through \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry breaking.

Fig. 2: Toggling between non-Hermitian skin effect along x and y directions through x-boundary tuning.
figure 2

From ac: As we morph the boundary conditions along x direction from open boundary conditions (OBCs) a to periodic boundary conditions (PBCs) c, the y-PBC (gray) and y-OBC (colored by fractal dimension FD) spectra for \({H}_{\gamma ,2{{{{{{{\rm{D}}}}}}}}}^{\beta }\) transition from purely real to complex. Meanwhile, as activated by \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry breaking, the skin modes transition from x to y-edge localized (\(\overline{{{{{{{{\rm{FD}}}}}}}}}\) ≈ 1 with \(\overline{{{{{{{{\rm{FD}}}}}}}}}\) the average FD over all states), as plotted in the insets. Corner skin modes with \(\overline{{{{{{{{\rm{FD}}}}}}}}}\) ≈ 0.5 appear in the intermediate β ≈ 10 regime purely as a by-product of this \({{{{{{{\mathcal{PT}}}}}}}}\) activation mechanism. d Average FD and its 1D projections as a function of β under the y-OBC, with the trough at β ≈ 10 indicative of corner localization. Parameters are γ = 1.4, t1 = 0.1, t2 = 0.1, v = 1, and u = 0.9 in all panels.

Interestingly, with partial x-OBCs i.e. β = 10, corner modes can appear as an intermediate between x and y-boundary localization [Fig. 2b]. These corner modes are evidently distinct from known higher-order skin, topological or hybrid modes, which require proper full OBCs, and may in fact harbor enigmatic scale-free properties inherited from 1D partial boundary states55,56. We note that some eigenstates always exist at real energies, and are thus always free from the y-NHSE.

To quantify the transition between skin localizations along the two directions, we present in Fig. 2d the average fractal dimension \(\overline{{{{{{{{\rm{FD}}}}}}}}}\) and its 1D projections (x-\(\overline{{{{{{{{\rm{FD}}}}}}}}}\) and y-\(\overline{{{{{{{{\rm{FD}}}}}}}}}\)) over all states as functions of β, where

$$\overline{{{{{{{{\rm{FD}}}}}}}}} = -\mathop{\sum}\limits_{n}\ln \Big[\mathop{\sum}\limits_{{{{{{{{\bf{r}}}}}}}}}| {\psi }_{n,{{{{{{{\bf{r}}}}}}}}}{| }^{4}\Big]/(N\ln \sqrt{N}),\\ \alpha \,{{\mbox{-}}}\,{{{{{{{{\rm{FD}}}}}}}}}_{n} = -\ln \Big[\mathop{\sum}\limits_{\alpha }| \mathop{\sum}\limits_{{\alpha }^{{\prime} }}| {\psi }_{n,{{{{{{{\bf{r}}}}}}}}}{| }^{2}{| }^{2}\Big]/\ln \sqrt{N}, \\ \alpha \,{{\mbox{-}}}\,\overline{{{{{{{{\rm{FD}}}}}}}}} = \mathop{\sum}\limits_{n}\alpha \,{{\mbox{-}}}\,{{{{{{{{\rm{FD}}}}}}}}}_{n}/N,$$
(4)

with \(\alpha ,{\alpha }^{{\prime} } \in (x,y)\) and \(\alpha \, \ne \, {\alpha }^{{\prime} }\). Similar to the \(\overline{{{{{{{{\rm{FD}}}}}}}}}\), α-\(\overline{{{{{{{{\rm{FD}}}}}}}}}\) quantifies the locality along a single direction, which is 1 (0) for fully extended (localized) states along the α direction. While β = 0 and β 1 gives \(\overline{{{{{{{{\rm{FD}}}}}}}}}\approx 1\), a trough of \(\overline{{{{{{{{\rm{FD}}}}}}}}}\) exists between them, indicative of corner localization during the transition between single-directional y-NHSE under x-PBC (β = 0) and x-NHSE under x-OBC (β → ). Meanwhile, x-\(\overline{{{{{{{{\rm{FD}}}}}}}}}\) decreases and y-\(\overline{{{{{{{{\rm{FD}}}}}}}}}\) increases (almost) monotonously with β, reflecting the mutual exclusion of NHSE along x and y directions.

Edge-\({{{{{{{\mathcal{PT}}}}}}}}\)-breaking and selective boundary NHSE

So far, we have only seen how generalized \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry breaking can activate various NHSE channels for bulk states. We next discuss how that can interplay with nontrivial topology, which separately gives \({{{{{{{\mathcal{PT}}}}}}}}\)-asymmetric topological edge modes. Specifically, we show that \({{{{{{{\mathcal{PT}}}}}}}}\) can be selectively broken for edge states only, leading to a type of boundary NHSE distinguished from the usual bulk NHSE. We introduce another 2D model

$${H}_{g,2{{{{{{{\rm{D}}}}}}}}}=\mathop{\sum}\limits_{\alpha =0,x,y,z}{h}_{g}^{(\alpha )}({k}_{x},{k}_{y}){\sigma }_{\alpha },$$
(5)

where \({h}_{g}^{(0)}={t}_{1}\cos {k}_{y}\), \({h}_{g}^{(x)}=u+v\cos {k}_{x}\), \({h}_{g}^{(y)}=v\sin {k}_{x}\), and imaginary \({h}_{g}^{(z)}=i(g+{t}_{2}^{{\prime} }\sin {k}_{y})\). This Hamiltonian satisfies the \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry \([{{{{{{{\mathcal{PT}}}}}}}},{H}_{g,2{{{{{{{\rm{D}}}}}}}}}]=0\) with \({{{{{{{\mathcal{PT}}}}}}}}={\sigma }_{x}{{{{{{{\mathcal{K}}}}}}}}\), where \({{{{{{{\mathcal{K}}}}}}}}\) is the complex conjugate operator. When \({u}^{2}+{v}^{2}-2uv \, > \, g+{t}_{2}^{{\prime} }\) (all parameters chosen to be positive), all bulk states are \({{{{{{{\mathcal{PT}}}}}}}}\) unbroken and are free of any type of NHSE. On the other hand, edge states along x-boundaries will appear for all values of ky when their associating Wilson loop spectra take nontrivial values57, and the effective edge Hamiltonian read58,59,60,61:

$${H}_{{{{{{{{\rm{2D,edge}}}}}}}}}^{\pm }={\hat{P}}_{\pm }{H}_{g,2{{{{{{{\rm{D}}}}}}}}}{\hat{P}}_{\pm }={t}_{1}\cos {k}_{y}\pm i(g+{t}_{2}^{{\prime} }\sin {k}_{y})$$

with \({\hat{P}}_{\pm }=(1\pm {\sigma }_{z})/2\) the projectors of edge states. It is clear that \({H}_{{{{{{{{\rm{2D,edge}}}}}}}}}^{\pm }\) holds no \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry, and gives a complex edge spectrum [gray dotted loop in the inset of Fig. 3a] with nontrivial spectral winding for ky ( − π, π]. Consequently, y-NHSE occurs for these x-boundary states under y-OBCs, accumulating on opposite corners (red) depending on the sign of Im(E) [Fig. 3a]. This mechanism represents a type of hybrid skin-topological effect, namely that topological states are pushed to lower-dimensional boundaries by NHSE, yet bulk states remain extended62. In addition, the \({{{{{{{\mathcal{PT}}}}}}}}\)-protected bulk spectrum remains purely real [Fig. 3a] and impervious to any NHSE throughout. Indeed, this absence of bulk NHSE is geometry-independent63,64, representing an intrinsic hybrid skin-topological effect (Supplementary Note 2).

Fig. 3: Selective boundary non-Hermitian skin effect (NHSE) and non-monotonic state dynamics.
figure 3

a Hg,2D hosts bulk states with unbroken parity-time (\({{{{{{{\mathcal{PT}}}}}}}}\)) symmetry (black) and \({{{{{{{\mathcal{PT}}}}}}}}\)-broken topological edge states under open/periodic boundary conditions (OBCs/PBCs) along x/y direction (gray). Under full OBCs, the latter experiences y-NHSE and become corner-localized (red). b \({H}_{g,2{{{{{{{\rm{D}}}}}}}}}^{{\prime} }\) is deformed from Hg,2D such that \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry is restored for the branch of edge states (green) with Im(E) > 0, which remains edge-localized; and broken for the bulk states (black), which are thus edge-localized due to y-NHSE. c, d depict the dynamical evolution of a center-localized initial state (black dot) due to Hg,2D and \({H}_{g,2{{{{{{{\rm{D}}}}}}}}}^{{\prime} }\) respectively, with the size of blue dots indicating evolved state density. Qualitatively distinct stages occur before and after encountering the upper boundary; in d, the upper edge state evolves into the left edge state, leading to non-monotonic 〈y〉. Parameters are u = 0.2, g = 0.3, t1 = 0.3 and \({t}_{2}^{{\prime} }=0.1\), with system size Nx = Ny = 20.

Going further, we may also selectively recover/break \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry and hence turn off/on the NHSE for different branches of edge states. Explicitly, by introducing an extra anti-Hermitian term \(-i({t}_{2}^{{\prime} }\sin {k}_{y}+g){\sigma }_{0}\):

$${H}_{g,2{{{{{{{\rm{D}}}}}}}}}^{{\prime} }={H}_{g,2{{{{{{{\rm{D}}}}}}}}}-i({t}_{2}^{{\prime} }\sin {k}_{y}+g){\sigma }_{0},$$
(6)

one branch of edge eigenenergies becomes real, \({H}_{{{{{{{{\rm{2D,edge}}}}}}}}}^{+}\to {H}_{{{{{{{{\rm{2D,edge}}}}}}}}}^{{\prime} +}={t}_{1}\cos {k}_{y}\). As seen in Fig. 3b, these edge states remain left edge-localized (green) under full OBCs because they cannot undergo additional NHSE, but those of the other branch are \({{{{{{{\mathcal{PT}}}}}}}}\)-broken and collapse into corner modes (red) due to y-NHSE.

Anomalous \({{{{{{{\mathcal{PT}}}}}}}}\)-activated state dynamics

The selective activation of these various forms of corner and edge NHSE entails a competition between different NHSE channels, and gives rise to qualitative transitions in different stages of the state dynamics, distinguished to that of different bulk NHSE channels in Hγ,2D (Supplementary Note 1B). Consider an initial state \(\vert \psi (0) \rangle =(\vert \uparrow ,{N}_{x}/2,{N}_{y}/2\rangle + \vert \downarrow ,{N}_{x}/2,{N}_{y}/2 \rangle )/\sqrt{2}\) localized at the center of an Nx × Ny lattice. We dynamically evolve it via \(\left\vert \psi (t)\right\rangle ={e}^{-iHt}\left\vert \psi (0)\right\rangle\) and investigate the evolution of its center-of-mass 〈x〉 and 〈y〉 in Fig. 3c, d, for H = Hg,2D and \({H}_{g,{{{{{{{\rm{2D}}}}}}}}}^{{\prime} }\) from Eqs. (5) and (6) respectively.

For H = Hg,2D [Fig. 3c], both 〈x〉 and 〈y〉 remain roughly constant for a short time, since \(\left\vert \psi (t)\right\rangle\) is governed by NHSE-free bulk dynamics [see Fig. 3a] before it encounters a boundary. After t ≈ 30, the state arrives at the boundary and the intrinsic hybrid skin-topological effect is activated. The dynamics are then dominated by the corner states with Im(E) > 0, where 〈x〉, 〈y〉 ≈ 1.

A unusual observation is that 〈x〉, 〈y〉 can evolve non-monotonically in the dynamics governed by \({H}_{g,{{{{{{{\rm{2D}}}}}}}}}^{{\prime} }\). Due to bulk y-NHSE, the state is initially symmetrically pushed to the top boundary, and 〈y〉 increases while 〈x〉 remains constant [Fig. 3d]. After spreading to the left and right boundaries at t ≈ 50, the dynamics become dominated by the left edge states with Im(E) > 0, and the y-NHSE is effectively deactivated. As such, the edge state evolves from the top to the left boundary, and 〈x〉 → 1 and 〈y〉 → Ny/2. This enigmatic behavior is possible because the left edge states are \({{{{{{{\mathcal{PT}}}}}}}}\)-protected and do not undergo any NHSE to become corner states.

3D generalizations of \({{{{{{{\mathcal{PT}}}}}}}}\)-activated NHSE

The various avenues for \({{{{{{{\mathcal{PT}}}}}}}}\)-activated NHSE effects discussed above takes on even richer possibilities in higher dimensions. Below, we briefly demonstrate how they acquire extra interpretations as surface and hinge-selective NHSE in 3D. Specifically, we consider a 3D Hamiltonian of the form

$$\begin{array}{rcl}&&{H}_{\gamma /g,3{{{{{{{\rm{D}}}}}}}}}({{{{{{{\bf{k}}}}}}}})={H}_{\gamma /g,0}({k}_{x},{k}_{y})\\ &&\hspace{0.5em}+({u}^{{\prime} }+{v}^{{\prime} }\cos {k}_{z}){\sigma }_{0}{\tau }_{x}+{v}^{{\prime} }\sin {k}_{z}{\sigma }_{0}{\tau }_{y}\end{array}$$
(7)

with τx,y,z another set of Pauli matrices. Hγ/g,0(kx, ky) is inherited from the previous \({{{{{{{\mathcal{PT}}}}}}}}\)-breaking and directional toggling NHSE models Hγ/g,2D:

$${H}_{\gamma ,0}=i{H}_{\gamma ,2{{{{{{{\rm{D}}}}}}}}}\oplus \left(-i{H}_{\gamma ,2{{{{{{{\rm{D}}}}}}}}}^{{{{\dagger}}} }\right),\,{H}_{g,0}=i{H}_{g,2{{{{{{{\rm{D}}}}}}}}}{\tau }_{z},$$
(8)

which contain only diagonal terms of τ0,z. Since kz enters only off-diagonal terms of τx,y, the surfaces states under z-OBCs obey the effective Hamiltonian \({H}_{\pm ,{{{{{{{\rm{surface}}}}}}}}}={\hat{P}}_{\pm ,3{{{{{{{\rm{D}}}}}}}}}{H}_{\gamma /g,3{{{{{{{\rm{D}}}}}}}}}{\hat{P}}_{\pm ,3{{{{{{{\rm{D}}}}}}}}}\) with \({\hat{P}}_{\pm ,3{{{{{{{\rm{D}}}}}}}}}=(1\pm {\sigma }_{0}{\tau }_{z})/2\,\)z-surface state projectors58,59,60,61. Note that the choices Hγ/g,0 are not unique, and the explicit forms in Eq. (8) are chosen to restore \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry

$$[{\sigma }_{x}{\tau }_{x}{{{{{{{\mathcal{K}}}}}}}},{H}_{\gamma /g,3{{{{{{{\rm{D}}}}}}}}}({{{{{{{\bf{k}}}}}}}})]=0.$$
(9)

Also, an additional \({{{{{{{\mathcal{CP}}}}}}}}\) symmetry emerges for the surface states65 (also see Methods section), which offers another avenue for eliminating the NHSE by ensuring purely imaginary eigenenergies.

In Fig. 4, eigenmodes are marked with different colors according to their corresponding sectors and boundary conditions. In Fig. 4a–c for Hγ,3D, the (001) and (\(00\bar{1}\)) surface states essentially recapitulate the symmetry-selected and directional toggling NHSE effects of Figs. 1 and 2. Going from Fig. 4a to b, these surface states (blue) become corner-localized due to generalized \({{{{{{{\mathcal{CP}}}}}}}}\)-breaking, analogous to the corner localization Fig. 1d due to \({{{{{{{\mathcal{PT}}}}}}}}\)-breaking, while bulk (black) and hinge (green) states remain unchanged. Likewise, directional toggling from x-NHSE to y-NHSE localization occurs when the x-OBC of Fig. 4a is replaced by the x-PBC of Fig. 4c.

Fig. 4: Non-Hermitian skin effect (NHSE) selectively activated by parity-time (\({{{{{{{\mathcal{PT}}}}}}}}\)) or charge-conjugation-parity (\({{{{{{{\mathcal{CP}}}}}}}}\)) symmetry breaking for three-dimensional (3D) models.
figure 4

In most panels [except for c with periodic boundary conditions (PBCs) along x], colored dots represent the bulk, surface or hinge spectra under full OBCs, and gray dots represent the spectra with xz-OBCs and PBCs along y direction. Insets of 3D cubes display the average spatial distribution of eigenstates of the respective color. ae and f, g pertain to Hγ,3D, Hg,3D, \({H}_{g,3{{{{{{{\rm{D}}}}}}}}}^{{\prime} }\), and \({H}_{3{{{{{{{\rm{D}}}}}}}}}^{{\prime} }\) respectively. In ac (001) and \((00\bar{1})\)-surface states (blue) experience corner pumping from \({{{{{{{\mathcal{CP}}}}}}}}\)-breaking b or x to y-NHSE directional toggling a, c. In d, e, hinge states (red) can have \({{{{{{{\mathcal{CP}}}}}}}}\) symmetry selectively broken (unbroken), respectively resulting in corner (red) or hinge (green) localization. In f, g, on-demand switching of 1st and 2nd-order 3D bulk NHSE (black surface and edges) through \({{{{{{{\mathcal{PT}}}}}}}}\) breaking leaves other states (green,blue) invariant. In a to c, parameters are v = 1, \({u}^{{\prime} }=0.6\), \({v}^{{\prime} }=3\) and t1 = t2 = 0.1, with u = 0.6 and γ = 0.4 for a and c; u = 0.5 and γ = 1.4 for b. In d and e, parameters are u = 0.2, v = 1, \({u}^{{\prime} }=0.4\), \({v}^{{\prime} }=2\), g = 0.3, t1 = 0.3 and t2 = 0.1. In f and g, parameters are \({u}^{{\prime} }=0.2\), \({v}^{{\prime} }=1\), v = 3, γ = 1.4 and t1 = t2 = 0.1, with u = 0.9 for f and u = 0.5 for g.

Similarly, the surface (blue) and hinge (red) states on (001) and (\(00\bar{1}\)) surfaces of Hg,3D in Fig. 4d are in direct correspondence with the bulk (black) and boundary (red) states of Hg,2D in Fig. 3a. Meanwhile, bulk eigenenergies remain real as our choice of parameters maintains unbroken \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry in Eq. (7). In analogy with \({H}_{g,{{{{{{{\rm{2D}}}}}}}}}^{{\prime} }\) in Fig. 3b, a \({{{{{{{\mathcal{CP}}}}}}}}\) symmetry can be recovered in one branch of hinge states on each of (001) and (\(00\bar{1}\)) surfaces by introducing an extra Hermitian term to the Hamiltonian, i.e. \({H}_{g,3{{{{{{{\rm{D}}}}}}}}}^{{\prime} }({{{{{{{\bf{k}}}}}}}})={H}_{g,3{{{{{{{\rm{D}}}}}}}}}({{{{{{{\bf{k}}}}}}}})+({t}_{2}^{{\prime} }\sin {k}_{y}+g){\sigma }_{0}{\tau }_{0}\), which removes the NHSE on these hinge states (Fig. 4e).

Alternatively, a 3D Hamiltonian with only bulk-NHSE can be designed such that its bulk (PBC) states are not \({{{{{{{\mathcal{PT}}}}}}}}\)-symmetric, but that generalized \({{{{{{{\mathcal{PT}}}}}}}}\)-symmetry can be recovered in certain parameter regimes, for instance \({H}_{3{{{{{{{\rm{D}}}}}}}}}^{{\prime} }({{{{{{{\bf{k}}}}}}}})={H}_{\gamma ,{{{{{{{\rm{2D}}}}}}}}}({k}_{z},{k}_{y})\otimes {\tau }_{0}+{\sigma }_{z}\otimes {H}_{{{{{{{{\rm{SSH}}}}}}}}}({k}_{x})\), with

$${H}_{{{{{{{{\rm{SSH}}}}}}}}}({k}_{x})=({u}^{{\prime} }+{v}^{{\prime} }\cos {k}_{x}){\tau }_{x}+{v}^{{\prime} }\sin {k}_{x}{\tau }_{y}$$
(10)

the Hermitian SSH model and Hγ,2D(kz, ky) from Eq. (1). Consequently, bulk states accumulate to a 2D surface (or 1D hinges) when the generalized \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry is unbroken (or broken), as shown in Fig. 4f, g. In contrast to Hγ/g,3D, conventional surface (blue) or hinge (green) states are immune from the NHSE and remain extended. Thereby, our work provides a systemic framework for constructing and exploring various types of \({{{{{{{\mathcal{PT}}}}}}}}\) activated bulk and boundary skin effect, which also can be applicable in the study of non-Hermitian gapless phases66,67.

Discussions

\({{{{{{{\mathcal{PT}}}}}}}}\) symmetry ensures real spectra, thus eliminating the prospect for spectral winding. This fundamental observation leads to the paradigm of \({{{{{{{\mathcal{PT}}}}}}}}\)-activated NHSE, where rich families of NHSE-related phenomena can be designed by selectively symmetry breaking in bulk or boundary subspaces. In 2D, we discussed the directional NHSE toggling and \({{{{{{{\mathcal{PT}}}}}}}}\)-mediated corner modes, as well as selective edge-\({{{{{{{\mathcal{PT}}}}}}}}\) breaking and restoring that causes non-monotonic transfer of edge states. In 3D or higher, \({{{{{{{\mathcal{PT}}}}}}}}\) activation leads to far more varied phenomenology by interplaying with the already rich classes of boundary and bulk NHSE. This paradigm of symmetry-controlled NHSE can be extended to include other symmetries that forbid spectral winding, such as non-Bloch and generalized \({{{{{{{\mathcal{PT}}}}}}}}\) symmetries, \({{{{{{{\mathcal{CP}}}}}}}}\) symmetry, or pseudo-Hermiticity. It also provides a versatile scheme for constructing models with different types of NHSE on different sectors of the systems. We also note that the conditions for yielding a real OBC spectrum with complex PBC spectrum can be geometrically understood with an electrostatics analogy of the NHSE problem68, which may provide further possibilities for activating/deactivating NHSE based on our method.

Since \({{{{{{{\mathcal{PT}}}}}}}}\)-activated NHSE is fundamentally a phenomenon on a linear lattice, it can be experimentally demonstrated on any metamaterial or artificial lattice, whether classical or quantum, as long as \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry can be broken through a combination of gain/loss and non-reciprocity. Possible platforms include non-reciprocal lossy acoustic or photonic crystals or waveguides69,70,71,72, ultracold atomic lattices73, superconducting quantum circuit lattices74,75,76,77,78,79,80,81,82,83,84, and in particular op-amp controlled electrical circuits which can be constructed with great versatility16,35,36,37,38,39,40,41,42,43,44.

Methods

Non-Hermitian SSH model

The models supporting various types of NHSE discussed in the main text are mostly designed based on a non-Hermitian Su-Schrieffer-Heeger (SSH) model47,48, described by the Hamiltonian:

$$H({k}_{x})=\mathop{\sum}\limits_{\alpha =x,y,z}{h}_{\alpha }({k}_{x}){\sigma }_{\alpha },$$
(11)

where \({h}_{x}({k}_{x})=u+v\cos {k}_{x}\), \({h}_{y}({k}_{x})=v\sin {k}_{x}+i\gamma /2\), hz = ig, and σα=x,y,z is the Pauli matrix acting on a pseudospin-1/2 space [e.g. two sublattices \(\left\vert A\right\rangle\) and \(\left\vert B\right\rangle\) as shown in Fig. 5a]. u and v denote the Hermitian staggered hopping amplitudes. The two non-Hermitian parameters γ and g describes asymmetric hoppings and imaginary on-site potential, which correspond to to non-local and local dissipation85, respectively, as illustrated in Fig. 5a. By separately tuning the two non-Hermitian parameters g and γ, we can break or restore \({{{{{{{\mathcal{PT}}}}}}}}\)-symmetry selectively for bulk or topological edge states in this model, as discussed below.

Fig. 5: The non-Hermitian Su-Schrieffer-Heeger model.
figure 5

a A sketch of the model of Eq. (11), with γ (g) the asymmetric hopping (gain/loss) parameter. b Typical spectra of Hg under periodic (gray) and open (other colors) boundary conditions (PBCs and OBCs). Under the OBCs, bulk states can be parity-time-symmetric (\({{{{{{{\mathcal{PT}}}}}}}}\) symmetric) and have real eigenenergies (black), but edge states are \({{{{{{{\mathcal{PT}}}}}}}}\)-broken and have imaginary eigenenergies ± ig (red and blue). Insets demonstrate the spatial distribution of corresponding eigenstates. c Typical PBC and OBC spectra of Hγ, with the same color marks as in b. The PBC spectrum in c is \({{{{{{{\mathcal{PT}}}}}}}}\)-broken and possesses a nontrivial spectral winding, leading to a boundary accumulation of all eigenstates (see insets). The OBC spectrum restores a non Bloch (or a generalized) \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry and becomes purely real. Parameters are chosen to be u = 0.5, v = 1, and b g = 0.2, c γ = 0.2 for demonstration.

When γ = 0, non-Hermiticity enters the Hamiltonian only through the on-site gain and loss of g, and the resultant Hamiltonian

$${H}_{g}\equiv H(\gamma =0)$$

holds a \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry: \([{{{{{{{\mathcal{PT}}}}}}}},{H}_{g}]=0\) with \({{{{{{{\mathcal{PT}}}}}}}}={\sigma }_{x}{{{{{{{\mathcal{K}}}}}}}}\) and \({{{{{{{{\mathcal{PT}}}}}}}}}^{2}=+1\). A nonzero g does not break the \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry as the gain and loss are balanced between sublattices. As shown in Fig. 5b, in the \({{{{{{{\mathcal{PT}}}}}}}}\)-unbroken phase, all bulk states have real eigenenergies since they are also eigenstates of \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry operator1,2. On the other hand, topological edge states for the SSH model are sublattice polarized and hence \({{{{{{{\mathcal{PT}}}}}}}}\)-broken. Instead of being eigenstates of \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry operator, these states are related to each other through the symmetry, i.e. \({{{{{{{\mathcal{PT}}}}}}}} \vert {\psi }_{+} \rangle \propto \vert {\psi }_{-} \rangle\), with \(\vert {\psi }_{+,-} \rangle\) the topological edge states localized at left and right ends respectively. The sublattice-polarization of these edge states allow us to write down their effective Hamiltonians through projectors \({\hat{P}}_{\pm }=(1\pm {\sigma }_{z})/2\), i.e.

$${H}_{{{{{{{{\rm{edge}}}}}}}}}^{\pm }={\hat{P}}_{\pm }{H}_{g}{\hat{P}}_{\pm }=\pm ig,$$

which directly give their eigenenergies58,59,60,61.

For the other non-Hermitian scenario of Eq. (11) with g = 0 but γ ≠ 0,

$${H}_{\gamma }\equiv H(g=0)$$
(12)

the \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry is broken, and the resultant complex bulk spectrum is known to have nontrivial spectral winding topology under the PBC, a signature of the emergence of NHSE under the OBC26,27,28. Yet its OBC bulk spectrum become real in Fig. 5c due to the recovery of a generalized symmetry \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry \({{{{{{{\mathcal{K}}}}}}}}{H}_{\gamma }{{{{{{{\mathcal{K}}}}}}}}={H}_{\gamma }\)49,50 or a non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry51,52,53, or more generally, a pseudo-Hermiticity4. Explicitly, the OBC bulk spectrum can be described by a non-Bloch Hamiltonian \({\bar{H}}_{\gamma }({k}_{x})={H}_{\gamma }({k}_{x}+i\kappa )\) with \(\kappa =\ln \sqrt{| (u+\gamma /2)/(u-\gamma /2)| }\)25,29,86. That is, this non-Hermitian Hamiltonian can be transformed into a Hamiltonian without NHSE through a similarity transformation25: \({\hat{\psi }}_{j,A/B}^{{{{\dagger}}} }\to {e}^{-j\kappa }{\hat{\psi }}_{j,A/B}^{{{{\dagger}}} }\), where \({\hat{\psi }}_{j,A/B}^{{{{\dagger}}} }\) is the annihilate operator for j-th cell with sublattices A/B. In particular, a Hermitian SSH model will be obtained directly through this transformation in the non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) unbroken phase. A different route of transforming non-Hermitian Hamiltonians into Hermitian ones can be found in ref. 87. This Hamiltonian \({\bar{H}}_{\gamma }({k}_{x})\) satisfies a non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry,

$$[\eta {{{{{{{\mathcal{K}}}}}}}},{\bar{H}}_{\gamma }]=0$$

with η a unitary operator, which is unbroken for all non-Bloch eigenstates when u > γ/2 (as discussed later). In contrast, here the topological edge states always remain \({{{{{{{\mathcal{PT}}}}}}}}\)-symmetric and possess real (zero) eigenenergies, as a nonzero γ does not enter their effective Hamiltonian:

$${H}_{{{{{{{{\rm{edge}}}}}}}}}^{\pm }={\hat{P}}_{\pm }{H}_{\gamma }{\hat{P}}_{\pm }=0.$$

Note that the the localizing direction of these edge states may be altered by the NHSE, yet their distributing dimensionality remains unchanged, namely they are always 0D edge states except for some critical points in the parameter space88. Similarly, edge states of 2D generalization Hamiltonian Hγ,2D with selective bulk NHSE, namely those near zero energy in Fig. 1c and Fig. 2a of the main text, are seen to also possess real eigenergies with their distributing dimensionality unchanged by NHSE.

Non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry

While the models of Hγ in the last section and Hγ,2D satisfy a generalized \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry, it is the non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry that guarantees real OBC spectrum for more generic non-Hermitian Hamiltonians. Here, we discuss the non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry of the non-Hermitian SSH model with asymmetric hoppings

$${H}_{\gamma }({k}_{x})=(u+v\cos {k}_{x}){\sigma }_{x}+(\sin {k}_{x}+i\gamma /2){\sigma }_{y}.$$

When γ = 0, this Hamiltonian satisfies the conventional \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry \([{\sigma }_{x}{{{{{{{\mathcal{K}}}}}}}},{H}_{\gamma }({k}_{x})]=0\) with \({{{{{{{\mathcal{K}}}}}}}}\) the complex conjugate operator. Its corresponding non-Bloch Hamiltonian reads25,29,86

$${\bar{H}}_{\gamma }({k}_{x})={H}_{\gamma }({k}_{x}+i\kappa )=(A+iB){\sigma }_{x}+(C+iD){\sigma }_{y},$$
(13)

with

$$A = u+v\frac{\cos {k}_{x}}{2}({W}_{+}+{W}_{-}),\\ B = -v\frac{\sin {k}_{x}}{2}({W}_{+}-{W}_{-}),\\ C = v\frac{\sin {k}_{x}}{2}({W}_{+}+{W}_{-}),\\ D = v\frac{\cos {k}_{x}}{2}({W}_{+}-{W}_{-})+\frac{\gamma }{2},$$
(14)

with \({W}_{\pm }=\sqrt{(u\pm \gamma /2)/(u \, \mp \, \gamma /2)}\). The quantity κ describes the inverse localization length of skin modes under OBCs, which can be obtained by requiring non-Bloch eigenenergies to form degenerate pairs for different quasi-momenta (so that their linear combination can satisfy OBCs). W± as well as all factors defined in Eq. (14) are real when u > γ/2. In this regime, we can define non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry. To identify the non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry, we rewrite the non-Bloch Hamiltonian as

$${H}_{\gamma }({k}_{x}+i\kappa )={h}_{x}^{{\prime} }{\sigma }_{x}^{{\prime} }+{h}_{y}^{{\prime} }{\sigma }_{y}^{{\prime} }$$
(15)

with

$${h}_{x}^{{\prime} } = \frac{(A+iB)({W}_{+}+{W}_{-})+i(C+iD)({W}_{+}-{W}_{-})}{2},\\ {h}_{y}^{{\prime} } = \frac{(C+iD)({W}_{+}+{W}_{-})-i(A+iB)({W}_{+}-{W}_{-})}{2},\\ {\sigma }_{x}^{{\prime} } = \frac{({W}_{+}+{W}_{-}){\sigma }_{x}+i({W}_{+}-{W}_{-}){\sigma }_{y}}{2},\\ {\sigma }_{y}^{{\prime} } = \frac{({W}_{+}+{W}_{-}){\sigma }_{y}-i({W}_{+}-{W}_{-}){\sigma }_{x}}{2}.$$
(16)

It is straightforward to check that \({h}_{x}^{{\prime} },{h}_{y}^{{\prime} }\in {\mathbb{R}}\), \({({\sigma }_{x}^{{\prime} })}^{2}={({\sigma }_{y}^{{\prime} })}^{2}={\sigma }_{0}\), and \({\sigma }_{x}^{{\prime} }{\sigma }_{y}^{{\prime} }{\sigma }_{x}^{{\prime} }=-{\sigma }_{y}^{{\prime} }\). Therefore we obtain

$$[\eta {{{{{{{\mathcal{K}}}}}}}},{H}_{\gamma }({k}_{x}+i\kappa )]=0$$
(17)

with \(\eta ={\sigma }_{x}^{{\prime} }\) a parameter-dependent unitary operator and \({(\eta {{{{{{{\mathcal{K}}}}}}}})}^{2}=1\), indicating the non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry analogous to the conventional one.

We emphasize here that the system is non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) symmetric only when u > γ/2, as Eq. (17) is not satisfied when u < γ/2. In the non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) symmetric regime with u > γ/2, eigenenergies of Hγ(kx + iκ), i.e.

$${E}_{\gamma }=\pm \sqrt{G+2i(AB+CD)}$$
(18)

with G = A2 + C2 − B2 − D2, always take real values, since we have

$$AB+CD=v\frac{\sin {k}_{x}}{2}\Delta \sqrt{| {u}^{2}-{\gamma }^{2}/4| }=0$$
(19)

with \(\Delta ={{{{{{{\rm{sgn}}}}}}}}[u+\gamma /2]-{{{{{{{\rm{sgn}}}}}}}}[u-\gamma /2]\), and

$$G = {u}^{2}+{v}^{2}-{\gamma }^{2}/4+v\cos {k}_{x}\Delta \sqrt{| {u}^{2}-{\gamma }^{2}/4| }\\ \ge {(\sqrt{{u}^{2}-{\gamma }^{2}/4}-v)}^{2}\ge 0.$$
(20)

In other words, the system always falls in the non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) unbroken phase in the symmetric regime of u > γ/2. On the other hand, when u < γ/2, the system no longer holds the symmetry of Eq. (17), and the eigenenergies Eγ generally become complex. An exception is when kx {0, π}, where the eigenenergies reduce to

$${E}_{\gamma }(k=0,\pi )=\pm \sqrt{{u}^{2}+{v}^{2}-{\gamma }^{2}/4}$$
(21)

when u < γ/2, which are also real provided u2 + v2 > γ2/4.

The explicit form of Hamiltonian \({H}_{\gamma ,2{{{{{{{\rm{D}}}}}}}}}^{\beta }\)

For analytic tractability, we give the explicit form of \({H}_{\gamma ,2{{{{{{{\rm{D}}}}}}}}}^{\beta }\) in Eq. (3). According to this definition, the Hamiltonian \({H}_{\gamma ,2{{{{{{{\rm{D}}}}}}}}}^{\beta }\) contains two parts: the Hamiltonian Hγ,2D in Eq. (3) under full OBCs, and its hopping between boundaries along x-direction. The first part reads

$${H}_{\gamma ,2{{{{{{{\rm{D}}}}}}}}}^{{{{{{{{\rm{OBC}}}}}}}}}= \frac{v}{2}\mathop{\sum }\limits_{j}^{{N}_{x}-1}\mathop{\sum }\limits_{k}^{{N}_{y}}[{\hat{\psi }}_{j,k}^{{{{\dagger}}} }({\sigma }_{x}-i{\sigma }_{y}){\hat{\psi }}_{j+1,k}+{{{{{{{\rm{H.c.}}}}}}}}]\\ + \frac{1}{2}\mathop{\sum }\limits_{j}^{{N}_{x}}\mathop{\sum }\limits_{k}^{{N}_{y}-1}[{t}_{1}({\hat{\psi }}_{j,k}^{{{{\dagger}}} }{\hat{\psi }}_{j,k+1}+{{{{{{{\rm{H.c.}}}}}}}})-i{t}_{2}(i{\hat{\psi }}_{j,k}^{{{{\dagger}}} }{\sigma }_{y}{\hat{\psi }}_{j,k+1}+{{{{{{{\rm{H.c.}}}}}}}})]\\ +\mathop{\sum }\limits_{j}^{{N}_{x}}\mathop{\sum }\limits_{k}^{{N}_{y}}{\hat{\psi }}_{j,k}^{{{{\dagger}}} }(u{\sigma }_{x}+\frac{i\gamma }{2}{\sigma }_{y}){\hat{\psi }}_{j,k},$$
(22)

where \({\hat{\psi }}_{j,k}={[{\hat{a}}_{j,k},{\hat{b}}_{j,k}]}^{T}\), with \({\hat{a}}_{j,k}\) (\({\hat{b}}_{j,k}\)) being the annihilate operator for the pseudospin- () [sublattices A (B)] on the (j, k)-th unit cell.

Similarly, the hoppings between boundaries along x-direction \({H}_{1\leftrightarrow {N}_{x}}\) and y-direction \({H}_{1\leftrightarrow {N}_{y}}\) are

$${H}_{1\leftrightarrow {N}_{x}}= \frac{v}{2}\mathop{\sum }\limits_{k}^{{N}_{y}}[{\hat{\psi }}_{{N}_{x},k}^{{{{\dagger}}} }({\sigma }_{x}-i{\sigma }_{y}){\hat{\psi }}_{1,k}+{{{{{{{\rm{H.c.}}}}}}}}],\\ {H}_{1\leftrightarrow {N}_{y}}= \frac{{t}_{1}}{2}\mathop{\sum }\limits_{j}^{{N}_{x}}({\hat{\psi }}_{j,{N}_{y}}^{{{{\dagger}}} }{\hat{\psi }}_{j,1}+{{{{{{{\rm{H.c.}}}}}}}})\\ -\frac{i{t}_{2}}{2}\mathop{\sum }\limits_{j}^{{N}_{x}}({\hat{\psi }}_{j,{N}_{y}}^{{{{\dagger}}} }{\sigma }_{y}{\hat{\psi }}_{j,1}+{{{{{{{\rm{H.c.}}}}}}}}).$$
(23)

Thereby, the Hamiltonian under full PBCs can be expressed by

$${H}_{\gamma ,2{{{{{{{\rm{D}}}}}}}}}^{{{{{{{{\rm{PBC}}}}}}}}}={H}_{\gamma ,2{{{{{{{\rm{D}}}}}}}}}^{{{{{{{{\rm{OBC}}}}}}}}}+{H}_{1\leftrightarrow {N}_{x}}+{H}_{1\leftrightarrow {N}_{y}}.$$
(24)

Through the Fourier transformation, the momentum space Hamiltonian Hγ,2D(kx, ky) in Eq. (3) can be obtained. In Eq. (3), an extra factor eβ is introduced to describe the partial OBCs aong x direction.

Effective surface Hamiltonian for 3D generalizations

The Hamiltonians Hγ/g,3D and \({H}_{\gamma ,3{{{{{{{\rm{D}}}}}}}}}^{{\prime} }\) are chosen to support surface states on (001) and \((00\bar{1})\) surfaces. Corresponding projectors of these surface states are

$${\hat{P}}_{\pm ,3{{{{{{{\rm{D}}}}}}}}}=(1\pm {\sigma }_{0}{\tau }_{z})/2.$$

Thereby, the effective surface Hamiltonian of Hγ,3D can be given by:

$${H}_{\gamma ,{{{{{{{\rm{surf}}}}}}}}}^{\pm } = \, {\hat{P}}_{\pm ,3{{{{{{{\rm{D}}}}}}}}}{H}_{\gamma ,3{{{{{{{\rm{D}}}}}}}}}{\hat{P}}_{\pm ,3{{{{{{{\rm{D}}}}}}}}}\\ = \pm i\left\{{t}_{1}\cos {k}_{y}{\sigma }_{0}+(u+v\cos {k}_{x}){\sigma }_{x}\right.\\ \left.+ \, [v\sin {k}_{x}\pm i(\gamma /2+{t}_{2}\sin {k}_{y})]{\sigma }_{y}\right\}.$$
(25)

Comparing to Eq. (3), we find the effective Hamiltonian \({H}_{\gamma ,{{{{{{{\rm{surf}}}}}}}}}^{\pm }\) can be considered as ± iHγ,2D (the signs of γ and t2 are flipped for \({H}_{\gamma ,{{{{{{{\rm{surf}}}}}}}}}^{-}\)). As discussed in before, Hγ,2D holds a non-Bloch \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry. Correspondingly, \({H}_{\gamma ,{{{{{{{\rm{surf}}}}}}}}}^{\pm }\) holds a non-Bloch \({{{{{{{\mathcal{CP}}}}}}}}\) symmetry, due to the additional imaginary factor ± i. Therefore, the surface states of Hγ,3D can support various NHSE channels activated by \({{{{{{{\mathcal{CP}}}}}}}}\) symmetry breaking, as discussed in Fig. 4a to c.

Similarly, the effective surface Hamiltonian of Hg,3D reads

$${H}_{g,{{{{{{{\rm{surf}}}}}}}}}^{\pm }={\hat{P}}_{\pm ,3{{{{{{{\rm{D}}}}}}}}}{H}_{g,3{{{{{{{\rm{D}}}}}}}}}{\hat{P}}_{\pm ,3{{{{{{{\rm{D}}}}}}}}}=\pm i{H}_{g,2{{{{{{{\rm{D}}}}}}}}}.$$
(26)

Therefore, \({H}_{g,{{{{{{{\rm{surf}}}}}}}}}^{\pm }\) satisfies a \({{{{{{{\mathcal{CP}}}}}}}}\) symmetry \({[{{{{{{{\mathcal{CP}}}}}}}},{H}_{g,{{{{{{{\rm{surf}}}}}}}}}^{\pm }]}_{+}=0\) with \({{{{{{{\mathcal{CP}}}}}}}}={\sigma }_{x}{{{{{{{\mathcal{K}}}}}}}}\). And the surface (hinge) states of Hg,3D displays similar NHSE phenomenon as the bulk (and edge) states of Hg,2D, as shown in Fig. 4d.

The effective surface Hamiltonian of \({H}_{g,3{{{{{{{\rm{D}}}}}}}}}^{{\prime} }\) is given by

$${H}_{g,{{{{{{{\rm{surf}}}}}}}}}^{\pm {\prime} } = {\hat{P}}_{\pm ,3{{{{{{{\rm{D}}}}}}}}}{H}_{g,3{{{{{{{\rm{D}}}}}}}}}^{{\prime} }{\hat{P}}_{\pm ,3{{{{{{{\rm{D}}}}}}}}}\\ = \pm i[{H}_{g,2{{{{{{{\rm{D}}}}}}}}}\mp i({t}_{2}^{{\prime} }\sin {k}_{y}+g){\sigma }_{0}],$$
(27)

where the \({{{{{{{\mathcal{CP}}}}}}}}\) symmetry is broken and then surface states suffer from NHSE. However, one branch of boundary states of \({H}_{g,{{{{{{{\rm{surf}}}}}}}}}^{\pm {\prime} }\) recovers \({{{{{{{\mathcal{CP}}}}}}}}\) symmetry and is free from NHSE, analogous with the discussion of \({H}_{g,2{{{{{{{\rm{D}}}}}}}}}^{{\prime} }\) in Eq. (5). In this 3D model, \({{{{{{{\mathcal{CP}}}}}}}}\) symmetry is recover for distinct branches of boundary states in the (001) and \((00\bar{1})\) surfaces because of the  sign in the square bracket of the Eq. (27). As a result, these NHSE-free hinge states living in these two surfaces are localized in opposite sides along x-direction, as shown in Fig. 4e (green).

Finally, the projectors of (001) and \((00\bar{1})\) surface states for the Hamiltonian \({H}_{3{{{{{{{\rm{D}}}}}}}}}^{{\prime} }\) are

$${\hat{P}}_{\pm ,3{{{{{{{\rm{D}}}}}}}}}^{{\prime} }=(1\pm {\sigma }_{z}{\tau }_{0})/2.$$

Their effective surface Hamiltonian can be obtained as

$${H}_{3D,{{{{{{{\rm{surf}}}}}}}}}^{\pm {\prime} } = {\hat{P}}_{\pm ,3{{{{{{{\rm{D}}}}}}}}}^{{\prime} }{H}_{3{{{{{{{\rm{D}}}}}}}}}^{{\prime} }{\hat{P}}_{\pm ,3{{{{{{{\rm{D}}}}}}}}}\\ = {t}_{1}\cos {k}_{y}{\tau }_{0}\pm [({u}^{{\prime} }+{v}^{{\prime} }\cos {k}_{x}){\tau }_{x}+{v}^{{\prime} }\sin {k}_{x}{\tau }_{y}],$$
(28)

which satisfies a \({{{{{{{\mathcal{PT}}}}}}}}\) symmetry \([{{{{{{{\mathcal{PT}}}}}}}},{H}_{3D,{{{{{{{\rm{surf}}}}}}}}}^{\pm {\prime} }]=0\) with \({{{{{{{\mathcal{PT}}}}}}}}={\tau }_{x}{{{{{{{\mathcal{K}}}}}}}}\). Actually, \({H}_{3D,{{{{{{{\rm{surf}}}}}}}}}^{\pm {\prime} }\) is Hermitian and without NHSE. Correspondingly, the dimensionality of surface and hinge states of \({H}_{3{{{{{{{\rm{D}}}}}}}}}^{{\prime} }\) is unchanged by NHSE, despite that the localizing direction of hinge states (green) are altered by the z-NHSE, as shown in Fig. 4f, g. Meanwhile, the bulk states can show distinct localization with various types of NHSE, as shown in Fig. 4f, g.