1 Introduction

Nonlinear optical phenomena play an essential role in condensed matter physics to advance fundamental knowledge about materials and stimulate the development of technological applications. For instance, the second harmonic generation (SHG) has been applied to probe the electronic, magnetic and crystallographic structures of materials [18]. The high-harmonic generation (HHG) recently has been intensively studied to reveal the electron dynamics [9], band structures [10] and topological phase transitions [11]. Among various nonlinear optical processes, the bulk photovoltaic effect (BPVE) in noncentrosymmetric materials converting light into a DC current has gained numerous interests [1218]. As it surpasses the Shockley–Queisser limit and generates above-band-gap photovoltages, the BPVE is expected to be a replacement for the conventional solar cell [19, 20]. Besides, BPVE can be utilized to develop promising photodetectors because it does not require a bias voltage which would cause the dark current. Furthermore, due to the close relationship with geometric quantities such as quantum metric and Berry curvature [2124], the BPVE is employed to obtain the band geometry and topology information of materials [2527].

The photocurrent in BPVE consists of the shift current and the injection current, which are induced by the change in the charge center and group velocity of electrons during the interband transitions, respectively [23, 28]. The study on the BPVE photocurrents has been confined to nonmagnetic materials for decades [17, 2832]. In systems with time-reversal symmetry (\(\mathcal{T}\)), these two currents could be distinguished by their dependence on the polarization of incident photons. While the injection current is excited only by the circular polarized light, the shift current can be generated by light regardless of polarization [28, 33]. Besides, the circular injection current alters its direction when the helicity of incident light changes while the linear shift current does not [34].

In recent years, a series of works [21, 33, 3537] have shown the growing interests in the BPVE response of magnetic materials, which has a contrast dependence on the polarization of light compared to nonmagnetic ones. In magnetic materials where \(\mathcal{T}\) is broken and the space-time inversion symmetry \(\mathcal{PT}\) is preserved, shift current excited by the linear polarized light is prohibited while injection current excited by light of any polarization is allowed. It results in the linear injection current and circular shift current in the \(\mathcal{PT}\) magnetic materials [35, 36]. Moreover, in system with neither \(\mathcal{T}\) nor \(\mathcal{PT}\), both BPVE photocurrents can be induced by either linear or circular polarized light [21, 33].

Due to the sensitivity to the crystalline symmetry and the polarization of light, BPVE responses could be employed to probe the magnetic structure of materials. We take the magnetic material \(\mathrm{EuSn_{2}As_{2}}\) as an example and analyze the BPVE in three magnetic structures of \(\mathrm{EuSn_{2}As_{2}}\). The symmetry analysis demonstrates that BPVE is allowed to exist only in even-layer \(\mathrm{EuSn_{2}As_{2}}\) with antiferromagnetic (AFM) order. BPVE in three AFM phases of bilayer \(\mathrm{EuSn_{2}As_{2}}\) are investigated through group representation theory and first-principles calculation. The result shows that both linear injection current and circular shift current can be generated in AFM bilayer \(\mathrm{EuSn_{2}As_{2}}\) with the in-plane magnetic moments, while only linear injection current exist when the magnetic moments are out of plane. Besides, the two magnetic structures with mutually perpendicular in-plane magnetic moments has the similar BPVE responses, which can be explained by the connection between their magnetic symmetry groups, namely their magnetic moments alignment is related by the \(C_{4z}\) rotation. By exploiting the discrepancies among their nonlinear optical responses, we provide an experimental protocol to distinguish the magnetic structures by two circular polarized light beams with the opposite helicity.

2 Results

2.1 The bulk photovoltaic effect

When illuminated by the monochromatic light \(\boldsymbol{\tilde{E}}(t)=\boldsymbol{E}(\omega )e^{-i \omega t}+ \operatorname{c.c}\), noncentrosymmetric materials can give rise to a DC photocurrent described by the following relation [28],

$$ \begin{aligned} J^{a}={}&\sigma ^{abc}(0;- \omega,\omega ) E_{b}(-\omega )E_{c}( \omega ) \\ &{}+\sigma ^{abc}(0;\omega,-\omega ) E_{b}(\omega )E_{c}(-\omega ) \\ ={}&\sigma ^{abc}(0;-\omega,\omega ) E_{b}(-\omega )E_{c}(\omega )+ \operatorname{c.c.} \\ ={}&2\sigma ^{abc}(0;-\omega,\omega ) E_{b}(-\omega )E_{c}(\omega ), \end{aligned} $$
(1)

