Introduction

Quantum systems have emerged as excellent sensors for detecting various types of fields1, including weak magnetic2,3,4,5,6,7, electric8,9,10,11,12, and gravitational fields13, due to their extreme sensitivity against variation in the environment. The prospect of applications for quantum sensing is very wide covering material science14 to biomedical analysis15,16. In particular, AC field sensing has been the subject of intense theoretical and experimental research for the estimation of amplitude17,18,19, frequency20,21, and phase22,23,24,25,26,27,28. The majority of these protocols, mainly implemented in nitrogen vacancy centers, utilize a series of spin-echo pulses to accumulate the information about the AC field in the phase of a coherent superposition of a single qubit, which is then converted into the amplitude at the readout stage29,30,31. However, the ultimate precision is limited by the number of spin-echo pulses that one can apply within the coherence time. To enhance the precision, one can increase the number of particles, although, once the particles start to interact, the precision is severely hindered32. In Ref.33, a complex pulse structure has been designed to suppress the interaction between the particles and enhance the sensing precision. Therefore, an important open question is whether one can go beyond the spin-echo procedure and harness the interaction between particles, instead of suppressing it, for AC field sensing.

Figure 1
figure 1

(a) The many-body quantum system of spin-1/2 particles, prepared in its ground state, is interacting with a time-periodic magnetic field, h(t), of period \(\tau\) and strength \(h_1\). (b) In the steady state, a block of L contiguous spins are measured resulting in a quantum Fisher information which scales with L as \(F_Q(h_1)\sim L^{\eta }\).

The quality of any sensing protocol, either classical or quantum, is quantified by the uncertainty in the estimation of an unknown parameter h which is fundamentally bounded by the Cramér–Rao inequality as \(\text{ Var }(h)\ge 1/F\)34. Here, \(\text{ Var }(h)\) is the variance of the estimation with respect to an unbiased estimator, \(F\sim L^\eta\) is the Fisher information, L is the number of resources, and \(\eta\) is a positive constant (See Refs.35,36 for a recent review on quantum Fisher information). Classical systems, at best, can result in \(\eta = 1\) known as the standard limit. By harnessing quantum entanglement, e.g. in the specific form of GHZ37 and N00N38 states, one can enhance the sensitivity to \(\eta =2\), known as the Heisenberg limit. However, these states are extremely sensitive to decoherence and particle loss39,40 making them impractical for real applications. In addition, any interaction between the particles deteriorates the sensing quality41. One can also exceed the standard limit through adaptive42,43,44,45,46,47,48 or continuous measurements49 using single particle sensors.

While in the GHZ-based quantum sensing, the interaction between particles should be avoided, in a fundamentally different route, one can harness the interaction in strongly correlated many-body quantum systems in50,51,52,53,54,55,56 and out57,58,59,60,61,62 of equilibrium for sensing. In fact, thanks to the emergent of multipartite entanglement63,64,65,66,67,68, many-body systems near criticality provide enhanced quantum precision of \(\eta = 2/\nu\)50,51,52,53,54,55, where \(\nu\) is the critical exponent in charge of the divergence of correlation length69,70. In addition, the evolution of many-body systems has also been used for sensing local62 and global71 DC fields as well as extracting information about the spectral structure of time-varying fields72,73,74. In most of these works, either static or dynamic, it is dominantly assumed that the whole system is accessible for measurement which may not be practical. Nonetheless, quantum enhancement in many-body sensors with only partial access to a subsystem has hardly been explored and it is not clear whether criticality can still enhance the precision in such scenarios. One may raise question whether strongly correlated many-body systems can also be beneficial for AC field sensing. If so, do they provide precision beyond the standard limit? What would happen if only partial access to a subsystem is available? The importance lies in the fact that the AC field excites high energy eigenstates and thus the notion of ground state criticality will no longer exist and thus a new theory is needed. Recently, we have shown that one can gain quantum enhanced sensing in periodically driven systems even with the partial accessibility for sensing DC magnetic fields75. Here, we generalize this approach for sensing AC magnetic fields. In the present work, we also demonstrate the practicality of the sensing protocol using Bayesian inference.

The main findings of the paper are: (i) the quantum Fisher information of a block, with respect to amplitude of the AC magnetic field, peaks along a line, making it far more versatile than the critical systems; (ii) the line of the peak of the quantum Fisher information coincides with the line of vanishing Floquet gap; and (iii) at the closing of the Floquet gap, the quantum Fisher information scales well beyond the standard limit, shows quantum enhanced sensing. Finally, we numerically analyze the proposal for an ion trap.

Results

The setup for sensing

We consider an interacting spin-1/2 Ising chain of length N in a transverse field to serve as a many-body probe for sensing a time-periodic magnetic field, h(t), which is assumed to be along the transverse direction. The Hamiltonian of the model is written as

$$H(t)=- J \sum_{i=1}^{N}{\hat{\sigma }}^{x}_{i}{\hat{\sigma }}^{x}_{i+1} - \sum_{i}(h_0 + h(t)){\hat{\sigma }}^{z}_{i},$$
(1)

where, \(J>0\) is the nearest-neighbor spin-spin interaction, \(h_0\) is a DC external magnetic field which is tunable, \({\hat{\sigma }}_{i}^{x/z}\) are Pauli matrices at site i, and the periodic boundary conditions is assumed, i.e., \({\hat{\sigma }}_{N+1}^{x/z}={\hat{\sigma }}_{1}^{x/z}\). In the absence of h(t), the Hamiltonian in Eq. (1) is known to exhibit a quantum phase transition at \(h_0=h_c\) such that \(h_c/J=1\). The time-dependent field h(t), as we will show later, can be any periodic function with a nonzero mean over a period, such as Dirac delta-kick or square pulses. A schematic picture of the system is given in Fig. 1. To begin with, the time-dependent form of the magnetic field, h(t), is taken in the form of a Dirac delta-kick as

$$\begin{aligned} h(t) = h_1\sum \limits _{n=0}^{n = \infty }\delta (t-n\tau ), \end{aligned}$$
(2)

