1 Introduction

Weyl anomaly measures the quantum violation of scaling symmetry of a theory, and has a wide range of applications in black-hole physics, cosmology and condensed matter physics [1]. It is interesting that Weyl anomaly is well-defined for not only conformal field theories but also the general quantum field theories [1,2,3]. Recently, it is found that, due to Weyl anomaly, an external electromagnetic field can induce novel anomalous currents in a conformally flat space [4, 5] and a spacetime with boundaries [6, 7]. It is similar to the anomaly-induced transport [8, 9] such as chiral magnetic effect (CME) [10,11,12,13,14] and chiral vortical effect (CVE) [15,16,17,18,19,20,21]. See also [22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39] for related works.

In this paper, we focus on the anomalous current in the spacetime with a boundary [6, 7]. It takes the following universal form in four dimensions

$$\begin{aligned} \left<\mathbf{J} \right> = \frac{e^2 c}{\hbar } \frac{4 b_1 \mathbf{n} \times \mathbf{B}}{x}+\cdots , \quad x \ge \epsilon , \end{aligned}$$
(1)

where e is the electric charge, c is the speed of light, \(\hbar \) is the Planck constant, \(b_1\) is a dimensionless constant, \(\mathbf{n}\) is normal vector to the boundary, \(\mathbf{B}\) is the external magnetic field, x is the proper distance to the boundary, \( \epsilon \) is a small cutoff of x and ... denotes higher order terms in O(x). It should be mentioned that there are boundary contributions to the current, which cancels the bulk “divergence” of (1) and makes finite the total current [6]. Note that (1) applies to the region near the boundary. The anomalous current in the full space is studied in [33], where it is found that the mass and the distance to the boundary heavily suppress the currents. See also [26].

In general dimensions, the anomalous currents take the following form [6, 7]

$$\begin{aligned} \left<J^d_{\mu }\right> \sim \frac{F_{n \mu }}{x^{d-3}}+\cdots , \quad x \ge \epsilon , \end{aligned}$$
(2)

where d denotes the dimension of spacetime, \(F_{\mu \nu } \) is the field strength, n is the normal direction to the boundary, and ... denotes sub-leading terms in x . In general, \(J^d \) is not always related to Weyl anomaly. For example, there is no Weyl anomaly due to a background electromagnetic field \(F_{\mu \nu }\) in two dimensions. However, following [6, 7], we still call it “anomalous current” in this paper, since it can be regarded as an anomalous effect due to the boundary. Recall the fact that a constant magnetic field cannot produce non-zero renormalized currents in a flat space without boundaries. Thus, the current (2) is kind of “anomalous” in general dimensions.

In this paper, we explore the mechanism for the enhancement of anomalous currents, which is important for the experimental measurement. We find that the high temperature can greatly enhance the anomalous currents. For free complex scalars, the anomalous current is proportional to the temperature in the high temperature limit. As a result, for any given mass and distance, one can always produce a detectable anomalous current by increasing the temperature.

Let us list our main results below. Recovering the units of anomalous current (21) in four dimensions, we have

$$\begin{aligned} \lim _{T\rightarrow \infty }\left<\mathbf{J}\right> =\frac{k e^2 }{\hbar ^2} T \ \mathbf{n} \times \mathbf{B}\ (c_0+ c_1 \ln (x \mu )), \quad x \sim 0,\nonumber \\ \end{aligned}$$
(3)

where k is Boltzmann constant, T is the temperature, \(\mu \) denotes the energy scale and \(c_0, c_1\) are some dimensionless constants depending on the boundary conditions. Since the Planck constant appears in the denominator of (3), it is clear that the anomalous current at high temperature is dominated by quantum effects. In general dimensions, according to (46) we have

$$\begin{aligned} \lim _{T\rightarrow \infty }\left<\mathbf{J}^d\right>= \frac{k }{\hbar c} T \lim _{T\rightarrow 0} \left<\mathbf{J}^{d-1}\right>, \end{aligned}$$
(4)

where \(\lim _{T\rightarrow \infty }{} \mathbf{J}^d \) is the anomalous current at high temperature in d dimensions, and \(\lim _{T\rightarrow 0}{} \mathbf{J}^{d-1} \) is anomalous current at zero temperature in \((d-1)\) dimensions. It is remarkable that the anomalous currents at high temperature and zero temperature are related by (4). Since the anomalous current at zero temperature is a pure quantum effect, so does the the anomalous current at high temperatures. Interestingly, the relation (4) provides an indirect way to measure the anomalous current at zero temperature in lower dimensions, which can make easier the experiment. Let us stress again that by “anomalous current”, in general, we means the “renormalized current” in a space with a boundary in this paper. Besides, by “enhancement of the current” we always means the absolute value of the current in this paper. In general, the temperature can change the sign of the current.