where we use the intrinsic permutation symmetry of nonlinear optical coefficients to derive the final expression. Different from the photovoltaic effect in a p-n junction, the direct current generated in noncentrosymmetric homogeneous crystals comes from the second-order optical process and is termed as bulk photovoltaic effect (BPVE) or photogalvanic effect (PGE) [32].

As the photocurrent is a real quantity and \(E_{b}(-\omega )=E_{b}^{*}(\omega )\), we take the complex conjugate of (1) and obtain \([\sigma ^{abc}(0;-\omega,\omega ) ]^{*}=\sigma ^{acb}(0;- \omega,\omega )\). Therefore, the real/imaginary part of \(\sigma ^{abc}(0;-\omega,\omega )\) is symmetric/antisymmetric to the exchange of the latter two index,

$$ \begin{aligned} &\operatorname{Re}\sigma ^{abc}(0;-\omega, \omega )=\operatorname{Re} \sigma ^{acb}(0;-\omega,\omega ), \\ &\operatorname{Im}\sigma ^{abc}(0;-\omega,\omega )=- \operatorname{Im} \sigma ^{acb}(0;-\omega,\omega ), \end{aligned} $$
(2)

We denote \(\operatorname{Re}\sigma (0;-\omega,\omega )\) as \(\sigma _{L}\) and \(i\operatorname{Im}\sigma (0;-\omega,\omega )\) as \(i\sigma _{C}\). With this notation, the definition of BPVE (1) can be reformulated as [25, 38],

$$ \begin{aligned} J^{a}= 2&\sigma _{L}^{abc}E^{*}_{b}E_{c}+2i \sigma _{C}^{ad}\bigl[ \boldsymbol{E^{*}\times E} \bigr]_{d}. \end{aligned} $$
(3)

Because \(\boldsymbol{E^{*}\times E}\) is required to be imaginary, the photocurrent described by \(\sigma _{C}\) can only be contributed by the circular polarized light and is called the circular photogalvanic effect (CPGE). On the contrary, PGE described by \(\sigma _{L}\) is called the linear photogalvanic effect (LPGE). Nonetheless, LPGE can be generated under the illumination of either linear or cicular polarized light. Moreover, because the change of helicity of circular polarized light is equivalent to the exchange of \(\boldsymbol{E^{*}}\) and E, the photocurrent of CPGE will alter its direction when the circular polarized light reverses its helicity while the LPGE does not [32].

Within the framework of perturbation theory and only considering the interband transitions, we can obtain the expression of BPVE described by the following two parts [28, 39, 40],

$$\begin{aligned}& \begin{aligned}& \frac{dJ^{a}_{\mathrm{inject}}}{dt}=2\eta _{\mathrm{inject}}^{a b c} (0; -\omega,\omega ) E_{b} (-\omega ) E_{c} (\omega ) \\ &\phantom{\frac{dJ^{a}_{\mathrm{inject}}}{dt}}=-\frac{2e^{3}\pi}{ \hbar ^{2}}\sum_{n m \boldsymbol{k}}\Delta _{mn}^{a} r_{nm}^{b}r_{mn}^{c} f_{ m n } \delta (\omega _{mn}-\omega ) \\ &\phantom{\frac{dJ^{a}_{\mathrm{inject}}}{dt}=}{}\times E_{b} (-\omega ) E_{c} (\omega ) ,\end{aligned} \end{aligned}$$
(4)
$$\begin{aligned}& \begin{aligned}& J^{a}_{\mathrm{shift}}=2\sigma _{\mathrm{shift}}^{a b c} (0; - \omega,\omega ) E_{b} (-\omega )E_{c} ( \omega ) \\ &\phantom{J^{a}_{\mathrm{shift}}}=-\frac{ie^{3}\pi}{\hbar ^{2}}\sum_{nm\boldsymbol{k}} f_{m n} \bigl[ \bigl(r_{mn}^{c} \bigr)_{;k ^{a}} r_{nm}^{b}- \bigl(r_{n m}^{b} \bigr)_{;k ^{a}} r_{m n}^{c} \bigr] \\ &\phantom{J^{a}_{\mathrm{shift}}=} {}\times \delta (\omega _{mn}-\omega )E_{b} (-\omega )E_{c} (\omega ) \\ &\phantom{J^{a}_{\mathrm{shift}}}=-\frac{e^{3}\pi}{\hbar ^{2}}\sum_{nm\boldsymbol{k}} f_{m n}r _{ n m } ^{ b } r _{ m n } ^{ c } \bigl( \mathcal{R}_{mn;a}^{c}- \mathcal{R}_{nm;a}^{b} \bigr) \\ &\phantom{J^{a}_{\mathrm{shift}}=}{}\times \delta (\omega _{mn}-\omega )E_{b} (-\omega )E_{c} (\omega ), \end{aligned} \end{aligned}$$
(5)