where, the strength of the kick is \(h_1\) whose estimation will be investigated in this paper. The above Hamiltonian in the presence of h(t), Eq. (2), is time periodic, i.e., \(H(t)=H(t+n\tau )\) with \(\tau\) being the time period, which is known a priory, and n being integer valued. The time evolution monitored in steps of \(t=n\tau\) is referred as stroboscopic in the literature76,77. The initial state of the evolution is taken to be a fully polarized state where each spins are in the eigenbasis of \({\hat{\sigma }}_z\) with eigenvalue \(+1\), i.e., \(|\Psi (0)\rangle\)=\(|\uparrow \otimes \uparrow \otimes \cdots \otimes \uparrow \rangle .\) The role of other initial states is discussed in more detail later. The time evolved state of the system is \(|\Psi (t)\rangle =U(t,0)|\Psi (0)\rangle\), where

$$\begin{aligned} U(t,0)={{\mathscr {T}}}e^{-i \int _{0}^{t} H(t)dt}, \end{aligned}$$
(3)

with \({{\mathscr {T}}}\) being the time order operator. For such a case, the subsequent dynamics can be obtained from the knowledge of one time period propagator \(U(\tau ,0)\) and is termed as Floquet operator. The Floquet evolution has already been found useful in explaining the emergence of thermal states under periodic driving77, engineering exotic topological phases of matter78, dynamically decoupling the interaction between the particles20,33 and efficiently being simulated on digital quantum simulators79.

The Hamiltonian in Eq. (1) can be solved exactly using Jordan-Wigner transformation (JW), as elaborated in80,81. We outline the key steps and present detailed calculations in the Supplementary Materials (SM) S1. The first step is to map the spin operators, \({\hat{\sigma }}_{i}\), into fermionic operators, \({\hat{c}}^{\dagger }_{i}(\hat{c_{i}})\), via the JW transformations:

$$\begin{aligned} {\hat{\sigma }}^{-}_{j}= & {} e^{i\pi \sum _{i=1}^{j-1}{\hat{\sigma }}^{+}_{i}{\hat{\sigma }}^{-}_{i}}c_{j}\nonumber \\ {\hat{\sigma }}^{+}_{j}= & {} c^{\dagger }_{j}e^{-i\pi \sum _{i=1}^{j-1}{\hat{\sigma }}^{+}_{i}{\hat{\sigma }}^{-}_{i}}, \end{aligned}$$
(4)

where, \({\hat{\sigma }}^{\pm }_{j} = ({\hat{\sigma }}^{x}_j\pm {\hat{\sigma }}^{y}_j)/2\). By defining Fourier space fermionic operator as \(d_k = \frac{1}{\sqrt{N}}\sum _{j}e^{i k j} c_j\), one gets \(H(t)=\sum _{k}H_{k}\), where \(H_{k}\) being the Hamiltonian of the kth subspace given by \(H_k = (h(t)+J\cos (k))(d^{\dagger }_{k}d_{k}-d_{-k}d^{\dagger }_{-k}) + J\sin (k)(d^{\dagger }d^{\dagger }_{-k}-d_{k}d_{-k})\). The time-evolved state can be obtained using Eq. (3) and the fact that the Hamiltonian is a sum of independent modes, k, as

$$\begin{aligned} |\Psi (t=n\tau )\rangle= & {} [U(\tau ,0)]^n|\Psi (0)\rangle =e^{-i n H^F \tau }|\Psi (0)\rangle \nonumber \\= & {} \otimes _{k>0} e^{-inH^{F}_{k}\tau }|\psi ^{0}_{k}\rangle . \end{aligned}$$
(5)

Here, \(|\Psi (0)\rangle = \otimes _{k}|\psi ^{0}_{k}\rangle\) is the initial state and \(H^{F}_{k}\) is termed as Floquet Hamiltonian. The Floquet Hamiltonian \(H^{F}_{k}\) turns out to be simple to obtain for the delta-kick field. If, over a period \(\tau\), the initial and the final Hamiltonians are \(H^{i}_{k}\) and \(H^{f}_{k}\), respectively, then

$$\begin{aligned} H^{F}_{k} = |\vec {{ \mu }}^{F}_{k}|{\hat{n}}^{F}_{k}.\vec {\sigma }_p, \end{aligned}$$
(6)

where, \(\vec {\sigma }_p=({\hat{\sigma }}^{x}_p,{\hat{\sigma }}^{y}_p,{\hat{\sigma }}^z_p)\) are the pseudospin-1/2 operators, \({\hat{n}}^{F}_{k} = \vec {{\mu }}^F_{k}/|\vec {{ \mu }}^{F}_{k}|\), and the Floquet quasi energies \(|\vec {{ \mu }}^{F}_{k}|\) are given by

$$\begin{aligned} |\vec {{ \mu }}^{F}_{k}|= & {} \frac{1}{\tau }\cos ^{-1}\Big [\cos (|{\vec { \mu }}^{i}_{k}| \tau ) \cos (|\vec {{\mu }}^{f}_{k}|\tau ) \nonumber \\& - {\hat{n}}^{i}_{k}\cdot {\hat{n}}^{f}_{k}\sin (|\vec {{\mu }}^{i}_{k}|\tau )\sin (|\vec {{ \mu }}^{f}_{k}|\tau )\Big ], \end{aligned}$$
(7)

and

$$\begin{aligned} {\hat{n}}^{F}_{k}= & {} \frac{1}{\sin (|\vec {{\mu }}^{F}_{k}|\tau )}\Big [{\hat{n}}^{i}_{k} \sin (|\vec {{\mu }}^{i}_{k}|\tau )\cos (|\vec {{ \mu }}^{f}_{k}|\tau )\nonumber \\&+{\hat{n}}^{f}_{k} \sin (|\vec {{ \mu }}^{f}_{k}|\tau )\cos (|\vec {{ \mu }}^{i}_{k}|\tau ) \nonumber \\&-{\hat{n}}^{i}_{k}\times {\hat{n}}^{f}_{k} \sin (|\vec {{ \mu }}^{i}_{k}|\tau )\sin (|\vec {{ \mu }}^{f}_{k}|\tau )\Big ], \end{aligned}$$
(8)