Let us try to understand the interesting relation (4). Usually one takes Euclidean signature to study the vacuum expectation value of currents at finite temperature. The period of Euclidean time is given by \(\beta =1/T\), which approaches zero in the high temperature limit. According to Kaluza–Klein theory, a d-dimensional QFT with a small extra spacetime dimension (a small circle) behaves effectively as a (d-1)-dimensional QFT. That is why we could relate a d-dimensional current to a (d-1)-dimensional current in the high temperature limit.

Let us summarize the properties of anomalous currents at a finite temperature below. For simplicity, we focus on free complex scalars.

1. The anomalous current is proportional to the temperature in the high temperature limit. Remarkably, the coefficient is just the anomalous current in lower dimensions at zero temperature. See (46).

2. The anomalous current of Dirichlet boundary condition (DBC) always increases with temperature, while the absolute value of the current of Neumann boundary condition (NBC) first decreases and then increases with temperature. See Figs. 2 and 3.

3. Although the large mass always suppresses anomalous currents, the small mass could enhance the anomalous current for NBC. See Fig. 5(right).

The paper is organized as follows. In Sect. 2, by applying the heat-kernel method [40, 41], we study the anomalous current for free complex scalars at finite temperature up to the linear order of magnetic fields. We find that it is proportional to the temperature in the high temperature limit. In Sect. 3, we obtain a non-perturbative formal expression of the anomalous current, which can be evaluated numerically. Again, the anomalous current is enhanced by the high temperature. Finally, we conclude with some discussions in Sect. 4.

2 Anomalous current I: perturbative result

In this section, by applying the heat kernel method [40, 41], we study the anomalous current of complex scalars at a finite temperature. It is found that, in the high temperature limit, the anomalous current increases linearly with temperature. As for the case of low temperature, the anomalous current increases with temperature for Dirichlet boundary condition (DBC), while decreases with temperature for Neumann boundary condition (NBC).

For simplicity, we focus on a flat half space \(x \ge 0\) with a constant magnetic field B parallel to the boundary. We have coordinates \(x^{\mu }=(\tau , x, y_a)=(\tau , x, y_1, ..., y_{d-2})\), background vector field \(A_{\mu }=(0,0, B x, 0,..., 0)\) and the metric \(g_{\mu \nu }=\delta _{\mu \nu }=\text {diag}(1,1,....,1)\). Here \(\tau \simeq \tau +\beta \) is the Euclidean time, \(\beta =1/T\) is the inverse temperature and x denotes the distance to the boundary.

2.1 Heat kernel

The heat kernel of complex scalars satisfies the equation of motion (EOM)

$$\begin{aligned} \partial _t K(t,x_{\mu },x'_{\mu })-\delta ^{\mu \nu }(\partial _{\mu }+A_{\mu }) (\partial _{\nu }+A_{\nu })K(t,x_{\mu },x'_{\mu })=0\nonumber \\ \end{aligned}$$
(5)

together with the following boundary conditions (BC)