where \(\Delta _{mn}^{a}\equiv v_{m}^{a}-v_{n}^{a}\) and \(\hbar \omega _{mn}\equiv E_{m}-E_{n}\) denotes the group velocity along a and eigen-energy difference between band m and n, respectively. \(r_{nm}^{b}= \langle u_{n\boldsymbol{k}}\lvert i\partial _{k^{b}} \rvert u_{n\boldsymbol{k}} \rangle \) is the transition dipole moment along b between band m and n where \(\lvert u_{n\boldsymbol{k}} \rangle \) is the periodic part of Bloch wavefunction [41]. \(f_{n}\) is the Fermi–Dirac distribution of band n and \(f_{nm}\equiv f_{n}-f_{m}\). \((r_{mn}^{c} )_{;k ^{a}} \equiv{\partial _{a} r^{c}_{mn}}-i r^{c}_{mn} ({A}^{a}_{mm}-A^{a}_{nn} )\) is the generalized derivative and \(A_{nn}^{a}=\langle u_{n\boldsymbol{k}}\lvert i\partial _{k^{a}} \rvert u_{n\boldsymbol{k}}\rangle \) is the Abelian Berry connection. \(\mathcal{R}_{mn;a}^{c}\equiv i \frac{\partial \ln r_{mn}^{c}}{\partial _{k^{a}}}+A^{a}_{mm}-A^{a}_{nn}\) is the shift vector indicating the change of electron position in real space when transiting from band n to m. Note that we adopt the definition of shift vector in Ref. [33] which is different the one in nonmagnetic systems [28, 30, 36].

We could see that (4) describes a DC current generated from the change of electron group velocity that grows linearly with time. In real materials, however, the photocurrent will saturate after a time τ because of the impurities, defects, and other scattering mechanisms. Therefore, the photocurrent in (4) is named injection current. Similarly, the DC current in (5) originating from the change of electron position in real space is called shift current. According to their dependence on the polarization of light as mentioned above, the two photocurrents can be further classified into linear/circular injection current and linear/circular shift current. We obtain the corresponding response coefficients by separating the real and imaginary part of \(\eta _{\mathrm{inject}}\) and \(\sigma _{\mathrm{shift}}\),

$$\begin{aligned}& \begin{aligned} 2\eta ^{abc}_{\mathrm {LI}}(0;- \omega,\omega )={}& {-} \frac{e^{3}\pi}{ \hbar ^{2}}\sum_{n m \boldsymbol{k}}f _{ m n } \Delta _{ mn } ^{ a } \bigl\{ r_{nm}^{b},r_{mn}^{c} \bigr\} \\ &{}\times \delta (\omega _{mn}-\omega ), \\ 2\eta ^{abc}_{\mathrm {CI }}(0;-\omega,\omega )=& \frac{ie^{3}\pi}{ \hbar ^{2}}\sum _{n m \boldsymbol{k}}f _{ m n } \Delta _{ mn } ^{ a } \bigl[r_{nm}^{b},r_{mn}^{c} \bigr] \\ &{}\times \delta (\omega _{mn}-\omega ), \end{aligned} \end{aligned}$$
(6)
$$\begin{aligned}& \begin{aligned} 2\sigma ^{abc}_{\mathrm {LS}}(0;- \omega,\omega )={}& {- }\frac{ie^{3}\pi}{2\hbar ^{2}}\sum_{nm\boldsymbol{k}} f_{m n} \bigl\{ \bigl(r_{mn}^{c} \bigr)_{;k ^{a}}, r_{nm}^{b} \bigr\} \\ &{}\times \bigl[\delta (\omega _{mn}-\omega )+\delta (\omega _{mn}+\omega ) \bigr], \\ 2\sigma ^{abc}_{\mathrm {CS}}(0;-\omega,\omega )={}& {-} \frac{e^{3}\pi}{2\hbar ^{2}} \sum_{nm\boldsymbol{k}} f_{m n} \bigl[ \bigl(r_{mn}^{c} \bigr)_{;k ^{a}}, r_{nm}^{b} \bigr] \\ &{}\times \bigl[\delta (\omega _{mn}-\omega )-\delta (\omega _{mn}+\omega ) \bigr], \end{aligned} \end{aligned}$$
(7)

where we have used the relations

$$ \bigl(r_{nm}^{b} \bigr)^{*}=r_{mn}^{b},\qquad \bigl[ \bigl(r_{mn}^{b} \bigr)_{;k ^{a}} \bigr]^{*}= \bigl(r_{nm}^{b} \bigr)_{;k ^{a}}, $$
(8)