where, \(H^{i}_{k} = |\vec {{ \mu }}^{i}_{k}|{\hat{n}}^{i}_{k}.\vec {\sigma }_p\) and similarly for \(H^{f}_{k}\) with \({\hat{n}}^{i(f)}_{k} = \vec {{ \mu }}^{i(f)}_{k}/|\vec {{ \mu }}^{i(f)}_{k}|\). For the delta-kick magnetic field, \(\vec {{ \mu }}^{i}_{k} = (0, J\sin (k), h_0+J\cos (k))\), \(\vec {{ \mu }}^{f}_{k} = (0, 0, h_1)\), and the Floquet Hamiltonian, obtained in Eq. (6), is a \(2\times 2\) matrix.

For a given wave function \(|\Psi (t)\rangle\) of a many-body quantum system, partial accessibility on a length scale \(L\ll N\) is well described by a reduced density matrix, \(\rho _L\), which is given by

$$\begin{aligned} \rho _L(t) = \text{ Tr}_{N-L}|\Psi (t)\rangle \langle \Psi (t)|, \end{aligned}$$
(9)

where \(\text{ Tr}_{N-L}\) stands for the partial trace overall sites except the spins within the block L. It is worth emphasizing that although the density matrix of the full system, given by \(\rho (t)=|\Psi (t)\rangle \langle \Psi (t)|\), is pure, the density matrix \(\rho _L(t)\) is mixed as the state \(|\Psi (t)\rangle\) gets more entangled with increasing t. Thanks to the periodic boundary condition, the choice of the location of the block is irrelevant and only its size L is important. As the system evolves, the information of \(h_1\) is imprinted on the quantum state \(\rho _L(t)\) which can be extracted by performing proper measurements and feeding the results into an estimator algorithm, such as Bayesian inference (the details are presented in Sec. “Effect of the total system size”). In the long-time, as we will see in the following sections, the dynamics of the observables associated with \(\rho _L\) equilibrate to a steady state value, which will be incorporated into our sensing protocol for estimating \(h_1\). One can properly tune the DC field \(h_0\), as an extra controllable parameter, to enhance the sensitivity of the system to the variation of \(h_1\). Moreover, without loss of generality, we fix the time-period \(\tau\) to be \(J\tau =0.2\) as, we will see that, for all \(J\tau {\le }1\) the local steady state can be used for parameter estimation.

Estimation theory

We, in this section, review the quantum estimation theory for inferring an unknown parameter encoded in a general density matrix. Any estimation protocol relies on two crucial ingredients: (i) a measurement setup that measures the system on a specific basis and (ii) an estimator algorithm that uses the measured data for inferring the value of the unknown parameter. The precision of estimating the unknown parameter, \(h_1\), quantified by the statistical variance, is bounded by the Cramér–Rao inequalities28,34

$$\begin{aligned} \text{ Var }(h_1)\ge \frac{1}{M F_C(h_1)}\ge \frac{1}{M F_Q(h_1)}, \end{aligned}$$
(10)

where, M is the number of samples, \(F_C\) and \(F_Q\) are the classical and quantum Fisher information, respectively. The above inequalities show that the variance of any unbiased estimator of a parameter cannot be lower than the inverse of the Fisher information. When the measurement basis is fixed, say by a set of positive valued measurements (POVM) \(\{\Pi _r\}\), the above inequality is bounded by the classical Fisher Information (CFI) \(F_C\), which is also known as the classical Cramér–Rao inequality. In this case, the equality is achieved when the estimator algorithm is optimized. The classical Fisher information is given by

$$\begin{aligned} F_C(h_1)=\sum _{r} \frac{(\partial _{h_1} p_{r})^2}{p_r}, \end{aligned}$$
(11)

where, \(p_{r}(h_1)=\text{ Tr }[\rho _L (h_1) \Pi _{r}]\) is the probability of obtaining the outcome r and \(\partial _{h_1}p_{r}=\frac{\partial p_r}{\partial h_1}\). Since the POVM satisfies \(\sum _{r}\Pi ^{\dagger }_{r}\Pi _{r}={{\mathbb {I}}}\), where \({{\mathbb {I}}}\) is the identity matrix in the state space, it automatically implies that \(\sum _{r} p_{r}= 1\). One can further tighten the classical Cramér–Rao inequality by optimizing the measurement basis over all possible POVMs which then results in a new bound, given by the quantum Fisher information (QFI) \(F_Q\), as stated in Eq. (10). In this case, the inequality is called the quantum Cramér–Rao inequality. Note that the QFI is independent of the measurement basis and the equality is achieved when both estimation algorithm and measurement basis are chosen to be optimal.

For the density matrix, \(\rho _L\), the QFI is given by28

$$\begin{aligned} F_{Q}=\sum _{r,s=1}^{2L}\frac{2 {\Re }(\langle \lambda _{r}|\partial _{h_1}\rho _{L}|\lambda _{s}\rangle \langle \lambda _{s}|\partial _{h_1}\rho _{L}|\lambda _{r}\rangle )}{\lambda _{r}+\lambda _s}, \end{aligned}$$
(12)

where, \(\rho _L=\sum _{r=1}^{2L}\lambda _{r}|\lambda _{r}\rangle \langle \lambda _{r}|\) is the spectral decomposition of \(\rho _L\) with \(\lambda _r\) and \(|\lambda _{r}\rangle\) being the eigenvalues and eigenvectors, respectively. \({\Re }[\cdot ]\) denotes the real part and the sum in Eq. (12) excludes terms for which \(\lambda _r+\lambda _s=0\). The computation of the time-dependent QFI of \(\rho _L\) at time t is explained in SM S1.

Figure 2
figure 2

The time-evolution of quantum Fisher information \(F_{Q}\) as a function of time \(t=n\tau\) for different values of \(h_1/J=0.1\) (regular red line), \(h_1/J=0.2\) (dashed dotted blue line) and various block sizes: (a) \(L=1\); (b) \(L=2\); (c) \(L=10\); and (d) \(L=20\).

Figure 3
figure 3