$$\begin{aligned}&\lim _{t\rightarrow 0} K(t,x_{\mu },x'_{\mu })=\delta ^{d}(x_{\mu }-x'_{\mu }), \end{aligned}$$
(6)
$$\begin{aligned}&K(t,\tau , \tau ')=K(t,\tau +\beta , \tau ')=K(t,\tau , \tau '+\beta ) , \end{aligned}$$
(7)

for t and \(\tau \), respectively. Besides, one further imposes either DBC

$$\begin{aligned} K(t,x_{\mu },x'_{\mu })|_{x=0}=0, \end{aligned}$$
(8)

or NBC

$$\begin{aligned} \partial _x K(t,x_{\mu },x'_{\mu })|_{x=0}=0, \end{aligned}$$
(9)

on the boundary \(x=0\).

From the heat kernel, we can obtain the Green function

$$\begin{aligned} G(x_{\mu },x'_{\mu })=\int _0^{\infty } dt K(t,x_{\mu },x'_{\mu }), \end{aligned}$$
(10)

and then derive the expectation value of the current by

$$\begin{aligned} \hat{J}_{\mu }=\lim _{x'\rightarrow x} \left[ (\partial _{x_{\mu }}+A_{x_{\mu }})- (\partial _{x'_{\mu }}-A_{x'_{\mu }})\right] G(x_{\mu },x'_{\mu }). \end{aligned}$$
(11)

In general \(\hat{J}_{\mu }\) is divergent, which can be renormalized by subtracting the value it would have in the space without boundary,

$$\begin{aligned} J_{\mu }=\hat{J}_{\mu }-\hat{J}_{0\mu }. \end{aligned}$$
(12)

In general, it is difficult to solve the heat kernel in the spacetime with boundaries, even for free theories. For simplicity, we focus on the perturbation solution in the linear order of the magnetic field O(B). Following [41], we obtain the heat kernel

(13)

where \(K_0\) is the heat kernel in a 2d free space

$$\begin{aligned} K_0= & {} \frac{B}{4 \pi \sin (B t)} \exp \left( -\frac{B}{4} \cot (B t)\left( (x-x')^2\right. \right. \nonumber \\&\left. \left. +(y_1-y'_1)^2\right) +\frac{B}{2} \left( x'+x\right) \left( y'_1-y_1\right) \right) , \end{aligned}$$
(14)

and \(K_{bdy}\) denotes the correction due to the boundary

$$\begin{aligned} K_{bdy}= & {} \frac{\chi B}{4 \pi \sin (B t)} \exp \left( -\frac{B}{4} \cot (B t)\left( (x+x')^2\right. \right. \nonumber \\&\left. \left. +(y_1-y'_1)^2\right) +\frac{B}{2} \left( x'+x +f_{BC}\right) \left( y'_1-y_1\right) \right) .\nonumber \\ \end{aligned}$$
(15)

Here \(\chi =-1\) (\(\chi =1\)) for DBC (NBC) and \(f_{BC}\) is given by

$$\begin{aligned}&f_{BC}= \nonumber \\&{\left\{ \begin{array}{ll} \frac{-\sqrt{\pi } x x' e^{\frac{\left( x'+x\right) ^2}{4 t}} \text {erfc}\left( \frac{x'+x}{2 \sqrt{t}}\right) }{\sqrt{t}}+O(B^2) , &{}\quad \text {DBC},\\ -(x'+x)+ \\ \quad \frac{\sqrt{\pi } e^{\frac{\left( x'+x\right) ^2}{4 t}} \left( 2 t+x^2+\left( x'\right) ^2\right) \text {erfc}\left( \frac{x'+x}{2 \sqrt{t}}\right) }{2 \sqrt{t}}+O\left( B^2\right) , &{}\quad \text {NBC}, \end{array}\right. }\nonumber \\ \end{aligned}$$
(16)

where \( \text {erfc}(x)\) is the complementary error function. One can check that the heat kernel (13) satisfies EOM (5) and BCs (6,7,8,9) at the linear order of O(B).

2.2 Current at finite temperature

Now we are ready to calculate the anomalous current at finite temperature. From (10,11,12,13), we derive

$$\begin{aligned}&J_{y_1} =\sum _{m=-\infty }^{\infty } \int _0^{\infty } dt \frac{2 \pi B}{ (4 \pi t)^{d/2} \beta } e^{-\frac{4 \pi ^2 m^2 t}{\beta ^2}}\nonumber \\&\quad \times {\left\{ \begin{array}{ll} -x^2 \text {erfc}\left( \frac{x}{\sqrt{t}}\right) +O(B^2), &{}\quad \text {DBC},\\ \frac{2 \sqrt{t} x e^{-\frac{x^2}{t}}}{\sqrt{\pi }}-\left( t+x^2\right) \text {erfc}\left( \frac{x}{\sqrt{t}}\right) +O\left( B^2\right) , &{}\quad \text {NBC}. \end{array}\right. }\nonumber \\ \end{aligned}$$
(17)

Before we try to perform the above complicated sum and integral, let us first consider some interesting limits, the high temperature limit and low temperature limit. In the high temperature limit \(\beta \rightarrow 0\), only the term with \(m=0\) contributes to the sum,

$$\begin{aligned} \lim _{T\rightarrow \infty }\sum _{m=-\infty }^{\infty } e^{-\frac{4 \pi ^2 m^2 t}{\beta ^2}}= 1. \end{aligned}$$
(18)

Substituting (18) into (17) and performing the integral along t, we get

$$\begin{aligned}&\lim _{T\rightarrow \infty } J_{y_1} \nonumber \\&\quad ={\left\{ \begin{array}{ll} -\frac{2^{2-d} \pi ^{\frac{1}{2}-\frac{d}{2}} \Gamma \left( \frac{d-1}{2}\right) }{(d-2) x^{d-4}} B \ T+O(B^2), &{}\quad \text {DBC},\\ \frac{2^{1-d} ((d-7) d+8) \pi ^{\frac{1}{2}-\frac{d}{2}} \Gamma \left( \frac{d-3}{2}\right) }{(d-4) (d-2) x^{d-4}} B\ T+O\left( B^2\right) , &{}\quad \text {NBC}. \end{array}\right. }\nonumber \\ \end{aligned}$$
(19)

It is remarkable that the anomalous current is proportional to the temperature in the high temperature limit. This provides an interesting mechanism to enhance the anomalous current, which is usually suppressed by the mass and the distance to the boundary. Note that (19) works for \(d>2\) for DBC and \(d>4\) for NBC. For \(d=4\), one should perform suitable regularization in order to get finite results. Taking the regularization [33]

$$\begin{aligned} J^{4d}_{y_1}=\lim _{\epsilon \rightarrow 0}\frac{ J_{y_1}(d=4+\epsilon )+J_{y_1}(d=4-\epsilon )}{2}, \end{aligned}$$
(20)

we derive the current in four dimensions

$$\begin{aligned}&\!\!\!\! \lim _{T\rightarrow \infty }J^{4d}_{y_1}\nonumber \\&={\left\{ \begin{array}{ll} -\frac{1}{16 \pi }B\ T+O(B^2), &{}\quad \text {DBC},\\ \frac{4 \log (x)+3+\log (16)+2 \log (\pi )-2 \psi ^{(0)}\left( \frac{1}{2}\right) }{16 \pi }\\ B\ T+O\left( B^2\right) , &{}\quad \text {NBC}, \end{array}\right. } \end{aligned}$$
(21)

where \(\psi ^{(0)} \) is the PolyGamma function.

Let us go on to discuss the low temperature limit, where the discrete summation can be replaced by a continuous integration

$$\begin{aligned} \lim _{T\rightarrow 0 }\sum _{m=-\infty }^{\infty } \frac{1}{\beta }e^{-\frac{4 \pi ^2 m^2 t}{\beta ^2}}= \int _{-\infty }^{\infty } e^{-4 \pi ^2 z^2 t}dz=\frac{1}{2 \sqrt{\pi t}}, \end{aligned}$$
(22)

where \(z=m/\beta \). Substituting (22) into (17), we derive

$$\begin{aligned}&\lim _{T\rightarrow 0} J_{y_1}\nonumber \\&\quad ={\left\{ \begin{array}{ll} -\frac{2^{1-d} \pi ^{-\frac{d}{2}} \Gamma \left( \frac{d}{2}\right) }{(d-1) x^{d-3}} B+O(B^2), &{}\quad \text {DBC},\\ \frac{2^{-d} \left( d^2-5 d+2\right) \pi ^{-\frac{d}{2}} \Gamma \left( \frac{d}{2}-1\right) }{(d-3) (d-1) x^{d-3}} B+O\left( B^2\right) , &{}\quad \text {NBC}, \end{array}\right. }\nonumber \\ \end{aligned}$$
(23)

which agree with the results of [33, 41]. This can be regarded as a check for our calculations.

There is another method to study the current in the high and low temperature limits. By applying the transformation

$$\begin{aligned} \sum _{m=-\infty }^{\infty }\frac{e^{-\frac{4 \pi ^2 m^2 t}{\beta ^2}}}{\beta }=\sum _{m=-\infty }^{\infty }\frac{e^{-\frac{\beta ^2 m^2}{4 t}}}{2 \sqrt{\pi } \sqrt{t}}, \end{aligned}$$
(24)

we can rewrite the current (17) into the following form

$$\begin{aligned}&J_{y_1}=\sum _{m=-\infty }^{\infty } \int _0^{\infty } dt \frac{2 \pi B}{ (4 \pi t)^{(d+1)/2} } e^{-\frac{\beta ^2 m^2 }{4t}}\nonumber \\&\times {\left\{ \begin{array}{ll} -x^2 \text {erfc}\left( \frac{x}{\sqrt{t}}\right) +O(B^2), &{}\quad \text {DBC},\\ \frac{2 \sqrt{t} x e^{-\frac{x^2}{t}}}{\sqrt{\pi }}-\left( t+x^2\right) \text {erfc}\left( \frac{x}{\sqrt{t}}\right) +O\left( B^2\right) , &{}\quad \text {NBC}. \end{array}\right. }\nonumber \\ \end{aligned}$$
(25)

Note that the transformation (24) maps the high (low) temperature to the low (high) temperature. Now the term with \(m=0\) dominates the sum in the low temperature limit

$$\begin{aligned} \lim _{T\rightarrow 0 }\sum _{m=-\infty }^{\infty }\frac{e^{-\frac{\beta ^2 m^2}{4 t}}}{2 \sqrt{\pi t} }=\frac{1}{2 \sqrt{\pi t}}, \end{aligned}$$
(26)

which exactly agrees with (22,24). Substituting (26) into (25), we re-derive (23). As in the high temperature limit, the sum can be replaced by the following integral

$$\begin{aligned} \lim _{T\rightarrow \infty }\sum _{m=-\infty }^{\infty } \frac{e^{-\frac{\beta ^2 m^2}{4 t}}}{2 \sqrt{\pi } \sqrt{t}}= \int _{-\infty }^{\infty } \frac{e^{-\frac{{\bar{z}}^2}{4 t}}}{2 \sqrt{\pi } \sqrt{t}\beta }d{\bar{z}}=\frac{1}{\beta }, \end{aligned}$$
(27)

which agrees with (18,24). From (25,27), we reproduce the anomalous current (19) in high temperature limit. Now we have obtained the currents in the low and high temperature limits by using two methods. This is a double check for our calculations.

Let us go on to consider the general temperature. Summing (25), we get

$$\begin{aligned}&J_{y_1}= \int _0^{\infty } dt \frac{2 \pi B \vartheta _3\left( 0,e^{-\frac{\beta ^2}{4 t}}\right) }{ (4 \pi t)^{(d+1)/2} }\nonumber \\&\times {\left\{ \begin{array}{ll} -x^2 \text {erfc}\left( \frac{x}{\sqrt{t}}\right) +O(B^2), &{}\quad \text {DBC},\\ \frac{2 \sqrt{t} x e^{-\frac{x^2}{t}}}{\sqrt{\pi }}-\left( t+x^2\right) \text {erfc}\left( \frac{x}{\sqrt{t}}\right) +O\left( B^2\right) , &{}\quad \text {NBC}, \end{array}\right. }\nonumber \\ \end{aligned}$$
(28)

where \( \vartheta _3\) is the Elliptic theta function. Although it is difficult to work out the exact expression of (28), it can be evaluated numerically. See Figs. 12 and 3 for examples. Without loss of generality, we set \(B=x=1\) for all the figures of this paper. We find that, in the high temperature limit, the currents increase linearly with temperature for both DBC and NBC in general dimensions. It is interesting that the currents of DBC and NBC approach the same high-temperature limit in five dimensions. It is also interesting that, in dimensions higher than four, the absolute values of the currents of NBC first decrease and then increase with temperature, while the currents of DBC always increase with temperature.

Fig. 1
figure 1

Anomalous currents of complex scalars for DBC (left) and NBC (right) in four dimensions. The current of NBC is much larger than the current of DBC. Here we have set \(B=x=1\)

Fig. 2
figure 2

Anomalous currents of complex scalars for DBC (orange line) and NBC (blue line) in five dimensions. It is remarkable that the currents increase linearly with temperature and approach the same value for DBC and NBC in the high temperature limit

Fig. 3
figure 3

Anomalous currents of complex scalars for DBC (orange line) and NBC (blue line) in six dimensions. The current of NBC first decreases and then increases with temperature, while the current of DBC always increases with temperature

2.3 Mass effect

We focus on massless scalars in the above discussions, where exact expressions of the currents can be derived in the high and low temperature limits. In this section, let us study the mass effect, which can be taken into account by adding \(e^{-M^2 t}\) to the heat kernel (13). Following the approach of Sect. 2.2, we obtain the anomalous currents for massive scalars as

$$\begin{aligned}&J_{y_1} = \int _0^{\infty } dt \frac{2 \pi B \vartheta _3\left( 0,e^{-\frac{\beta ^2}{4 t}}\right) e^{-M^2 t}}{ (4 \pi t)^{(d+1)/2} }\nonumber \\&\times {\left\{ \begin{array}{ll} -x^2 \text {erfc}\left( \frac{x}{\sqrt{t}}\right) +O(B^2), &{}\quad \text {DBC},\\ \frac{2 \sqrt{t} x e^{-\frac{x^2}{t}}}{\sqrt{\pi }}-\left( t+x^2\right) \text {erfc}\left( \frac{x}{\sqrt{t}}\right) +O\left( B^2\right) , &{}\quad \text {NBC}, \end{array}\right. }\nonumber \\ \end{aligned}$$
(29)

where M is the scalar mass. It is clear that the current (29) is heavily suppressed by large mass. In the high and low temperature limits, the anomalous current (29) becomes

$$\begin{aligned}&\!\!\!\lim _{T\rightarrow \infty }J_{y_1}= T\int _0^{\infty } dt \frac{2 \pi B}{ (4 \pi t)^{d/2} } e^{-M^2 t}\nonumber \\&\!\!\!\times {\left\{ \begin{array}{ll} -x^2 \text {erfc}\left( \frac{x}{\sqrt{t}}\right) +O(B^2), &{}\quad \text {DBC},\\ \frac{2 \sqrt{t} x e^{-\frac{x^2}{t}}}{\sqrt{\pi }}-\left( t+x^2\right) \text {erfc}\left( \frac{x}{\sqrt{t}}\right) +O\left( B^2\right) , &{}\quad \text {NBC}, \end{array}\right. }\nonumber \\ \end{aligned}$$
(30)

and

$$\begin{aligned}&\!\!\! \lim _{T\rightarrow 0 }J_{y_1}= \int _0^{\infty } dt \frac{2 \pi B}{ (4 \pi t)^{(d+1)/2} } e^{-M^2 t}\nonumber \\&\!\!\!\times {\left\{ \begin{array}{ll} -x^2 \text {erfc}\left( \frac{x}{\sqrt{t}}\right) +O(B^2),&{}\quad \text {DBC},\\ \frac{2 \sqrt{t} x e^{-\frac{x^2}{t}}}{\sqrt{\pi }}-\left( t+x^2\right) \text {erfc}\left( \frac{x}{\sqrt{t}}\right) +O\left( B^2\right) , &{}\quad \text {NBC}. \end{array}\right. } \end{aligned}$$
(31)

It is remarkable that, similar to the massless case, the anomalous currents of massive scalars also increase linearly with temperature in the high temperature limit. This means that, for a given charge carrier with fixed mass, by increasing the temperature, one can always produce a detectable anomalous current in laboratory.

To end this section, let us draw some figures to illustrate the mass effect of anomalous currents. See Figs. 45 and 6. In general, the large mass suppresses but does not change the high-temperature behaviors of the currents. In other words, the currents are always enhanced by high temperatures. It is remarkable that, as is shown in Fig. 4, the current of NBC can also be enhanced by increasing the mass slightly.

Fig. 4
figure 4

Mass effects of currents for DBC (left) and NBC (right) in five dimensions. It is interesting that the mass can change the sign of currents of NBC

Fig. 5
figure 5

Mass effects of currents for DBC (left) and NBC (right) in six dimensions. It is remarkable that a suitable small mass can enhance the currents of NBC

Fig. 6
figure 6

Mass effects of currents for DBC (left) and NBC (right) in seven dimensions. The mass suppresses the currents of DBC and NBC

3 Anomalous current II: exact result

In the above section, we focus on the currents at the linear order of the magnetic field O(B). In this section, we generalize our discussions to non-perturbative currents. We follow the method of [33], where the anomalous current at zero temperature is investigated.

Green’s function obeys EOM

$$\begin{aligned}{}[-D^{\mu }D_{\mu }+M^2 ]G(x,x')=\delta ^{(d)}(x,x'), \end{aligned}$$
(32)

and DBC

$$\begin{aligned} G(x_{\mu },x'_{\mu })|_{x=0}=0, \end{aligned}$$
(33)

or NBC

$$\begin{aligned} \partial _x G(x_{\mu },x'_{\mu })|_{x=0}=0, \end{aligned}$$
(34)

on the boundary \(x=0\). Performing Fourier transform with the correct period \(\tau \simeq \tau +\beta \),

$$\begin{aligned} G=\frac{1}{ \beta }\sum _{m=-\infty }^{\infty }\int \frac{dk_{\parallel }^{d-2}}{(2\pi )^{d-2}}{\tilde{G}}(k,m) e^{i \frac{2\pi m }{\beta }(\tau -\tau ')}e^{-i k_{a}(y_{a}-y'_a)} \nonumber \\ \end{aligned}$$
(35)

we can rewrite (32) as

$$\begin{aligned}&\left[ -\partial _x^2+\left( M^2+k^2_a+\left( \frac{2\pi m}{\beta }\right) ^2\right) -2 B x k_{1}+ B^2 x^2\right] \nonumber \\&{\tilde{G}}=\delta (x-x'), \end{aligned}$$
(36)

where \(k_1=k_{y_1}\). We split Green’s function \({\tilde{G}}\) into the one in a free space and the correction due to the boundary

$$\begin{aligned} {\tilde{G}}=G_{free}+ G_{bdy}, \end{aligned}$$
(37)

where \(G_{free}\) is given by [42, 43]

$$\begin{aligned}&G_{free}\nonumber \\&={\left\{ \begin{array}{ll}\sqrt{\frac{1}{4 \pi B}} \Gamma (\lambda _k ) D_{-\lambda _k }\left( \sqrt{2} \left( {\bar{x}}-{\bar{k}}_1\right) \right) D_{-\lambda _k }\\ \left( \sqrt{2} \left( {\bar{k}}_1-\bar{x'}\right) \right) , \ \ x> x',\\ \sqrt{\frac{1}{4 \pi B}} \Gamma (\lambda _k ) D_{-\lambda _k }\left( \sqrt{2} \left( {\bar{k}}_1-{\bar{x}}\right) \right) \\ D_{-\lambda _k }\left( \sqrt{2} \left( \bar{x'}-{\bar{k}}_1\right) \right) , \ \ x<x'. \end{array}\right. }\nonumber \\ \end{aligned}$$
(38)

Here D denotes the parabolic cylinder function, \(\lambda _k=(B+M^2+k^2_a+(\frac{2\pi m}{\beta })^2-k_1^2)/(2 B)\), \({\bar{k}}_1=k_1/\sqrt{B}\) and \({\bar{x}}=\sqrt{B}x\). Imposing BCs (3334), we solve the corrections to Green’s function

$$\begin{aligned} G_{bdy}= & {} \frac{-\Gamma \left( \lambda _k\right) D_{-\lambda _k}\left( \sqrt{2} {\bar{k}}_1\right) }{2 \pi ^{1/2} \sqrt{B} D_{-\lambda _k}\left( -\sqrt{2} {\bar{k}}_1\right) } D_{-\lambda _k}\nonumber \\&\times \left( \sqrt{2} \left( {\bar{x}}-{\bar{k}}_1\right) \right) D_{-\lambda _k}\left( \sqrt{2} \left( \bar{x'}-{\bar{k}}_1\right) \right) \end{aligned}$$
(39)

for DBC and

$$\begin{aligned}&G_{bdy}=\nonumber \\&\frac{\Gamma \left( \lambda _k\right) \left( \sqrt{2} D_{1-\lambda _k}\left( \sqrt{2} {\bar{k}}_1\right) - {\bar{k}}_1 D_{-\lambda _k}\left( \sqrt{2} {\bar{k}}_1\right) \right) }{2 \pi ^{1/2} \sqrt{B} \left( \sqrt{2} D_{1-\lambda _k}\left( -\sqrt{2} {\bar{k}}_1\right) +{\bar{k}}_1 D_{-\lambda _k}\left( -\sqrt{2} {\bar{k}}_1\right) \right) } \nonumber \\&\times D_{-\lambda _k}\left( \sqrt{2} \left( {\bar{x}}-{\bar{k}}_1\right) \right) D_{-\lambda _k}\left( \sqrt{2} \left( \bar{x'}-{\bar{k}}_1\right) \right) \end{aligned}$$
(40)

for NBC.

Now we are ready to derive the anomalous current. Substituting (35,39,40) into (11,12) , we get the renormalized current

$$\begin{aligned}&J_{y_1}=\frac{-1}{ \beta }\sum _{m=-\infty }^{\infty }\int _{-\infty }^{\infty } dp^{d-3}dk_1\nonumber \\&\times \frac{\left( {\bar{x}}-{\bar{k}}_1\right) \Gamma \left( \lambda _p\right) D_{-\lambda _p}\left( \sqrt{2} {\bar{k}}_1\right) }{2^{d-2} \pi ^{d-\frac{3}{2}} D_{-\lambda _p}\left( -\sqrt{2} {\bar{k}}_1\right) }D_{-\lambda _p}\left( \sqrt{2} \left( {\bar{x}}-{\bar{k}}_1\right) \right) {}^2,\nonumber \\ \end{aligned}$$
(41)

for DBC and

$$\begin{aligned}&J_{y_1}=\frac{1}{\beta }\sum _{m=-\infty }^{\infty }\int _{-\infty }^{\infty }dp^{d-3}dk_1\nonumber \\&\times \frac{({\bar{x}}-{\bar{k}}_1) \Gamma \left( \lambda _p\right) \left( \sqrt{2} D_{1-\lambda _p}\left( \sqrt{2} {\bar{k}}_1\right) -{\bar{k}}_1 D_{-\lambda _p}\left( \sqrt{2} {\bar{k}}_1\right) \right) }{2^{d-2} \pi ^{d-\frac{3}{2}} \left( \sqrt{2} D_{1-\lambda _p}\left( -\sqrt{2} {\bar{k}}_1\right) +{\bar{k}}_1 D_{-\lambda _p}\left( -\sqrt{2} {\bar{k}}_1\right) \right) }\nonumber \\&\times D_{-\lambda _p}\left( \sqrt{2} \left( {\bar{x}}-{\bar{k}}_1\right) \right) {}^2, \end{aligned}$$
(42)

for NBC. Recall that \(\lambda _p=(B+M^2+(\frac{2\pi m}{\beta })^2+p^2)/(2 B)\), \({\bar{k}}_1=k_1/\sqrt{B}\) and \({\bar{x}}=\sqrt{B}x\). In principle, the formal expressions (41,42) can be evaluated numerically.

In the low temperature limit \(\beta \rightarrow \infty \), the sum can be replaced by the integral

$$\begin{aligned} \frac{1}{ \beta }\sum _{m=-\infty }^{\infty } =\int _{-\infty }^{\infty } \frac{dp_{\tau }}{2\pi }, \end{aligned}$$
(43)

where \(p_{\tau }=2\pi m/\beta \). And the currents (41,42) reduce to exactly the ones at zero temperature [33]

$$\begin{aligned}&\lim _{T\rightarrow 0}J_{y_1}=-\int _{-\infty }^{\infty } dp^{d-2}dk_1\nonumber \\&\times \frac{\left( {\bar{x}}-{\bar{k}}_1\right) \Gamma \left( \lambda _p\right) D_{-\lambda _p}\left( \sqrt{2} {\bar{k}}_1\right) }{2^{d-1} \pi ^{d-\frac{1}{2}} D_{-\lambda _p}\left( -\sqrt{2} {\bar{k}}_1\right) }\nonumber \\&\times D_{-\lambda _p}\left( \sqrt{2} \left( {\bar{x}}-{\bar{k}}_1\right) \right) {}^2, \end{aligned}$$
(44)

for DBC and

$$\begin{aligned}&\lim _{T\rightarrow 0}J_{y_1}=\int _{-\infty }^{\infty }dp^{d-2}dk_1\nonumber \\&\times \frac{({\bar{x}}-{\bar{k}}_1) \Gamma \left( \lambda _p\right) \left( \sqrt{2} D_{1-\lambda _p}\left( \sqrt{2} {\bar{k}}_1\right) -{\bar{k}}_1 D_{-\lambda _p}\left( \sqrt{2} {\bar{k}}_1\right) \right) }{2^{d-1} \pi ^{d-\frac{1}{2}} \left( \sqrt{2} D_{1-\lambda _p}\left( -\sqrt{2} {\bar{k}}_1\right) +{\bar{k}}_1 D_{-\lambda _p}\left( -\sqrt{2} {\bar{k}}_1\right) \right) }\nonumber \\&\times D_{-\lambda _p}\left( \sqrt{2} \left( {\bar{x}}-{\bar{k}}_1\right) \right) {}^2, \end{aligned}$$
(45)

for NBC, where \(\lambda _p=(B+M^2+p_a^2+p_{\tau }^2)/(2 B)\).

Note that only the combination \(M^2+(\frac{2\pi m}{\beta })^2\) appears in the currents (41,42). Thus \((\frac{2\pi m}{\beta })\) behaves effectively as a mass. In the high temperature limit, the effective mass \(M_{eff}^2=M^2+(\frac{2\pi m}{\beta })^2\) becomes infinite for \(m\ne 0\), which would heavily suppress the currentFootnote 1. As a result, only the term with \(m=0\) is dominated in the high temperature limit. Keeping only the zero-m terms of (41,42) and using (44,45), we finally obtain the anomalous current in the high temperature limit

$$\begin{aligned} \lim _{T\rightarrow \infty }J^d_{y_1}= T \lim _{T\rightarrow 0} J^{d-1}_{y_1}, \end{aligned}$$
(46)

where \(J^d\) denotes the current in d dimensions. It is remarkable that the non-perturbative current is also proportional to the temperature in the high temperature limit. It is also remarkable that the coefficient is just the current in (\(d-1\)) dimensions at zero temperature. One can check that the perturbative currents obtained in Sect. 2 obey the novel relation (46).

4 Conclusions and discussions

In this paper, we explore the mechanism to enhance the anomalous current caused by a background magnetic field in the spacetime with a boundary. Usually, the anomalous current is suppressed by the mass and the distance to the boundary, which are the main experimental obstructions. Remarkably, we find that the high temperature can greatly enhance the anomalous current and make easier the experimental measurement. For free complex scalars, it is found that the anomalous current is proportional to the temperature in the high temperature limit. Interestingly, the coefficient is just the current in lower dimensions at zero temperature. Thus, for any given charge carrier with a fixed mass M, one can always produce a detectable anomalous current by increasing the temperature. We look forward to the experimental detection of this novel anomalous current. For simplicity, we focus on free complex scalars in this paper. It is interesting to generalize the results of this paper to Dirac fields. It is also interesting to study the holographic anomalous current at finite temperature following the approach of [7, 30, 44]. Note that (4) shows that the anomalous current at zero temperature in four dimensions is related to the renormalized current at high temperature in five dimension. This implies that there is an “effective Weyl anomaly” in the high temperature limit in five dimensions, which is consistent with the Kaluza–Klein mechanism. According to the Kaluza–Klein theory, a 5-dimensional Euclidean QFT with a small period of Euclidean time \(\beta =1/T\) behaves effectively as a 4-dimensional Euclidean QFT, which is expected to has a Weyl anomaly. We hope these problems could be addressed in future.