and defined the commutators and anticommutators,

$$ \begin{aligned}& \bigl\{ r_{nm}^{b},r_{mn}^{c} \bigr\} \equiv \bigl(r_{nm}^{b}r_{mn}^{c}+r_{nm}^{c}r_{mn}^{b} \bigr), \\ &\bigl[r_{nm}^{b},r_{mn}^{c} \bigr] \equiv \bigl(r_{nm}^{b}r_{mn}^{c}-r_{nm}^{c}r_{mn}^{b} \bigr), \\ &\bigl\{ \bigl(r_{mn}^{c} \bigr)_{;k ^{a}}, r_{nm}^{b} \bigr\} \equiv \bigl[ \bigl(r_{mn}^{c} \bigr)_{;k ^{a}} r_{nm}^{b}+ \bigl(r_{mn}^{b} \bigr)_{;k ^{a}} r_{nm}^{c} \bigr], \\ &\bigl[ \bigl(r_{mn}^{c} \bigr)_{;k ^{a}}, r_{nm}^{b} \bigr] \equiv \bigl[ \bigl(r_{mn}^{c} \bigr)_{;k ^{a}} r_{nm}^{b}- \bigl(r_{mn}^{b} \bigr)_{;k ^{a}} r_{nm}^{c} \bigr]. \end{aligned} $$
(9)

They are the same with the expressions in Ref. [36].

Under the spatial symmetry operations, response coefficients in (6) and (7) obey the same transformation rule as a third-rank tensor and thus vanish in systems with the spatial inversion symmetry \(\mathcal{P}\). As the Neumann’s principle breaks down in the dynamic processes such as the transport phenomenon [42], the transformation rule of response tensors under \(\mathcal{T}\) can not be acquired by applying \(\mathcal{T}\) to the relevant physical quantities, i.e., electric current J and electric field E. However, we can obtain the transformation rule of \(\eta _{\mathrm{inject}}\) and \(\sigma _{\mathrm{shift}}\) from their expressions (6), (7). In systems with time-reversal symmetry, \(\boldsymbol{r}_{mn}(\boldsymbol{k}) =\boldsymbol{r}_{nm}(- \boldsymbol{k})\) and \((\boldsymbol{r}_{mn} )_{;\boldsymbol{k}}(\boldsymbol{k}) = (\boldsymbol{r}_{nm} )_{;\boldsymbol{k}}(\boldsymbol{-k}) \). Therefore, the circular shift and linear injection current vanish in nonmagnetic system with \(\mathcal{T}\), while the linear shift and circular injection current are allowed to exist. In the noncentrosymmetric magnetic systems with preserved combined \(\mathcal{PT}\) symmetry, the linear shift and circular injection current vanish while the other two photocurrents, namely circular shift and linear injection current, exist [33]. In the next section, we take \(\mathrm{EuSn_{2}As_{2}}\) as an example to analyze the BPVE responses in magnetic structures with symmetry analysis and first-principles calculation.

2.2 Crystal structure and symmetry analysis of bilayer \(\mathrm{EuSn_{2}As_{2}}\)