Variation of average long-time quantum Fisher information \(F_Q^{ss}\) with respect to \(h_1\) and \(h_0\) for different block sizes: (a) \(L=1\); (b) \(L=2\); (c) \(L=4\); and (d) \(L=10\). For the numerical calculation of quantum Fisher information, we choose \(dh_1=10^{-3}\), see Eq. (12). Here \(N=2000\) and \(J\tau =0.2\).

Quantum Fisher information analysis

To quantify the sensitivity of our probe for inferring \(h_1\), one can use the QFI of \(\rho _L\) for different block sizes. In Fig. 2a–d, we plot the dynamics of QFI, \(F_{Q}(t)\), as a function of time \(t=n\tau\), for different values of \(h_1\) when \(h_0\) is tuned at \(h_0/J=1\). Each panel in Fig. 2a–d represents a different block size namely: (a) \(L=1\), (b) \(L=2\), (c) \(L=4\), and (d) \(L=10\). The QFI shows oscillatory behavior with damping amplitudes which at long times saturates to a steady state value depending on \(h_1\). The steady state QFI value becomes significantly larger as the block size L increases, implying that the sensing precision considerably enhances as L increases. The long-time oscillations in the QFI persist because of the finite total system size N. To obtain the steady state value, we consider time averaged QFI given by

$$\begin{aligned} F^{ss}_Q = \frac{1}{\tau (n_{max}-n_{min})}\sum _{t = n_{min}\tau }^{n_{max}\tau }F_{Q}(t). \end{aligned}$$
(13)

Typically, for our numerical calculation, \(n_{min}\) and \(n_{max}\) are taken to be 4000 and 4400, respectively for Fig. 2. These values are chosen to include a few oscillations of \(F_{Q}(t)\). Once this condition is satisfied, any further widening of the range of \(n_{min}\) and \(n_{max}\) will give almost the same value of \(F^{ss}_{Q}\). In fact, one can take the limit \(n\rightarrow \infty\) and obtained \(F^{ss}_{Q}=\lim \limits _{n\rightarrow \infty } F_Q(n\tau )\) for the state \(\rho _L\). To do this, we note that

$$\begin{aligned} U_{k}(n\tau ) =e^{-i\mu _{k}^{F,+}n\tau }|\mu ^{F,+}_{k}\rangle \langle \mu ^{F,+}_{k}| +e^{-i\mu _{k}^{F,-}n\tau }|\mu ^{F,-}_{k}\rangle \langle \mu ^{F,-}_{k}|, \end{aligned}$$
(14)

where, \(\mu _{k}^{F,\pm },|\mu ^{F,\pm }_{k}\rangle\) are the eigenvalues and eigenvectors of the Floquet Hamiltonian, respectively. Then the expectation value of \({{\mathscr {C}}}_{i,j}(n\tau )=\langle \Psi (n\tau )| c^{\dagger }_{i}c_{j}|\Psi (n\tau )\rangle\) and \({\mathscr{I}}_{i,j}(n\tau )= \langle \Psi (n\tau )| c^{\dagger }_{i}c^{\dagger }_{j}|\Psi (t)\rangle\) between the fermionic operators (\(i,j=1,\ldots ,L\)) can be obtained as

$$\begin{aligned} {{\mathscr {C}}}_{i,j}(n\tau )= & {} \frac{2}{N}\sum _{k>0}\cos (k(i-j))\langle \psi ^{0}_{k}| U^{\dagger }_{k}(n\tau )d^{\dagger }_{k}d_{k}U_{k}(n\tau ) |\psi ^{0}_{k} \rangle \nonumber \\= & {} \frac{2}{N}\sum _{k>0}\cos (k(i-j))\Big [r^{+}_kr^{*+}_k\langle \mu ^{F,+}_k|d^{\dagger }_{k}d_{k}|\mu ^{F,+}_k\rangle \nonumber \\&+r^{-}_kr^{*-}_k\langle \mu ^{F,-}_k|d^{\dagger }_{k}d_{k}|\mu ^{F,-}_k\rangle \nonumber \\&+ e^{i(\mu ^{F,+}_k-\mu ^{F,-}_k)n\tau }r^{+}_kr^{*-}_k\langle \mu ^{F,+}_k| d^{\dagger }_{k}d_{k}|\mu ^{F,-}_k\rangle \nonumber \\&+ e^{i(\mu ^{F,-}_k-\mu ^{F,+}_k)n\tau }r^{-}_kr^{*+}_k\langle \mu ^{F,-}_k|d^{\dagger }_{k}d_{k}|\mu ^{F,+}_k\rangle \Big ]. \end{aligned}$$
(15)
$$\begin{aligned} {{\mathscr {I}}}_{i,j}(t)= & {} \frac{2i}{N}\sum _{k>0}\sin (k(i-j))\langle \psi ^{0}| U^{\dagger }_{k}(n\tau )d^{\dagger }_{k}d^{\dagger }_{-k}U_{k}()n\tau |\psi ^{0} \rangle \nonumber \\= & {} \frac{2i}{N}\sum _{k>0}\sin (k(i-j))\Big [r^{+}_kr^{*+}_k\langle \mu ^{F,+}_k|d^{\dagger }_{k}d^{\dagger }_{-k}|\mu ^{F,+}_k\rangle \nonumber \\&+r^{-}_kr^{*-}_k\langle \mu ^{F,-}_k|d^{\dagger }_{k}d^{\dagger }_{-k}|\mu ^{F,-}_k\rangle \nonumber \\&+ e^{i(\mu ^{F,+}_k-\mu ^{F,-}_k)n\tau }r^{+}_kr^{*-}_k\langle \mu ^{F,+}_k|d^{\dagger }_{k}d^{\dagger }_{-k}|\mu ^{F,-}_k\rangle \nonumber \\&+ e^{i(\mu ^{F,-}_k-\mu ^{F,+}_k)n\tau }r^{-}_kr^{*+}_k\langle \mu ^{F,-}_k| d^{\dagger }_{k}d^{\dagger }_{-k}|\mu ^{F,+}_k\rangle \Big ]. \end{aligned}$$
(16)