The bulk \(\mathrm{EuSn_{2}As_{2}}\) has a layered structure and belongs to space group \(R\overline{3}m\). Every layer component is composed of a trigonal Eu layer sandwiched by two SnAs layers. \(\mathrm{EuSn_{2}As_{2}}\) was found to be an axion insulator in the A-type AFM phase belonging to magnetic space group (MSG) \(R\overline{3}m'\) and a strong topological insulator in the paramagnetic phase [43]. The bulk \(\mathrm{EuSn_{2}As_{2}}\) was experimentally found to have a collinear A-type AFM structure with the in-plane magnetic moment [44]. However, the orientation of the magnetic moments in ab-plane cannot be determined from neutron diffraction. BPVE is prohibited in the bulk \(\mathrm{EuSn_{2}As_{2}}\) with A-type AFM and paramagnetic structures because they both have \(\mathcal{P}\) with the inversion center on Eu atoms. When we confine the \(\mathrm{EuSn_{2}As_{2}}\) to have a collinear magnetic structure, only the even-layer \(\mathrm{EuSn_{2}As_{2}}\) in the A-type AFM phase breaks \(\mathcal{P}\) and is able to generate BPVE photocurrents.

We consider three AFM structures of the bilayer \(\mathrm{EuSn_{2}As_{2}}\) with the magnetic moments along the (AFM-x), ŷ (AFM-y), and (AFM-z) directions. The nonvanishing independent components of the BPVE response tensors in those magnetic structures can be obtained by utilizing their properties under \(\mathcal{T}\) and the irreducible representations (IRREPs) of the crystalline point group (CPG). For instance, the crystal structure of bilayer AFM-z \(\mathrm{EuSn_{2}As_{2}}\) is illustrated in Fig. 1(a), where the magnetic moments break \(\mathcal{P}\) but preserve \(\mathcal{PT}\). It belongs to the magnetic point group (MPG) \(\overline{3}'m'\), \(\mathcal{M}= \{ \mathcal{I},2C_{3}, 3C_{2},\mathcal{PT},2S_{6} \mathcal{T},3\sigma _{d}\mathcal{T} \}\), which can be decomposed into two forms, \(\mathcal{M}=D_{3}\oplus (D_{3d}-D_{3} )\mathcal{T}\) and \(\mathcal{M}=D_{3}\otimes \{\mathcal{I},\mathcal{PT}\}\). As \(\sigma _{\mathrm{CI}}\) and \(\eta _{\mathrm{LS}}\) are invariant under \(\mathcal{T}\), the effect of \(\mathcal{T}\) is equivalent to the identity operation and we can acquire their nonvanishing independent components by analyzing the IRREPs and generators of CPG \(D_{3d}\). The \(\mathcal{P}\) in \(D_{3d}\) prohibits the existence of \(\sigma _{\mathrm{CI}}\) and \(\eta _{\mathrm{LS}}\), being consistent with the former conclusion that the linear shift and circular injection current vanish in systems with \(\mathcal{PT}\). Similarly, we can analyze \(\sigma _{\mathrm{CS}}\) and \(\eta _{\mathrm{LI}}\) with IRREPs of CPG \(D_{3}\) due to their invariance under \(\mathcal{PT}\). As the bilayer \(\mathrm{EuSn_{2}As_{2}}\) is a quasi-2D material, we focus on the in-plane responses. Take the electric current J as an example, we only concern the \(J_{x}\) and \(J_{y}\) components that transform as E in \(D_{3}\) as illustrated in Table 1. Table 1 presents the IRREPs of group \(D_{3}\) and characters of the second-rank tensor for the group elements [45]. As \(\sigma _{\mathrm{CS}}\) (\(\eta _{\mathrm{LI}}\)) relates a polar vector J and an asymmetric (symmetric) second-order tensor \([\boldsymbol{EE^{*}}]_{\mathrm{asym}}\) (\([\boldsymbol{EE^{*}}]_{ \text{sym}}\)), we obtain the representation of \(\sigma _{\mathrm{CS}}\) (\(\eta _{\mathrm{LI}}\)) and decompose it into the direct sum of IRREPs as followings,

$$ \begin{aligned} &\Gamma _{\sigma _{\mathrm{CS}}}=\Gamma _{J}\otimes \Gamma _{(EE^{*})_{ \text{asym}}}=E, \\ &\Gamma _{\eta _{\mathrm{LI}}}=\Gamma _{J}\otimes \Gamma _{(EE^{*})_{ \text{sym}}}=A_{1}\oplus A_{2}\oplus 2E. \end{aligned} $$
(10)

Because \(\Gamma _{\eta _{\mathrm{LI}}}\) includes one identity representation, there is one nonvanishing independent component in \({\eta _{\mathrm{LI}}}\). Utilizing the symmetry confinement of generators, \(C_{2x}\) and \(C_{3z}\), we obtain the nonvanishing independent components, i.e., \(-\eta _{\mathrm{LI}}^{xxx}=\eta _{\mathrm{LI}}^{xyy}=\eta _{\mathrm{LI}}^{yxy}\). On the contrary, the decomposition of \(\Gamma _{\sigma _{\mathrm{CS}}}\) without the identity representation indicates that the circular shift response vanishes in the bilayer AFM-z \(\mathrm{EuSn_{2}As_{2}}\).

Figure 1
figure 1

(a)–(b) The crystal and magnetic stucture of bilayer AFM-z \(\mathrm{EuSn_{2}As_{2}}\). The crystal axes a is along the x direction in the Cartesian coordinate system. (c) The Brillouin zone of bilayer \(\mathrm{EuSn_{2}As_{2}}\)

Table 1 Characters for irreducible representations of group \(D_{3}\) and characters of the symmetric and asymmetric second-rank tensor for group elements

We can analyze the BPVE response in bilayer AFM-x and AFM-y \(\mathrm{EuSn_{2}As_{2}}\) through the similar scheme. The bilayer AFM-x \(\mathrm{EuSn_{2}As_{2}}\) belongs to MPG \(2'/m\) that can be decomposed into \(\mathcal{M}=C_{s}\oplus (C_{2h}-C_{s} )\mathcal{T}\) and \(\mathcal{M}=C_{s}\otimes \{\mathcal{I},\mathcal{PT}\}\), while the AFM-y phase belongs to the MPG \(2/m'\) that can be decomposed into \(\mathcal{M}=C_{2}\oplus (C_{2h}-C_{2} )\mathcal{T}\) and \(\mathcal{M}=C_{2}\otimes \{\mathcal{I},\mathcal{PT}\}\). The character tables for the mentioned CPGs and detailed analysis can be found in Appendix B. In AFM-x and AFM-y phases, \(\sigma _{\mathrm{CI}}\) and \(\eta _{\mathrm{LS}}\) are still prohibited. However, the lowered symmetry resulted from the in-plane magnetic moments lead to more BPVE responses. To be more specific, the breakdown of \(C_{3z}\) symmetry not only gives rise to the violation of equivalence relations among in-plane components, i.e., \(-xxx=xyy=yxy\), \(-yyy=xxy=yxx\), but also allows for the existence of in-plane circular shift current, i.e., \({\sigma ^{xxy}_{\mathrm{CS}}}\) in AFM-x and \({\sigma ^{yxy}_{\mathrm{CS}}}\) in AFM-y.

The distinct BPVE response in different MPG helps us detect the magnetic structure of \(\mathrm{EuSn_{2}As_{2}}\). First of all, as the nonvanishing second-order optical responses only exists in even-layer AFM \(\mathrm{EuSn_{2}As_{2}}\), we could easily distinguish it from odd number layer structures. Secondly, because the circular shift current only exist in AFM-x and AFM-y phases and it reverses direction when the incident circular polarized light changes helicity, we can measure the difference between response currents of circular polarized light with opposite helicity, \(\vec{J}_{\circlearrowleft}-\vec{J}_{\circlearrowright}\), to distinguish them from the AFM-z phase. Finally, we could differentiate the AFM-x and AFM-y phase by a beam of light regardless of the polarization. When illuminated by linear polarized light with polarization along x or y direction, the response photocurrent flows perpendicular to the magnetic moments due to the nonzero \(\eta _{\mathrm {LI }}^{yxx,yyy}\) and \(\eta _{\mathrm {LI }}^{xxx,xyy}\) in the AFM-x and AFM-y phase, respectively. When illuminated by circular polarized light propagating in direction, the response photocurrent flows parallel to the magnetic moments due to the nonzero \(\eta _{\mathrm {LI }}^{xxy}, {\sigma ^{xxy}_{\mathrm{CS}}}\) and \(\eta _{\mathrm {LI }}^{yxy}, {\sigma ^{yxy}_{\mathrm{CS}}}\) in the AFM-x and AFM-y phase, respectively.

We present a generalized symmetry analysis for bilayer AFM structures with magnetic moments oriented along any arbitrary axis. These phases can be classified into four types based on their MPGs. The magnetic structures with magnetic moments lying in the plane perpendicular to the \(C_{2}\) axis belong to MPG \(2/m'\), and exhibit BPVE responses similar to the AFM-y phase. When magnetic moments are parallel to the \(C_{2}\) axis, the magnetic structure belongs to MPG \(2'/m\) and displays BPVE responses similar to the AFM-x phase. If the magnetic moments are along the z axis, the corresponding magnetic structure belongs to MPG \(\bar{3}'m'\) and has the same BPVE responses as AFM-z phase. The other magnetic structures belong to MPG −1′. When systems with MPG \(2/m'\) and \(2'/m\) are illuminated with circularly polarized light, the induced BPVE currents flow parallel to the projection of magnetic moments in the x-y plane. On the other hand, magnetic structures belonging to MGP −1′ allow the BPVE currents to flow in any direction, either parallel or perpendicular to the magnetic moment when illuminated with circularly polarized light. Thus, we can differentiate structures that belong to different MPGs.

2.3 First-principles calculation of BPVE in bilayer \(\mathrm{EuSn_{2}As_{2}}\)

We obtain the band structures of the bilayer AFM-\(x/y/z\) \(\mathrm{EuSn_{2}As_{2}}\) by first-principles calculation as shown in Fig. 2(a) and Fig. A1(a), (b). They have similar electronic structures with a narrow bandgap of 15 meV, indicating that the direction of magnetic moments has negligibly small influence on the band structure but has direct constrain on their BPVE responses. The linear injecton responses of the three magnetic phases are presented in Fig. 2(b)–(c). As discussed before, there are three nonvanishing components of \(\eta _{\mathrm {LI }}\) in AFM-z phase, which are supposed to share the same magnitude and only differ by a sign. The little inconsistancy shown in Fig. 2(b) is attributed to the violation of symmetry in generating Wannier functions. On the contrary, the three components in AFM-\(x/y\) phases are independent as demonstrated in Fig. 2(c) due to the absence of \(C_{3z}\). Furthermore, \(\mathrm{EuSn_{2}As_{2}}\) in AFM-\(x/y\) phases display stronger linear injection response. Figure 2(d) shows the circular shift response in AFM-\(x/y\) phase, which is absent in AFM-z phase because of the relations (\(-xxx=xyy=yxy, -yyy=yxx=xxy\)) required by \(C_{3z}\) and the antisymmetric property of circular shift conductivity to the last two indices.

Figure 2
figure 2

(a) The band structures of bilayer AFM-z \(\mathrm{EuSn_{2}As_{2}}\) with spin-orbit coupling (SOC) calculated with first-principles calculation (black) and tight-binding Hamiltonian based on the Wannier functions (red). The red, blue and green arrows marked the interband contributions to peaks in (b)–(c) centering at 0.33 eV, 0.37 eV and 0.55 eV, respectively. (b) The linear injection responses \(\eta _{\mathrm{LI}}\) in AFM-z phase. (c) The linear injection responses \(\eta _{\mathrm{LI}}\) in AFM-\(x/y\) phases. (d) The circular shift responses \(\sigma _{\mathrm{CS}}\) in AFM-\(x/y\) phases

From Fig. 2(c)–(d), we notice that there is a connection between BPVE responses in AFM-x and AFM-y phase, i.e., \(\eta _{yyy}^{\text{AFM-x}}=-\eta _{xxx}^{\text{AFM-y}}\), \(\eta _{xxy}^{\text{AFM-x}}=-\eta _{yxy}^{\text{AFM-y}}\), \(\eta _{yxx}^{\text{AFM-x}}=-\eta _{xyy}^{\text{AFM-y}}\) and \(\sigma _{xxy}^{\text{AFM-x}}=\sigma _{yxy}^{\text{AFM-y}}\), with minor differences resulted from the little violated symmetry in generating the Wannier functions and the tiny magnetic anisotropy. We attribute it to be a consequence required by symmetry rather than a coincidence. As the bilayer \(\mathrm{EuSn_{2}As_{2}}\) is a quasi-2D material, the effect of \(M_{x}\) in MSG \(P2'/m\) is identical to \(C_{2y}\) when constranied in the \(x-y\) plane. Therefore, the MSG \(P2/m'\) of AFM-y phase can be transformed into the MSG \(P2'/m\) of AFM-x phase when transformed under \(C_{4z}\). Applied with \(C_{4z}\), we obtain ( x y ) = ( 0 1 1 0 ) ( x y ) and transform \(\eta _{xxx}^{\text{AFM-y}}\) to \(-\eta _{y'y'y'}^{\text{AFM-x}}\) and \(\sigma _{yxy}^{\text{AFM-y}}\) to \(-\sigma _{x'y'x'}^{\text{AFM-x}}=\sigma _{x'x'y'}^{\text{AFM-x}}\). However, the system has no \(C_{4z}\) rotation symmetry but tiny magnetic anisotropy in x and y direction. This magnetic anisotropy might be identified in the difference between \(\eta _{LI}\) and \(\sigma _{CS}\) in Fig. 2(c) if the numerical error in calculations can be reduced enough, e.g., the generated Wannier functions can preserve symmetry exactly.