Here, \(r_{k}^{\pm }=\langle \psi ^{0}_{k}|\mu ^{F,\pm }_{k}\rangle\), describes the overlap of the initial state with that of the Floquet eigenstates. Taking the limit \(n\rightarrow \infty\) and \(N\rightarrow \infty\), it is compatible to drop the fast oscillating cross-term from Eqs. (1516). Thus, we obtain the correlation functions in the steady-state as

$$\begin{aligned} {{\mathscr {C}}}^{\infty }_{i,j}= & {} \frac{1}{\pi }\int _{0}^{\pi }dk\cos (k(i-j)) \Big [|r^{+}_k|^2\langle \mu ^{F,+}_k|d^{\dagger }_{k}d_{k}|\mu ^{F,+}_k\rangle \nonumber \\&+|r^{-}_k|^{2}\langle \mu ^{F,-}_k|d^{\dagger }_{k}d_{k}|\mu ^{F,-}_k\rangle \Big ], \end{aligned}$$
(17)
$$\begin{aligned} {{\mathscr {I}}}^{\infty }_{i,j}= & {} \frac{i}{\pi }\int _{0}^{\pi }dk\sin (k(i-j)) \Big [|r^{+}_k|^2\langle \mu ^{F,+}_k|d^{\dagger }_{k}d^{\dagger }_{-k}|\mu ^{F,+}_k\rangle \nonumber \\&+|r^{-}_k|^{2}\langle \mu ^{F,-}_k|d^{\dagger }_{k}d^{\dagger }_{-k}|\mu ^{F,-}_k\rangle \Big ], \end{aligned}$$
(18)

where we replace the summation by integration. The \({ C}^{\infty }_{i,j}\) and \({{\mathscr {I}}}^{\infty }_{i,j}\) obtained so characterize a steady-state reduced density matrix \(\rho _L\). The reduced density matrix is diagonalized in the orthogonal basis \(\{|\mu ^{F,\pm }_{k}\rangle \}\) which can be described by a time-periodic generalized canonical ensemble82,83. This state can be used to compute the Fisher information in Eq. (13), as described in details in the SM S1.

Figure 4
figure 4

The minimum of the Floquet gap \(\Delta _F\) (red regular line) and the peak value of quantum Fisher information \(F^{ss}_{Q}\) (red triangles) on the \(h_0{-}h_1\) plane for: (a) \(J\tau =0.2\); and (b) \(J\tau =0.5\). Here, the total system size is \(N=2000\) and the block size is \(L=4\).

One of the main advantages of our quantum-many body probes is the presence of another external parameter, namely the DC field \(h_0\), which can be tuned to enhance the sensing precision. To see the effect of \(h_0\) on the steady state QFI, in Fig. 3a–d, we plot \(F^{ss}_{Q}\) as a function of both \(h_0\) and \(h_1\) for different block sizes namely: (a) \(L=1\); (b) \(L=2\); (c) \(L=4\); and (d) \(L=10\). As evident in the figures, by increasing the block size L, the \(F^{ss}_{Q}\) increases considerably and peaks along a line in the plane of \(h_0{-}h_1\). It is shown in84,85, that the steady-state properties of periodically driven systems are closely linked to the spectrum of the Floquet Hamiltonian. Especially, it is shown that at the Floquet band crossing several peaks occur in the entanglement entropy. To understand the origin of peaks in the \(F^{ss}_{Q}\) in the present case, we fix \(\tau\) and analyze the Floquet gap \(\Delta _{F}\) as a function of \(h_1\) and \(h_0\). The \(\Delta _{F}\) is defined as

$$\begin{aligned} \Delta _{F} = \min _{k}(2|\vec {{ \mu }}^{F}_{k}|), \end{aligned}$$
(19)

namely, the minimum gap between the two Floquet bands, \(\mu ^{F,+}=|\vec {{ \mu }}^{F}_{k}|\) and \(\mu ^{F,-}=-|\vec {{ \mu }}^{F}_{k}|\). The \(|\vec {{ \mu }}^{F}_{k}|\) depends on \(h_0,h_1\), and \(\tau\). For a fixed \(\tau ,h_0\), and \(h_1\), the minimum of \(|\vec {{ \mu }}^{F}_{k}|\) occurs at \(k=\pi\). Thus, \(\vec {{ \mu }}^{i}_{k}\) becomes \(\vec {{ \mu }}^{i}_{k=\pi } = (0, 0, h_0-J)\) which using Eq. (7) gives \(\cos (|\vec {{ \mu }}^F_{k=\pi }|\tau ) = \cos ((h_0-J)\tau +Jh_1)\). For certain values of \(h_0\) and \(h_1\), it can be checked that \(|\vec {{ \mu }}^{F}_{\pi }|=0\). Thus, for those value of \(h_0\) and \(h_1\), the Floquet band gap \(\Delta _F=0\). By solving the former equation for \(\vec {{ \mu }}^{F}_{k=\pi } =0\), we get

$$\begin{aligned} Jh_1 = \tau |h_0-h_c|. \end{aligned}$$
(20)

Interestingly, we find that for a fixed \(\tau\) the peaks of \(F^{ss}_{Q}\) occur along a straight line in the \(h_0{-}h_1\) plane where the Floquet gap \(\Delta _F\) vanishes. In Fig. 4a,b we plot the location of points in the \(h_1{-}h_0\) plane where \(\Delta _F\) is minimum and \(F^{ss}_Q\) is maximum. The two lines perfectly collapse on each other showing that the vanishing Floquet gap corresponds to the maximum of the steady state QFI for various choices of \(\tau\). This resembles the correspondence between the closing of the energy gap at the critical point and the maximization of the QFI in the ground state quantum sensing with global accessibility.

Figure 5
figure 5

Quantum Fisher information \(F^{ss}_Q\) versus the block size L in a system of length \(N=10^4\) and time period of \(J\tau =0.2\): (a) \((h_0/J,h_1/J) = (0.191,0.161)\); (b) \((h_0/J,h_1/J) = (0.83,0.034)\); (c) \((h_0/J,h_1/J) = (0.161,0.191)\); and (d) \((h_0/J,h_1/J) = (0.6,0.2)\). The plots in panels (a) and (b) belong to the vanishing Floquet gap line while the panels (c) and (d) are away from that. The triangles represent original numerical data while the solid red lines are the fitting curve using the least-square method.