The integrand of \(\eta _{\mathrm {LI }}\) can be decomposed into three terms as shown in (6), i.e., the k-resolved group velocity difference \(\Delta _{m n}^{a}(\mathbf{k})\), quantum metric 2\(g_{mn}^{bc}( \mathbf{k})\equiv \{r_{mn}^{b}(\mathbf{k}),r_{nm}^{c}(\mathbf{k})\}\) [33, 46], and joint density of states (JDOS) \(\delta (\omega _{nm}(\mathbf{k})-\omega )\). The distribution of \(\Delta _{m n}^{a}(\mathbf{k})\) and \(g_{mn}^{bc}(\mathbf{k})\) in three magnetic structures are shown in Fig. 3 and Fig. 4, respectively, which follow the constrains of symmerty. For instance, \(C_{2x}\) and \(M_{x}\mathcal{T}\) in AFM-\(y/z\) confine \(\Delta _{m n}^{x}(\mathbf{k})\) and \(g_{mn}^{xx,yy}(\mathbf{k})\) to be symmetric about \(k_{y}\) axis, while \(\Delta _{m n}^{y}(\mathbf{k})\) and \(g_{mn}^{xy}(\mathbf{k})\) are confined to be antisymmetric about \(k_{y}\) axis. These properties require \(\eta _{LI}^{yyy,xxy,yxx}\) to vanish in AFM-\(y/z\) structures, which is consistent with above symmetry analysis and calculation results. More details about the transformation of quantities under symmetrical operations can be found in Table 2. Furthermore, \(\Delta _{m n}^{a}(\mathbf{k})\) in the three magnetic structures are similar to each other while \(g_{mn}^{ab}(\mathbf{k})\) are quite different, verifying above conclusion that the alignment of magnetic moments has small influence on the band structure but greatly changes the geometrical properties of wave functions as reflected in the nonlinear optical responses.

Figure 3
figure 3

The distribution of the group velocity difference \(\Delta _{m n}^{x}(\mathbf{k})\) and \(\Delta _{m n}^{y}(\mathbf{k})\) in the BZ of (a), (d) AFM-x, (b), (e) AFM-y and (c), (f) AFM-z structures

Figure 4
figure 4

The distribution of quantum metric \(g_{mn}^{bc}(\mathbf{k})\) in the BZ of (a), (d), (g) AFM-x, (b), (e), (h) AFM-y, and (c), (f), (i) AFM-z structures

Table 2 Transformation of group velocity difference \({\Delta}^{a}_{m n}(\mathbf{k})\) and quantum metric \(g_{mn}^{bc}(\mathbf{k})\) under \(C_{2x}\), \(C_{2x}\mathcal{T}\), \(M_{x}\) and \(M_{x}\mathcal{T}\)

The distribution of these quantities in BZ can offer us further information about the BPVE responses. Noticing that there are four peaks at 0.024, 0.33, 0.37 and 0.55 eV in linear injection responses as shown in Fig. 2(b)–(c), we can figure out the corresponding interband transitions in the Brillouin zone according to the energy conservation required by \(\delta (\omega _{nm}-\omega )\). As illustrated in Fig. 2(a), the red, blue and green arrows marked the interband contributions to peaks centering at 0.33 eV, 0.37 eV and 0.55 eV, respectively. They locate around Γ point in \(\Gamma -K\) and \(\Gamma -M\) directions. Besides, interband transition at 0.024 eV is right at Γ. The photocurrent peaks at 0.024 eV, 0.37 eV and 0.55 eV coincide with the peaks in JDOS at the same photon energy position as shown in Fig. A2, while the photocurrent peak at 0.33 eV has no corresponding peak in JDOS. We think this peak is mostly contributed by the large values of quantum metric \(g_{mn}^{bc}(\mathbf{k})\) in \(\Gamma -K\) direction from the interband transition marked by the red arrows in Fig. 2(a).