Steady state scaling of quantum Fisher information

One important features of quantum sensing in comparison with classical methods is resource efficiency. This is quantified through scaling of the QFI with respect to the number of resources needed to perform the estimation. In our setup, we have access to spins in a block of size L which is explained by the density matrix \(\rho _L\). Since all the measurements will be performed on this block, it is reasonable to consider the number of spins L as the resource for our quantum sensing protocol. To quantify the effectiveness of our steady state sensing protocol, one has to investigate the scaling of \(F^{ss}_{Q}\) as a function of resources L. Therefore, by fixing \(h_0\) and \(h_1\), one can explore how \(F^{ss}_{Q}\) (which is computed with respect to \(h_1\)) changes with increasing L. In particular, we fit the numerical data with the fitting function of the form \(f(L)=A L^{\eta }\) such that for every choice of pair \((h_0,h_1)\), one gets \(F^{ss}_{Q}{\approx }f(L)\). In general, \(A(h_0,h_1)\) and \(\eta (h_0,h_1)\) are functions of \(h_0\) and \(h_1\). The exponent \(\eta =1\) corresponds to the classical standard limit and any \(\eta {>}1\) shows quantum enhanced sensing, with \(\eta =2\) being the Heisenberg limit. In Fig. 5a, we fix \((h_0/J,h_1/J) = (0.191,0.161)\) which corresponds to one point along the line with vanishing Floquet gap where the QFI is maximum. Surprisingly, by considering block sizes of \(L=1{-}100\), the steady state QFI shows scaling with \(F^{ss}_{Q}\sim L^{1.96}\), which is well beyond the standard limit. In Fig. 5b, we take \((h_0,h_1)=(0.83,0.034)\) as another point on the vanishing Floquet gap line where the fitting gives \(F^{ss}_{Q} \sim L^{1.82}\), which again shows quantum enhanced sensing. For the sake of completeness, in Fig. 5c,d, we plot \(F^{ss}_{Q}\) versus block size L for the two representative pairs of \((h_0,h_1)= (0.161,0.191)\) and \((h_0,h_1)=(0.6,0.2)\) away from the vanishing Floquet gap line. Interestingly, for these choices, although \(\eta\) still exceeds the standard limit, it is considerably smaller than the choices of the points on the vanishing Floquet gap line. These findings are the key results of this paper and are analogous to the enhanced sensitivity near the ground state critical point51,50, where the energy gap of the system vanishes. As criticality is a resource for ground state quantum sensing, the vanishing of the Floquet gap can also be considered a resource for steady state quantum metrology.

It is worth emphasizing that there is a fundamental difference between our protocol and the conventional criticality enhanced sensitivity in the ground state of many-body systems. In such scenarios, the Fisher information is computed for the whole system assuming global accessibility. In our case, while the whole system remains a pure state, the local subsystem becomes mixed due to entanglement with the rest of the system. Due to this mixedness, some information may get lost and sensing is more challenging. Nonetheless, our analysis shows that in integrable systems the local steady state still carries a wealth of information about the AC field allowing for sensitivity near the Heisenberg limit. This is non-trivial as, for instance, in GHZ-based quantum sensing37,38 even losing one particle completely destroys the quantumness of the probe.

We would like to mention that the scaling analysis carried out in this section is robust with the increase of the total system size N. We have considered N in the range of \(N=2000\) to \(N=10000\) for which the value of the scaling exponent \(\eta\) remains pretty much robust as shown in Fig. 5a–d. Moreover, the scaling exponents have been extracted for \(L=1{-}100\) as further increasing the block size L hardly changes the fitting function and the exponent \(\eta\).

Figure 6
figure 6

(a) The variation of the steady-state magnetization as a function of \(h_1\) for disordered and ordered initial states, respectively. The corresponding steady-state QFI is shown in the inset. (b) The QFI (\(F^{\beta }_{Q}\)) of a block of size \(L=2\) as a function of time \(t=n\tau\) for a thermal initial state at the finite temperature \(T=\frac{1}{\kappa \beta }\). Here, \((h_0/J,h_1/J)=(0.191,161)\), \(J\tau =0.2\), and \(N=2000\).

Figure 7
figure 7

The evolution of \(F_Q\) and \(F_C\) as a function of time when \((h_0/J,h_1/J)=(0.191,0.161)\) are tuned to be on the line of the vanishing Floquet gap for: (a) \(\alpha \rightarrow \infty\); and (b) \(\alpha =3\). The variance Var(\(h_1\)) in the estimation of \(h_1\) using Bayesian inference for two different numbers of repetitions M for: (c) \(\alpha \rightarrow \infty\); and (d) \(\alpha =3\). The other parameters are \(N=13\), \(J\tau =0.2\), and \(L=4\).

Role of the initial state

In this section, we discuss the role of the initial state for the estimation of \(h_1\). For this, in Fig. 6a, we plot the steady-state magnetization \(m^{ss}_z\) as a function of \(h_1\) for two different initial states, namely: (i) ordered state \(|\Psi (0)\rangle =|\rightarrow \otimes \rightarrow \otimes \cdots \otimes \rightarrow \rangle\) (with \(|\rightarrow \rangle =(|\uparrow \rangle +|\downarrow \rangle )/\sqrt{2}\)); and (ii) disordered state \(|\Psi (0)\rangle =|\uparrow \otimes \uparrow \otimes \cdots \otimes \uparrow \rangle\). For both of these cases, the \(m^{ss}_z\) starts from its initial value at \(h_1=0\) and saturates for large \(h_1\). The slope of \(m^{ss}_z\) at any \(h_1\) captures the degree of sensitivity for a small change on \(h_1\), which in turn gives the information about \(h_1\) that can be obtained from the measurement of \(m^{ss}_z\). In the inset of Fig. 6a, we plot \(F^{ss}_{Q}\) for the two different initial states. It is clear from the figure that the QFI takes larger values for the disordered initial state.

In order to consider a mixed initial state, we explore the performance of our AC field quantum sensing for a thermal initial state too. For this, the system is prepared initially in a thermal state \(\rho = e^{-\beta H_0}/{{\mathscr {Z}}}\), where \({{\mathscr {Z}}} = \text{ Tr }( e^{-\beta H_0})\) is the normalization constant and \(H_0\) is the time-independent Hamiltonian, namely the Hamiltonian in Eq. (1) without the term h(t). The subsequent dynamics can be obtained as \(\rho (t)=U(t)\rho U^{\dagger }(t)\), where U(t) is a unitary operator given in Eq. (3). We obtain a reduced density matrix between two-spins, i.e., \(L=2\), and calculate the quantum Fisher information \(F^{\beta }_{Q}\) as a function of time \(t=n\tau\). In Fig. 6b, we plot \(F^{\beta }_{Q}\) as a function of time for different \(\beta =1/\kappa T\), where T is the temperature of the system and \(\kappa\) is the Boltzmann constant. Here, we have taken the values of \(h_0/J=0.191\) and \(h_1/J=0.161\) which corresponds to the point where Floquet gap \(\Delta _F\) vanishes and \(F^{ss}_{Q}\) shows a peak. From Fig. 6b, it can be seen that by increasing \(\beta\) (decreasing temperature T), the \(F^{\beta }_{Q}\) increases. Thus, we can infer that the uncertainty in the estimation of \(h_1\) increases as the temperature increases. However, from Fig. 6b it is clear that \(F^{\beta }_{Q}{\gg }1\), one can still get significant precision in the estimation of \(h_1\) even at the finite temperature \(\beta\).

Realization on near-term quantum devices

Near-term quantum devices are far from being perfect. They have several limitations in terms of the number of qubits, measurement types, and coherence time. In addition, realizing a perfectly integrable system is challenging. We particularly, focus on ion trap systems in which the interaction between the qubits is described by the Hamiltonian86,87,88,89,90

$$\begin{aligned} H_{\alpha }(t)= & {} - \sum _{i,j}\frac{J}{r^{\alpha }_{ij}}{\hat{\sigma }}^{x}_{i}{\hat{\sigma }}^{x}_{j} - \sum _{i}(h_0 + h(t)){\hat{\sigma }}^{z}_{i}, \end{aligned}$$
(21)

where \(\alpha\) determines the strength of interaction between sites i and j and can be tuned experimentally. The case of \(\alpha =0\) describes a fully connected graph in which all qubits interact with each other equally. On the other hand, in the limit of \(\alpha \rightarrow \infty\) one recovers the integrable Hamiltonian as in Eq. (1). In general, for finite values of \(\alpha\), the above Hamiltonian is non-integrable. However, as \(\alpha\) increases the non-integrability becomes weaker such that for \(\alpha >1\) system behaves more like the nearest neighbor Ising model. In typical ion trap experiments, \(\alpha\) varies in the range \(0.5\le \alpha \le 3\), the coupling strength J is in the range \(J\in [10^{2},10^{4}]\) Hz, and the coherence time \(T_2 \ge 10^{-3}\) s91. We consider a system of size \(N=13\) with \(\alpha =3\). As we will see, such small systems with \(\alpha =3\), despite being non-integrable, still do not reach the infinite temperature thermal state for their subsystems. Therefore, one can still efficiently use them for steady state sensing within the coherence time of the system.

Since the optimal measurement basis is complex and in general \(h_1\) dependent, we suggest using the non-optimal but simple block magnetization measurement, described in the previous section. For such measurement, one can compute the classical Fisher information and compare it with the QFI. In Fig. 7a,b we plot both the CFI and QFI as a function of time in a system of length \(N=13\), \((h_0,h_1)=(0.191,0.161)\), and \(L=4\) for: (a) \(\alpha \rightarrow \infty\); and (b) \(\alpha =3\), respectively. Interestingly, despite being non-integrable, the system shows very large classical and quantum Fisher information. In addition, the system reaches its steady state around \(nJ\tau =100\). For a typical exchange coupling of \(J\sim 10\) KHz92, one needs a coherence time of \(\sim 10\) ms. This is within the capability of current ion trap technologies which have achieved coherence time of 300 ms (extendable to 2.1 s with dynamical decoupling)93.

Any quantum sensing protocol requires an estimation algorithm which uses the measured data for estimating the unknown parameter. Indeed, only by using an optimal estimation algorithm, together with optimal measurements, one can saturate the Cramér–Rao bound. Bayesian estimation is known to be the optimal estimator94,95,96,97,98 for large data sets. In SM S1, we presented optimal measurement basis for \(L=1\) and \(L=2\) for the Hamiltonian given in Eq. (1). The optimal measurement basis so obtained cannot be generalized to higher L due to the complexity involved. Thus, we restore to a simple measurement which can be accessible in experiments. Consider block magnetization measurement which results in a data set of M samples \({\mathbf {d}}=\{(O_k,n_k)\}\), in which any measurement outcome \(O_k\) appears \(n_k\) times (with \(k=1,2,\ldots , L+1\)) such that \(\sum _k n_k=M\). The probability distribution of the unknown parameter \(h_1\) is determined as

$$\begin{aligned} {\mathbb {P}}(h_1|{\textbf {d}})=\frac{{\mathbb {P}}({\textbf {d}}|h_1){\mathbb {P}}(h_1)}{{\mathbb {P}}({\textbf {d}})}, \end{aligned}$$
(22)

where, \({\mathbb {P}}(h_1|{\textbf {d}})\) is the posterior, \({\mathbb {P}}({\textbf {d}}|h_1)\) is the likelihood, \({\mathbb {P}}(h_1)\) is the prior probability distribution of \(h_1\), and \({\mathbb {P}}({\textbf {d}})\) is the normalization factor to make the posterior a valid probability distribution. In the absence of prior information, one can consider \({\mathbb {P}}(h_1)\) to be a uniform distribution over the interval of interest. The likelihood can be computed as

$$\begin{aligned} {\mathbb {P}}({\textbf {d}}|h_1)=\left( {\begin{array}{c}M\\ n_1,n_2,\ldots ,n_{L+1}\end{array}}\right) \prod _{k=1}^{L+1}(p_k)^{n_k}, \end{aligned}$$
(23)