3 Conclusion

In summary, we demonstrate that the BPVE photocurrents can be classified into linear/circular shift current and linear/circular injection current by analyzing their dependences on the polarization of incident light and generating mechanism. Taking bilayer \(\mathrm{EuSn_{2}As_{2}}\) in three AFM structures as an example, we analyze the BPVE responses constrained by the magnetic symmetry through group representation theory and first-principles calculation. The results show that AFM-z structure has only linear injection currents while AFM-\(x/y\) structures have the linear injection and circular shift currents and the currents flow in perpendicular direction when illuminated by light. We design a protocol to distinguish the magnetic structures of even-layer \(\mathrm{EuSn_{2}As_{2}}\) in experiments, which can be generalised to materials with similar MPGs. Moreover, we illustrate that the geometric quantity has a crucial role in the BPVE responses, which can guide us to find the ideal materials for practical applications.

4 Methods

The band structures are calculated using the Quantum ESPRESSO (QE) simulation package [47, 48] with the generalized gradient approximation of Perdew–Burke–Ernzerhof exchange-correlation potential [49] in PSLIBRARY [50]. The self-consistent calculations are carried out on a 11×11×1 Monkhorst–Pack k-mesh with the plane-wave function cutoff set to 150 Ry. A vacuum region of about 15 Å along the z direction is adopted to eliminate the artificial layer interactions. Due to the existence of Eu-4f orbitals, we apply a Hubbard U correction with parameter \(U_{4f}=U-J=5.0\ \mathrm{eV}\). The maximally-localized Wannier functions [5153] are generated using p orbital Sn, p orbital of As, f orbital of Eu. With the tight-binding Hamiltonian constructed from these Wannier functions, we calculate the optical responses with modified code of the WANNIER90 package [54]. The calculation is performed on the 1500×1500×1 k-mesh and the convergence has been tested.