where, \(p_k\) is the probability of measuring outcome \(O_k\). The estimated value \(h_1^{est}\) is the point at which the posterior \({\mathbb {P}}(h_1|{\textbf {d}})\) takes its maximum. By repeating the procedure one can estimate the variance \(\text {Var}(h_1)\). Using block magnetization measurement, in Fig. 7c,d, we plot the variance as a function of \(h_1\) in a system of length \(N=13\), block size \(L=4\) for: (a) \(\alpha \rightarrow \infty\); and (b) \(\alpha =3\). The variance remains below \(10^{-2}\) throughout the considered interval. As expected, by increasing the sample size M the variance decreases.

Effect of the total system size

So far, we have considered the situation in which the total system size is much larger than the subsystem of interest, namely \(L\ll N\). This implies that the subsystem reaches its equilibrium and thus the reduced density matrix does not fluctuate in time which makes the sensing easier. However, current quantum devices are still very limited in terms of the number of qubits. Thus, it is important to see the performance of our protocol for fairly small total system sizes. In Fig. 8a,b, we plot the \(F_{Q}\) for a block of size \(L=4\) and different system sizes N as a function of time \(t=n\tau\) for: (a) \((h_0,h_1)=(0.191,0.161)\); and (b) \((h_0,h_1)=(0.6,0.2)\), respectively. The first choices of \(h_0\) and \(h_1\) are chosen along the peak of the \(F^{ss}_{Q}\) whereas the second one away from the peak. Interestingly, the QFI takes much larger values for the smaller system sizes which make sensing even more efficient. This is because in small systems the L/N ratio is larger and there are fewer degrees of freedom over which the information is dispersed. As a result, the reduced density matrix \(\rho _L\) contains more information about \(h_1\) which reveals itself in larger values of the QFI. At the same time, since the total system size is smaller, the QFI shows more fluctuations for small systems which is a sign of a lack of full equilibration.

Figure 8
figure 8

Dynamics of \(F_Q\) as a function of time \(t=n\tau\) for various total system sizes and the time period \(J\tau =0.2\): (a) \(h_0/J=0.191,h_1/J=0.161\); and (b) \(h_0/J=0.6,h_1/J=0.2\). Here \(L=4\).The inset in (a) show the behavior of \(F_Q\) in small time scale i.e., \(t\approx 40/J\).

Role of integrability

The proposed protocol is very general and can be applied to any integrable time-independent Hamiltonian. In case of a non-integrable Hamiltonian, the periodic magnetic field leads to the heating phenomena76,99. Due to this heating effect, the long-time steady state is an infinite temperature state. Such an infinite temperature state no longer remains sensitive to the magnetic field \(h_1\). Therefore, a non-integrable quantum sensor may not be useful for many-body steady state AC field quantum sensing. On the other hand, it is known that in integrable models under a periodic perturbation, the observable syncronize with the driving and do not heat up85,100.

The dynamics of many-body system under periodic driving at the stroboscopic time can be described by Floquet Hamiltonian \(H^F\). For small \(J\tau\), the Floquet Hamiltonian \(H^F\) can be approximated by average Hamiltonian \(H_{ave} =1/\tau \int _{0}^{\tau } H(t)dt\), i.e., \(H^{F}\approx H_{ave}\). For arbitrary \(\tau\), the Floquet Hamiltonian is given by the Floquet-Magnus expansion. In Ref.99, it is shown that in generic integrable spin models the Floquet-Magnus expansion diverges around \(J\tau \approx 1\), i.e. \(H^F\) becomes infinite, which results in the sudden increase in the energy of the \(H_{ave}\). This means that for \(J\tau > 1\) even integrable systems can reach to infinite temperature state in their subsystems. For general Hamiltonians the sufficient condition for the convergence of Floquet-Magnus expansion is \(J\tau \le 1/||H(t)||\), where ||.|| is the operator norm. This means that in our model for \(J\tau <1\), the long-time steady state is different from the infinite temperature state. It is this feature of integrability that is used in the present sensing protocol.

Note that the above argument does not necessarily mean that non-integrable systems cannot be used for steady state sensing at all. In fact, reaching the infinite temperature state requires large total system size N and exponentially long time scales99,101,102,103,104, in particular, if the non-integrability is weak. This very slow equilibration gives opportunity for quantum sensing before the system reaches the infinite temperature steady state. This is a crucial fact as, in practice, perfectly integrable systems might be difficult to realize.

While, for the simplicity of the numerics, we mainly focus on the Dirac-delta AC field, the procedure is general and was used to infer the amplitude of a square AC field too (see the SM S1). We also discussed the main merit of our protocol over the existing one in the SM S1.

Discussion and conclusion

In this paper, we showed that the Ising model in a transverse field, as an integrable model, can be used for detecting the amplitude of an AC field. To enhance the precision of the estimation a controllable DC transverse field is also applied. By the combination of analytical and numerical simulation, based on Floquet formalism, we compute the quantum Fisher information of a block of spins when their reduced density matrix saturates to the steady state. We have four main results: (i) in contrary to the conventional spin-echo and dynamical decoupling approaches, in which interaction between particles is not helpful, our approach harnesses such interactions for AC field sensing without demanding extra pulses; (ii) in clear distinction from the ground state critical sensing systems, our protocol only demands partial accessibility to the system; (iii) the steady state quantum Fisher information can reveal scaling beyond the standard limit, almost achieving the Heisenberg bound, with respect to the block size; and (iv) analytical analysis using the Floquet formalism, shows that this quantum enhanced scaling corresponds to the closing of the Floquet gap. Our results are general to all integrable systems in which Floquet heating does not occur. This means that the transverse Ising model can be used as a many-body sensor for all AC fields with \(J\tau <1\). However, we show that if the non-integrability is weak and the total system size is not very large, the non-integrable systems can still be used for efficient sensing too. Moreover, we have considered block magnetization as a simple, though sub-optimal, measurement basis that can be used in practice for efficient sensing. The resulting classical Fisher information is fairly close to the QFI, as the ultimate precision bound. Block magnetization measurement together with the Bayesian estimation algorithm have been used for quantum sensing to show the practicality of the protocol in near-term quantum simulators, such as the ion-traps.