Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

# Measurement-induced, spatially-extended entanglement in a hot, strongly-interacting atomic system

## Abstract

Quantum technologies use entanglement to outperform classical technologies, and often employ strong cooling and isolation to protect entangled entities from decoherence by random interactions. Here we show that the opposite strategy—promoting random interactions—can help generate and preserve entanglement. We use optical quantum non-demolition measurement to produce entanglement in a hot alkali vapor, in a regime dominated by random spin-exchange collisions. We use Bayesian statistics and spin-squeezing inequalities to show that at least 1.52(4) × 1013 of the 5.32(12) × 1013 participating atoms enter into singlet-type entangled states, which persist for tens of spin-thermalization times and span thousands of times the nearest-neighbor distance. The results show that high temperatures and strong random interactions need not destroy many-body quantum coherence, that collective measurement can produce very complex entangled states, and that the hot, strongly-interacting media now in use for extreme atomic sensing are well suited for sensing beyond the standard quantum limit.

## Introduction

Entanglement is an essential resource in quantum computation, simulation, and sensing1, and is also believed to underlie important many-body phenomena such as high-Tc superconductivity2. In many quantum technology implementations, strong cooling and precise controls are required to prevent entropy—whether from the environment or from noise in classical parameters—from destroying quantum coherence. Quantum sensing3 is often pursued using low-entropy methods, for example, with cold atoms in optical lattices4. There are, nonetheless, important sensing technologies that operate in a high-entropy environment, and indeed that employ thermalization to boost coherence and thus sensor performance. Notably, vapor-phase spin-exchange-relaxation-free (SERF) techniques5 are used for magnetometry6,7, rotation sensing8, and searches for physics beyond the standard model9, and give unprecedented sensitivity10. In the SERF regime, strong, frequent, and randomly-timed spin-exchange (SE) collisions dominate the spin dynamics, to produce local spin thermalization. In doing so, these same processes also decouple the spin degrees of freedom from the bath of centre-of-mass degrees of freedom, which increases the spin coherence time5. Whether entanglement can be generated, survive, and be observed in such a high entropy environment is a challenging open question11.

Here, we study the nature of spin entanglement in this hot, strongly-interacting atomic medium, using techniques of direct relevance to extreme sensing. We apply optical quantum non-demolition (QND) measurement12,13—a proven technique for both generation and detection of non-classical states in atomic media—to a SERF-regime vapor. We start with a thermalized spin state to guarantee the zero mean of the total spin variable and use a [1, 1, 1] direction magnetic field (see Fig. 1a) to achieve QND measurements on three components of the total spin variable. We track the evolution of the net spin using the Bayesian method of Kalman filtering14, and use spin squeezing inequalities15,16 to quantify entanglement from the observed statistics. We observe that the QND measurement generates a macroscopic singlet state17—a squeezed state containing a macroscopic number of singlet-type entanglement bonds. This shows that QND methods can generate entanglement in hot atomic systems even when the atomic spin dynamics include strong local interactions. The spin squeezing and thus the entanglement persist far longer than the spin-thermalization time of the vapor; any given entanglement bond is passed many times from atom to atom before decohering. We also observe a sensitivity to gradient fields that indicates the typical entanglement bond length is thousands of times the nearest-neighbor distance. This is experimental evidence of long-range singlet-type entanglement bonds. These experimental observations complement recent predictions of coherent inter-species quantum state transfer by spin collision physics18,19.

## Results

### Material system

We work with a vapor of 87Rb contained in a glass cell with buffer gas to slow diffusion, and housed in magnetic shielding and field coils to control the magnetic environment, see Fig. 1a. The density is maintained at nRb = 3.6 × 1014 atoms/cm3, and the magnetic field, applied along the [1, 1, 1] direction, is used to control the Larmor precession frequency ωL/2π. At this density, the spin-exchange collision rate is 325 × 103 s−1. For ωL below about 2π × 5 kHz, the vapor enters the SERF regime, characterized by a large increase in spin coherence time.

### Spin thermalization

The spin dynamics of such dense alkali vapors5 is characterized by a competition of several local spin interactions, diffusion, and interaction with external fields, buffer gases, and wall surfaces. While the full complexity of this scenario has not yet been incorporated in a quantum statistical model, in the SERF regime an important simplification allows us to describe the state dynamics in sufficient detail for entanglement detection, as we now show.

If j(l) and i(l) are the lth atom’s electron and nuclear spins, respectively, the spin dynamics, including sudden collisions, can be described by the time-dependent Hamiltonian

$$H = \, {\hbar} A_{{\mathrm{hf}}}\mathop {\sum}\limits_l {{\mathbf{j}}^{\left( l \right)} \cdot {\mathbf{i}}^{\left( l \right)} + {\hbar} \mathop {\sum}\limits_{ll^{\prime}n} {\theta _n\delta \left( {t - t_n^{\left( {l,l^{\prime}} \right)}} \right){\mathbf{j}}^{\left( l \right)} \cdot {\mathbf{j}}^{\left( {l^{\prime}} \right)}} } \\ + {\hbar} \mathop {\sum}\limits_{lm} {\it{\uppsi }}_m\delta \left( {t - t_m^{\left( l \right)}} \right){\mathbf{j}}^{\left( l \right)} \cdot {\mathbf{d}}_m^{\left( l \right)} + {\hbar} \gamma _{\mathrm{e}}\mathop {\sum}\limits_l {{\mathbf{j}}^{\left( l \right)} \cdot {\mathbf{B}}}$$
(1)

where the terms describe the hyperfine interaction, SE collisions, spin-destruction (SD) collisions, and Zeeman interaction, respectively. Ahf is the hyperfine (HF) splitting and $$t_n^{\left( {l,l^{\prime}} \right)}$$ is the (random) time of the n-th SE collision between atoms l and $$l^{\prime}$$, which causes mutual precession of j(l) and $${\mathbf{j}}^{\left( {l^{\prime}} \right)}$$ by the (random) angle θn. We indicate with RSE the rate at which such collisions move angular momentum between atoms. Similarly, the third term describes rotations about the random direction dm by random angle $${\it{\uppsi }}_m$$, and causes spin depolarization at a rate RSD. γe = 2π × 28 GHz T−1 is the electron spin gyromagnetic ratio. We neglect the much smaller i·B coupling. We note that short-range effects of the magnetic dipole–dipole interaction (MDDI) are already included in RSE and RSD, and that long-range MDDI effects are negligible in an unpolarized ensemble, as considered here.

The SERF regime is defined by the hierarchy Ahf RSEγe|B|, RSD. Our experiment is in this regime, as we have Ahf ≈ 109 s−1, RSE ≈ 105 s−1, γe|B| ≈ 104 s−1 and RSD ≈ 102 s−1. The hierarchy implies the following dynamics: on short times, the combined action of the HF and SE terms rapidly thermalizes the spin state, i.e., generates the maximum entropy consistent with the ensemble total angular momentum F, which is conserved by these interactions (see “Methods”, “Spin thermalization” section). We indicate this F-parametrized max-entropy state by $$\rho _{\mathbf{F}}^{\left( {{\mathrm{th}}} \right)}$$. We note that entanglement can survive the thermalization process; for example, $$\rho _{{\mathbf{F}} = 0}^{\left( {{\mathrm{th}}} \right)}$$ is a singlet and thus necessarily describes entangled atoms. On longer time-scales, F experiences precession about B due to the Zeeman term and diffusive relaxation due to the depolarization term.

### Non-destructive measurement

We perform a continuous non-destructive readout of the spin polarization using Faraday rotation of off-resonance light. On passing through the cell the optical polarization experiences rotation by an angle $${g{\mathbf{\cal{F}}}_z(t) \ll \pi}$$, where z is the propagation axis of the probe, g is a light-atom coupling constant and $${{{\mathbf{\cal{F}}}}}$$ ≡ Fa − Fb, where Fα is the collective spin orientation from atoms in hyperfine state α {1, 2} (see “Methods”, “Observed spin signal” section).

For thermalized spin states 〈$${{{\mathbf{\cal{F}}}}}$$$$\propto \left\langle {\mathbf{F}} \right\rangle$$, so that the observed polarization rotation gives a view into the full spin dynamics. The optical rotation is detected by a balanced polarimeter (BP), which gives a signal proportional to the Stokes parameter

$$S_y^{\left( {{\mathrm{out}}} \right)}\left( t \right) = S_y^{\left( {{\mathrm{in}}} \right)}\left( t \right) + g{\mathbf{\cal{F}}}_z\left( t \right)S_x,$$
(2)

where Sx is the Stokes component along which the input beam is polarized20. $$S_y^{\left( {{\mathrm{in}}} \right)}\left( t \right)$$ is a zero-mean Gaussian process, whose variance is dictated by photon shot-noise and is characterized by a power-spectral analysis of the BP signal21.

### Spin dynamics and spin tracking

The evolution of $${\boldsymbol{{\cal{F}}}}\left( t \right)$$ is described by the Langevin equation (see “Methods”, “Spin dynamics” section)

$$d{\mathbf{\cal{F}}} = \gamma {\mathbf{\cal{F}}} \times {\mathbf{B}}dt - {{\Gamma }}{\mathbf{\cal{F}}}dt + \sqrt {2{{\Gamma }}Q} d{\mathbf{W}}$$
(3)

where γ = γe/q is the SERF-regime gyromagnetic ratio, i.e., that of a bare electron reduced by the nuclear slowing-down factor5, which takes the value q = 6 in the SERF regime22. Γ is the net relaxation rate including diffusion, spin-destruction collisions, and probe-induced decoherence, Q is the equilibrium variance (see below) and dWh, h {x, y, z} are independent temporal Wiener increments.

Based on Eqs. (3) and (2), we employ the Bayesian estimation technique of Kalman filtering (KF)14 to recover $${\mathbf{\cal{F}}}\left( t \right)$$, which is shown as $$g{\mathbf{\cal{F}}}_z\left( t \right)S_x$$ to facilitate comparison against the measured $$S_y^{\left( {{\mathrm{out}}} \right)}\left( t \right)$$ in Fig. 1b). The KF (see “Methods”, “Kalman filter” section) gives both a best estimate and a covariance matrix $${{\Gamma }}_{\boldsymbol{{\cal{F}}}}\left( t \right)$$ for the components of $${\boldsymbol{{\cal{F}}}}\left( t \right)$$, which gives an upper bound on the variances of the post-measurement state. Figure 1c shows that the $${\mathbf{\cal{F}}}_z$$ component of $${{\Gamma }}_{\boldsymbol{{\cal{F}}}}\left( t \right)$$ is suppressed rapidly, to reach a steady state value which is below the SQL. The other components are similarly reduced in variance by the measurement, and the total variance $$\left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2 \equiv {\mathrm{Tr}}\left[ {{{\Gamma }}_{\boldsymbol{{\cal{F}}}}} \right]$$ can be compared against spin squeezing inequalities15,16 to detect and quantify entanglement: Defining the spin-squeezing parameter $$\xi ^2 \equiv \left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2/{\mathrm{SQL}}$$, where SQL ≡ NA13/8 is the standard quantum limit, ξ2 < 1 detects entanglement, indicating a macroscopic singlet state17. The minimum number of entangled atoms15 is NA(1 − ξ2)13/16 (see “Methods”, “Entanglement witness” section).

### Experimental results

The cell temperature was stabilized at 463 K to give an alkali number density of nRb = 3.55(6) × 1014 atoms cm−3, calibrated as described in “Methods”, “Density calibration” section, and thus NA = 5.32(12) × 1013 atoms within the 3 cm × 0.0503(8) cm2 effective volume of the beam. At this density, the SE collision rate is RSE ≈ 325 × 103 s−1. By varying B we can observe the transition to the SERF regime, and the consequent development of squeezing. Figure 2a shows spin-noise spectra (SNS)21, i.e., the power spectra of detected signal from BP, for different values of B, from which we determine the resonance frequency ωL = γB, relaxation rate Γ and the number density. Using these as parameters in the KF (see “Methods”, “Kalman filter” section), we obtain $$\left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2$$ as shown in Fig. 2b, including a transition to squeezed/entangled states as the system enters the SERF regime.

At a Larmor frequency of 1.3 kHz, we observe ξ2 = 0.650(2) or 1.88(1) dB of spin squeezing at optimal probe power 2 mW (see “Methods”, “Kalman filter” section), which implies that at least 1.52(4) × 1013 of the 5.32(12) × 1013 participating atoms have become entangled as a result of the measurement. This greatly exceeds the previous entanglement records: 5 × 105 cold atoms in singlet states using a similar QND strategy17 and a Dicke state involving 2 × 1011 impurities in a solid, made by storing a single photon in a multi-component atomic ensemble23. This is also the largest number of atoms yet involved in a squeezed state; see Bao et al. for a recent record for polarized spin-squeezed states24. We use this power and field condition for the experiments described below, and note that the spin-relaxation time greatly exceeds the spin-thermalization time. In this condition, the entanglement bonds are rapidly distributed amongst the atoms by SE collisions without being lost.

We now study the spatial distribution of the induced entanglement. As concerns the observable $${\boldsymbol{{\cal{F}}}}$$, the relevant dynamical processes, including precession, decoherence, and probing, are permutationally-invariant: Eqs. (3) and (2) are unchanged by any permutation of the atomic states. This suggests that any two atoms should be equally likely to become entangled, and entanglement bonds should be generated for atoms separated by Δz [0, L], where L = 3 is the length of the cell. Indeed, such permutational invariance is central to proposals25,26 that use QND measurement to interrogate and manipulate many-body systems. There are other possibilities, however, such as optical pumping into entangled sub-radiant states27, that could produce localized singlets.

We test for long-range singlet-type entanglement by applying a weak gradient $$B^{\prime} \equiv d\left| B \right|/dz$$ during the cw probing process. A magnetic field gradient, if present, causes differential Larmor precession that converts low-noise singlets into high-noise triplets, providing evidence of long-range entanglement. For example, singlets with separation Δz will convert into triplets and back at angular frequency28 $${\mathrm{\Omega }} = \gamma B^{\prime}{{\Delta }}z$$. The range δΔz of separations then induces a range $$\delta {\mathrm{\Omega }} = \gamma B^{\prime}\delta {{\Delta }}z$$ of conversion frequencies, which describes a relaxation rate. In Fig. 3 we show the KF-estimated $$\left| {{{\Delta }}{\mathbf{\cal{F}}}_z} \right|^2$$ as a function of $$B^{\prime}$$ and of time since the last data point, which clearly shows faster relaxation toward a thermal spin state with increasing $$B^{\prime}$$. The observed additional relaxation for $$B^{\prime}$$ = 57.2 nT mm−1 (relative to $$B^{\prime}$$ = 0) is δΩ = 1.54 × 103 s−1, found by an exponential fit. For Δz on the order of a wavelength, as would describe sub-radiant states, we would expect δΩ ~ 1 s−1 at this gradient, which clearly disagrees with observations. The observed r.m.s. separation δΔz is about one millimeter, which is thousands of times the typical nearest-neighbor distance $$n_{{\mathrm{Rb}}}^{ - 1/3} \approx 0.14$$ μm.

## Discussion

Our observation of complex, long-lived, spatially-extended entanglement in SERF-regime vapors has a number of implications. First, it is a concrete and experimentally tractable example of a system in which entanglement is not only compatible with, but, in fact, stabilized by entropy-generating mechanisms—in this case strong, randomly-timed spin-exchange collisions. It is particularly intriguing that the observed macroscopic singlet state shares several traits with a spin liquid state2, which is conjectured to underlie high-temperature superconductivity, a prime example of quantum coherence surviving in an entropic environment. Second, the results show that optical quantum non-demolition measurement can efficiently produce complex entangled states with long-range entanglement. This confirms a critical assumption of QND-based proposals25,26 for QND-assisted quantum simulation of exotic antiferromagnetic phases. Third, the results show that SERF media are compatible with both spin squeezing and QND techniques, opening the way to quantum enhancement of what is currently the most sensitive approach to low-frequency magnetometry and other extreme sensing tasks.

## Methods

### Density calibration

In the SERF regime, and in the low spin polarization limit, decoherence introduced by SE collisions between alkali atoms is quantified by 5,29,30

$$\pi {{\Delta }}\nu _{{\mathrm{SE}}} = \omega _L^2\frac{{2I\left[ { - 3 + I\left( {1 + 4I\left( {I + 2} \right)} \right)} \right]}}{{3\left[ {3 + 4I\left( {I + 1} \right)} \right]R_{{\mathrm{SE}}}}},$$
(4)

where for 87Rb atomic samples the nuclear spin I = 3/2, and ωL = γe|B|/q. In Eq. (4) the spin-exchange collision rate $$R_{{\mathrm{SE}}} = \sigma _{{\mathrm{SE}}}n_{{\mathrm{Rb}}}\overline V$$ is proportional to the alkali density nRb with proportionality dictated by the SE collision cross-section σSE and the relative thermal velocity between two colliding 87Rb atoms $$\overline V$$. Using the reported value31 of σSE = 1.9 × 10−14 cm2 and $$\overline V = 4.75 \times 10^4\,{\mathrm{cm}}\;{\mathrm{s}}^{ - 1}$$, which is computed for 87Rb atoms at a temperature of 463 K, we then calibrate the alkali density by fitting the measured linewidth Δν as a function of ωL. The model uses Δν = Δν0 + ΔνSE, where ΔνSE is given by Eq. (4), and Δν0 describes density-independent broadening due to power broadening and transit effects. nRb and Δν0 are free parameters found by fitting, with results shown in Fig. 4.

### Observed spin signal

For a collection of atoms, we define the collective total atomic spin $${\mathbf{F}} \equiv \mathop {\sum}\nolimits_l {{\mathbf{f}}^{\left( l \right)}}$$, where f(l) is the total spin of the lth atom. We identify the contributions of the two hyperfine ground states Fa = 1 and Fb = 2, defined as $${\mathbf{F}}_\alpha \equiv \mathop {\sum}\nolimits_l {{\mathbf{f}}_\alpha ^{\left( l \right)}}$$, where $${\mathbf{f}}_\alpha ^{\left( l \right)}$$ describes the contribution of atoms in state Fα, such that $${\mathbf{f}}^{\left( l \right)} = {\mathbf{f}}_a^{\left( l \right)} + {\mathbf{f}}_b^{\left( l \right)}$$.

The Faraday rotation signal arises from an off-resonance coupling of the probe light to the collective atomic spin. To lowest order in F, as appropriate to the regime of the experiment, the polarization signal Sy is related to the collective spin variables Fa,z, Fb,z through the input-output relation20,32,33,34

$$S_y^{\left( {{\mathrm{out}}} \right)}\left( t \right) \approx S_y^{\left( {{\mathrm{in}}} \right)}\left( t \right) + \left( {g_aF_{a,z} - g_bF_{b,z}} \right)S_x^{\left( {{\mathrm{in}}} \right)}\left( t \right),$$
(5)

where $$S_\alpha \equiv ( {E_ + ^{( -)},E_ - ^{( - )}} )\sigma _\alpha ( {E_ + ^{( + )},E_ - ^{( + )}} )^T/2$$ are Stokes operators, σα, α {x, y, z} are the Pauli matrices and $$E_\beta ^{\left( \pm \right)}$$ is the positive-frequency (negative-frequency) part of the quantized electromagnetic field with polarization β = ± for sigma-plus (sigma-minus) polarized light. The factor (gaFa,z − gbFb,z) ≡ ΘFR plays the role of a Faraday rotation angle, which in this small-angle regime can be seen to cause a displacement of Sy(t) from its input value. It should be noted that ΘFR is operator-valued, enabling entanglement of the spin and optical polarizations, and that the hyperfine ground states Fa, Fb contribute differentially to it.

The coupling constants are14,33,35

$$g_\alpha = \frac{1}{{2I + 1}}\frac{{cr_{\mathrm{e}}f_{{\mathrm{osc}}}}}{{A_{{\mathrm{eff}}}}}\frac{{\nu - \nu _\alpha }}{{\left( {\nu - \nu _\alpha } \right)^2 + \left( {\Upsilon /2} \right)^2}},$$
(6)

where re = 2.82 × 10−13 cm is the classical electron radius, fosc = 0.34 is the oscillator strength of the D1 transition in Rb, c is the speed of light, and ν − να is the optical detuning of the probe-light. $$\Upsilon = 2.4$$ GHz is the pressure-broadened full-width at half-maximum (FWHM) linewidth of the D1 optical transition for our experimental conditions of 100 Torr of N2 buffer gas. For a far-detuned probe beam, such that |ν − (νa + νb)/2|  |νa − νb| (as in this experiment) one can approximate g ≡ ga ≈ gb, such that

$${\mathrm{\Theta }}_{{\mathrm{FR}}} \approx g\left( {{\mathbf{F}}_a - {\mathbf{F}}_b} \right)_z \equiv g{\mathbf{\cal{F}}}_z.$$
(7)

### Spin thermalization

In a local region containing a mean number of atoms NA, the SE and HF mechanisms will rapidly produce a thermal state ρ. We note that this process conserves F, and thus also conserves the statistical distribution of F, including possible correlations with other regions. ρ is then the maximum-entropy state consistent with a given distribution of F. Partitioning arguments then show that, for weakly polarized states such as those used in this experiment, the mean hyperfine populations are $$\left\langle {N_a} \right\rangle /N_{\mathrm{A}} = 3/8$$ and $$\left\langle {N_b} \right\rangle /N_{\mathrm{A}} = 5/8$$, and the polarisations are $$\left\langle {{\mathbf{F}}_a} \right\rangle = \left\langle {\mathbf{F}} \right\rangle /6$$, $$\left\langle {\mathbf{F}} \right\rangle _b = \left\langle {\mathbf{F}} \right\rangle 5/6$$, from which the FR signal is $$\left\langle {{\mathrm{\Theta }}_{{\mathrm{FR}}}} \right\rangle = g\left\langle {{\mathbf{\cal{F}}}_z} \right\rangle = - g\left\langle F \right\rangle _z2/3$$. The same relations must hold for spin observables that sum F over larger regions, including the region of the beam, which determines which atoms contribute to the observed signal.

### Entanglement witness

We can construct a witness for singlet-type entanglement16 as follows: we define the total variance

$$\left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2 \equiv {\mathrm{var}}\left( {{\mathbf{\cal{F}}}_x} \right) + {\mathrm{var}}\big( {{\mathbf{\cal{F}}}_y} \big) + {\mathrm{var}}\left( {{\mathbf{\cal{F}}}_z} \right).$$
(8)

Separable states of NA atoms will obey a limit $$\left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2 \ge N_{\mathrm{A}}{\cal{C}}$$, where $${\cal{C}}$$ is a constant, meaning that $$\left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2 < N_{\mathrm{A}}{\cal{C}}$$ witnesses entanglement. To find $${\cal{C}}$$, we note that a product state of Na atoms in state Fa and Nb atoms in state Fb has $$\left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2 \ge \mathop {\sum}\nolimits_\alpha {N_\alpha F_\alpha }$$. Separable states are mixtures of product states. For such states, due to the concavity of the variance, $$\left| {{{\Delta }}{\mathbf{\cal{F}}}} \right|^2 \ge \mathop {\sum}\nolimits_\alpha {\left\langle {N_\alpha } \right\rangle F_\alpha }$$ holds16. In light of the 3:5 ratio resulting from spin thermalization, this gives

$$\left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2 \ge \frac{3}{8}N_{\mathrm{A}} + 2\frac{5}{8}N_{\mathrm{A}} = \frac{{13}}{8}N_{\mathrm{A}},$$
(9)

or $${\cal{C}} = 13/8$$. Therefore, the standard quantum limit (SQL) is NA13/8. We define the degree of squeezing $$\xi ^2 \equiv \left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2/\left( {\mathop {\sum}\nolimits_\alpha {\left\langle {N_\alpha } \right\rangle F_\alpha } } \right)$$. Meanwhile the “thermal spin state (TSS),” i.e. the fully-mixed state, has $$\left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2 = N_{\mathrm{A}}9/2$$.

Our condition provides also a quantitative measure of the number of entangled atoms. We consider a pure entangled quantum state of the form

$$\big| \kappa \big\rangle = \big| {{\it{\uppsi }}^{\left( 1 \right)}} \big\rangle \otimes \big| {{\it{\uppsi }}^{\left( 1 \right)}} \big\rangle \otimes \big| {{\it{\uppsi }}^{\left( 2 \right)}} \big\rangle \otimes \ldots \otimes \big| {{\it{\uppsi }}^{\left( {N_{\mathrm{p}}} \right)}} \big\rangle \otimes \big| {\Phi _{\mathrm{e}}} \big\rangle ,$$
(10)

where $$| {{\it{\uppsi }}^{\left( l \right)}} \rangle$$ are single particle states. Here, Np particles are in a product state, while Ne = NA − Np particles are in an entangled state denoted by $$| {\Phi _{\mathrm{e}}} \rangle$$. For the collective variances of $$| \kappa \rangle$$ we can write that

$$\left( {{{\Delta }}{\mathbf{\cal{F}}}_h} \right)_\kappa ^2 = \mathop {\sum}\limits_{l = 1}^{N_{\mathrm{p}}} {\left( {{{\Delta }}{\mathbf{\cal{F}}}_h} \right)_{{\it{\uppsi }}^{\left( l \right)}}^2 + \left( {{{\Delta }}{\mathbf{\cal{F}}}_h} \right)_{\Phi _{\mathrm{e}}}^2}$$
(11)

for h = x, y, z. Let us try to find a lower bound on (11).

Let us assume that all atoms are in state Fα. Then, we know that $$\left( {{{\Delta }}{\mathbf{\cal{F}}}_h} \right)_{{\it{\uppsi }}^{\left( l \right)}}^2 \ge F_\alpha$$ while $$\left( {{{\Delta }}{\mathbf{\cal{F}}}_h} \right)_{\Phi _{\mathrm{e}}}^2$$ can even be zero, if the entangled state $$| {\Phi _{\mathrm{e}}} \rangle$$ is a perfect singlet. Hence,

$$\left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2 \ge N_{\mathrm{p}}F_\alpha \equiv \left( {N_{\mathrm{A}} - N_{\mathrm{e}}} \right)F_\alpha .$$
(12)

Based on these, the number of entangled atoms in this case is bounded from below as Ne ≥ (1 − ξ2)NA, where $$\xi ^2 = \left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2/{\mathrm{SQL}}$$ and the standard quantum limit SQL in this case is FαNA.

Let us now consider the case when some atoms have F1 others have F2 In particular, let us consider a state of the type (10) such that Nα particles have spin Fα with α = 1, 2 such that F1 ≤ F2. Then, for such a pure state,

$$\left( {{{\Delta }}{\mathbf{\cal{F}}}_x} \right)^2 + \big( {{{\Delta }}{\mathbf{\cal{F}}}_y} \big)^2 + \left( {{{\Delta }}{\mathbf{\cal{F}}}_z} \right)^2 \ge nF_1 + \big( {N_{\mathrm{p}} - n} \big)F_2$$
(13)

holds, where

$$n = {\mathrm{min}}\big( {N_{\mathrm{p}},N_1} \big).$$
(14)

Note that the bound in Eq. (13) is sharp, since it can be saturated by a quantum state of the type (10). In order to minimize the left-hand side of Eq. (13), the particles corresponding to the product part must have as many spins in F1 as possible, since this way we can obtain a small total variance. In particular, if Np ≥ N1 then all atoms in the product part must have an F1 spin, otherwise at least N1 atoms of the Np atoms.

It is instructive to rewrite Eq. (10) with a piece-wise linear bound as

$$\left({{\Delta}}{\mathbf{\cal{F}}}_{x} \right)^{2} + \, \big( {{\Delta }}{\mathbf{\cal{F}}}_{y} \big)^{2} + \left( {{\Delta}}{\mathbf{\cal{F}}}_{z} \right)^{2}\\ \ge \, \left\{ \begin{array}{*{20}{l}} N_{1} F_{1} + \big( N_{\mathrm{p}} - N_{1} \big)F_{2}, \hfill & {\mathrm{if}}\;N_{\mathrm{p}}\, > \, N_{1} \hfill \\ N_{\mathrm{p}}F_{1}, \hfill & {\mathrm{if}}\;N_{\mathrm{p}}\, \le\, N_{1} \hfill \end{array}\right.$$
(15)

The bound in Eq. (15) is plotted in Fig. 5a.

So far, we have been discussing a bound for a pure state of the form (10). The results can be extended to a mixture of such states straightforwardly, since the bound in Eq. (13) is convex in (N1, Np). Then, in our formulas N1, must be replaced by $$\left\langle {N_1} \right\rangle$$. We also have to define the number of entangled particles Ne for the case of a mixed state. A mixed state has Ne entangled particles, if it cannot be constructed as a mixture of pure states, which all have fewer than Ne entangled particles15.

We know that in our experiments F1 = 1, F2 = 2, and $$\left\langle {N_1} \right\rangle = 3/8N_{\mathrm{A}}$$. From these, we obtain the minimum number of entangled atoms as

$$N_{\mathrm{e}} \ge \left\{ {\begin{array}{*{20}{c}} {\frac{13}{16}\left( {1 - \xi ^2} \right)N_A,} & {\xi ^2 \ge \frac{3}{13},} \\ {\left( {1 - \frac{13}{8}\xi ^2} \right)N_A,} & {\xi ^2 < \frac{3}{13}.} \end{array}} \right\}$$
(16)

The bound in Eq. (16) is plotted in Fig. 5b. Here, again $$\xi ^2 = \left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2/{\mathrm{SQL}}$$ and the standard quantum limit SQL in this case is NA × 13/8. For our experiment, the ξ2  ≥ 3/13 case is relevant.

The macroscopic singlet state gives a metrological advantage in estimating gradient fields28,36 and in detecting displacement of the spin state, e.g. by optical pumping14,37.

### Balanced polarimeter signal

The photocurrent I(t) of the balanced polarimeter shown in Fig. 1a is

$$I\left( t \right) = \Re \int_A {dxdy\;S_y^{\left( {{\mathrm{out}}} \right)}\left( {x,y,t} \right)} ,$$
(17)

where the detector’s responsivity is $$\Re = q_{\mathrm{e}}\eta /E_{{\mathrm{ph}}}$$ in terms of the detector quantum efficiency η, charge of the electron qe, and photon energy Eph. To account for its spatial structure in Eq. (17) the integral is carried over the area of the probe. From Eq. (2) and Eq. (17) one obtains the differential photocurrent increment

$$I\left( t \right)dt = \eta g^{\prime}\dot N{\mathbf{\cal{F}}}_z\left( t \right)dt + dw_{{\mathrm{sn}}}\left( t \right),$$
(18)

where $$g' = gq_{\mathrm{e}}$$, the stochastic increment dwsn(t), due to photon shot-noise, is given by $$dw_{{\mathrm{sn}}}\left( t \right) = \sqrt {\eta q_{\mathrm{e}}^2\dot N} dW$$ with $$\dot N$$ being the photon-flux and $$dW\sim {\cal{N}}\left( {0,dt} \right)$$ representing a differential Wiener increment. In our experiments the photocurrent I(t) is sampled at a rate Δ−1 = 200 k Samples/s. To formulate the discrete-time version of Eq. (17) we consider the sampling process as a short-term average of the continuous-time measurement. The photocurrent I(tk) recorded at tk = kΔ, with k being an integer, can then be expressed as

$$I\left( {t_k} \right) = \frac{1}{{{\Delta }}}\int_{t_k - {{\Delta }}}^{t_k} {I\left( {t^{\prime}} \right)dt^{\prime} = \eta g^{\prime}\dot N{\mathbf{\cal{F}}}_z\left( {t_k} \right)} + \xi _D\left( {t_k} \right) ,$$
(19)

where the Langevin noise ξD(tk) obeys $$E\left[ {\xi _D\left( t \right)\xi _D\left( {t^{\prime}} \right)} \right] = \delta \left( {t - t^{\prime}} \right)\eta q_{\mathrm{e}}^2\dot N/{{\Delta }}$$, with Δ−1 quantifying the effective noise-bandwidth of each observation.

### Spin dynamics

We model the dynamics of the average bulk spin of our hot atomic vapor in the SERF regime,5,29,38 and in the presence of a magnetic field B in the [1,1,1] direction, i.e. $${\mathbf{B}} = {\mathrm{B}}\left( {{\hat{\mathrm{x}}} + {\hat{\mathrm{y}}} + {\hat{\mathrm{z}}}} \right)/\sqrt 3$$, as

$$d{\boldsymbol{{\cal{F}}}} = - {\mathrm{A}}{\boldsymbol{{\cal{F}}}}dt,$$
(20)

where the matrix A includes dynamics due to Larmor precession and spin relaxation. It can be expressed as Aij = −γBhεhij + Γij, where h, i, j = x, y, z. The relaxation matrix Γ has eigenvalues $$T_1^{ - 1}$$ and $$T_2^{ - 1} = T_1^{ - 1} + T_{{\mathrm{SE}}}^{ - 1}$$ for spin components parallel and transverse to B, respectively. We note that in the SERF regime the decoherence introduced by SE collisions between alkali atoms is quantified by Eq. (4)5,29.

To account for fluctuations due to spin noise in Eq. (20) we add a stochastic term $$\sqrt {\boldsymbol{\sigma} } d{\mathbf{W}}$$ where dWh, h {x, y, z) are independent Wiener increments. Thus the statistical model for spin dynamics reads

$$d{\boldsymbol{{\cal{F}}}} = - {\mathrm{A}}{\boldsymbol{{\cal{F}}}}dt + \sqrt {\boldsymbol{\sigma} } d{\mathbf{W}}$$
(21)

where the strength of the noise source σ, the matrix A, and the covariance matrix in statistical equilibrium $$Q = {\mathrm{E}}\left[ {{\mathbf{\cal{F}}}\left( t \right){\mathbf{\cal{F}}}\left( t \right)^{\rm{T}}} \right]$$ are related by the fluctuation-dissipation theorem

$${\mathrm{A}}Q + Q{\mathrm{A}}^{\mathrm{T}} = \boldsymbol{\sigma},$$
(22)

from which we obtain σ = 2ΓQ.

### Kalman filter

Kalman filtering is a signal recovery method that provides continuously-updated estimates of all physical variables of a stochastic model, along with uncertainties for those estimates. For linear dynamical systems with gaussian noise inputs, e.g. the spin dynamics of Eq. 3 with the readout of Eq. 5, the Kalman filter estimates are optimal in a least-squares sense. The KF estimates, e.g. those shown in Fig. 1b and c, indicate our evolving uncertainty about the values of the physical quantities, e.g. $${\mathbf{\cal{F}}}_z$$. As such, they provide an upper bound on the intrinsic uncertainty of these same quantities due to, e.g. quantum noise. As information accumulates, the uncertainty bounds on $${\mathbf{\cal{F}}}_x$$, $${\mathbf{\cal{F}}}_y$$ and $${\mathbf{\cal{F}}}_z$$ contract toward zero, implying the production of squeezing and entanglement. This is measurement-induced, rather than dynamically-generated entanglement. The measured signal, i.e. the optical polarization rotation, indicates a joint atomic observable: the sum of the spin projections of many atoms. For an unpolarized state such as we use here the physical back-action—which consists of small random rotations about the $${\mathbf{\cal{F}}}_z$$ axis induced by quantum fluctuations in the ellipticity of the probe—has a negligible effect.

We construct the estimator $$\widetilde {\mathbf{\cal{F}}}_t$$ of the macroscopic spin vector using the continuous-discrete version of Kalman filtering14. This framework relies on a two-step procedure to construct the estimate $${\tilde{\mathbf{x}}}_t$$, and its error covariance matrix $${\mathbf{\Sigma }} = {\mathrm{E}}\left[ {\left( {{\mathbf{x}}_t - {\tilde{\mathbf{x}}}_t} \right)\left( {{\mathbf{x}}_t - {\tilde{\mathbf{x}}}_t} \right)^T} \right]$$, of the state xt of a continuous-time linear-Gaussian process, in our case $${\boldsymbol{{\cal{F}}}}\left( t \right)$$, that is observed at discrete-time intervals Δ = tk  − tk−1. Measurement outcomes are described by the observations vector zk, in our case the scalar Ik, which is assumed to be linearly related to xt via the coupling matrix Hk and to experience independent stochastic Gaussian noise as described previously14.

In the first step of the Kalman filtering framework, also called the prediction step, the values at t = tk, $$\widetilde {\boldsymbol{{\cal{F}}}}_{k|k - 1}$$ and $${\mathbf{\Sigma }}_{k|k - 1}$$, are predicted conditioned on the process dynamics and the previous instance, $$\widetilde {\boldsymbol{{\cal{F}}}}_{k - 1|k - 1}$$ and $${\mathbf{\Sigma }}_{k - 1|k - 1}$$, as follows:

$${\widetilde {\mathbf{\cal{F}}}}_{k|k - 1} = {\Phi}_{k,k - 1}{\widetilde {\mathbf{\cal{F}}}}_{k - 1|k - 1},$$
(23)
$${\mathbf{\Sigma}}_{k|k - 1} = {\Phi}_{k,k - 1}{\mathbf{\Sigma }}_{k - 1|k - 1}{\Phi}_{k,k - 1}^T + Q_k^{{\Delta }},$$
(24)

where

$$\begin{array}{l}\Phi _{k,k - 1} = \frac{1}{3}e^{ - \frac{t}{{T_1}}} + \frac{1}{3}e^{ - \frac{t}{{T_2}}}\\ \\ \left( {\begin{array}{*{20}{c}} {2{\mathrm{cos}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right)} & { - {\mathrm{cos}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right) - \sqrt 3 {\mathrm{sin}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right)} & { - {\mathrm{cos}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right) + \sqrt 3 {\mathrm{sin}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right)} \\ { - {\mathrm{cos}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right) + \sqrt 3 {\mathrm{sin}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right)} & {2{\mathrm{cos}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right)} & { - {\mathrm{cos}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right) - \sqrt 3 {\mathrm{sin}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right)} \\ { - {\mathrm{cos}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right) - \sqrt 3 {\mathrm{sin}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right)} & { - {\mathrm{cos}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right) + \sqrt 3 {\mathrm{sin}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right)} & {2{\mathrm{cos}}\left( {\omega _{\mathrm{L}}{{\Delta }}} \right)} \end{array}} \right)\end{array}$$
(25)

is the state transition matrix describing the evolution of the dynamical model Eq. (20) within the time interval Δ, and

$$Q^{{\Delta }} = \frac{{N_A}}{2}\left( {1 - e^{ - \frac{{2{{\Delta }}}}{{T_1}}}} \right) + \frac{{N_A}}{2}\left( {1 - e^{ - \frac{{2{{\Delta }}}}{{T_2}}}} \right)\left( {\begin{array}{*{20}{c}} 2 & { - 1} & { - 1} \\ { - 1} & 2 & { - 1} \\ { - 1} & { - 1} & 2 \end{array}} \right)$$
(26)

is then the effective covariance matrix of the system noise14.

In the second step, or update step, the information gathered through the fresh photocurrent observation Ik is incorporated into the estimate:

$$\widetilde {\boldsymbol{{\cal{F}}}}_{k|k} = \widetilde {\boldsymbol{{\cal{F}}}}_{k|k - 1} + {\mathbf{K}}_k\left( {I_k - {\mathbf{H}}_k\widetilde {\boldsymbol{{\cal{F}}}}_{k|k - 1}} \right)$$
(27)
$${\mathbf{\Sigma }}_{k|k} = \left( {1 - {\mathbf{K}}_k{\mathbf{H}}_k} \right){\mathbf{\Sigma }}_{k|k - 1},$$
(28)

where $${\mathbf{H}}_k = \left[ {\eta g\dot N,0,0} \right]$$ and the Kalman gain Kk is defined as

$${\mathbf{K}}_k = {\mathbf{\Sigma }}_{k|k - 1}{\mathbf{H}}_k^T\left( {{\mathbf{R}}^{{\Delta }} + {\mathbf{H}}_k{\mathbf{\Sigma }}_{k|k - 1}{\mathbf{H}}_k^T} \right)^{ - 1}$$
(29)

with sensor covariance RΔ = R/Δ dictated by the power-spectral-density, R, of the photocurrent noise, i.e. due to photon shot-noise, and the sampling period, Δ. As dicussed in previous work14 the KF is initialised according to a distribution that represents our prior knowledge about the system at time t = t0 and fixes $$\widetilde {\boldsymbol{{\cal{F}}}}_{0|0}\sim {\cal{N}}\left( {{\boldsymbol{\mu }}_0,{\mathbf{\Sigma }}_0} \right)$$, where μ0, and Σ0 are the mean value and total variance of the observed data. After initialization KF estimates for the covariance matrix Σk|k undergo a transient and once this transient has decayed they converge to a steady state value Σss.

In Fig. 6 we observe this behavior for the total variance $$\left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2\, \equiv\, {\mathrm{Tr}}\left( {{{\Gamma }}_{\boldsymbol{{\cal{F}}}}} \right)$$ as a function of time t = tk, where $${{\Gamma }}_{\boldsymbol{{\cal{F}}}} = {\mathbf{\Sigma }}_{k|k}$$. After about 0.8 ms, the total variance reaches steady state value which is used to compare with SQL and indicates squeezing degree. Figure 7 shows squeezing degree at different probe power, and presents the optimal probe power we observed is 2 mW.

### Validation

To validate the sensor model we employ three validation techniques sensitive to both the statistics of the optical readout and spin noise. First, we analyse the statistics of the sensor output innovation, i.e., the difference between observations Ik (data) and Kalman estimates ($$\tilde y_k = I_k - {\mathbf{H}}_k\widetilde {\boldsymbol{{\cal{F}}}}_{k|k - 1}$$). In Fig. 8, we show the $$\tilde y_k$$ histogram with the sensor output estimation error, which is described by zero-mean Gaussian process with variance equal to $${\mathbf{R}}^{{\Delta }} + {\mathbf{H}}_k{\mathbf{\Sigma }}_{k|k - 1}{\mathbf{H}}_k^T$$. We find 94% of $$\tilde y_k$$ data lie within a two-sided 95% confidence region of the expected Gaussian distribution, thus indicating a very close agreement of the model and observed statistics. We note that while being a standard technique in the validation of Kalman filtering39, this technique for our experimental conditions is more sensitive to photon shot noise than to spin noise. Therefore, to further validate our estimates we also include two other validation techniques, designed to be sensitive to the atomic statistics on a range of time-scales.

Particularly, we perform Monte Carlo simulations based on the model described by Eqs. (2), (3) and (17) and fed with the operating conditions of our experiments and compare the power spectral density (PSD) of the simulated sensor output (Simulation) to the observed PSD of the measurements (Data), as shown in Fig. 9a. The observed agreement between Data and Simulation suggests the validity of the statistics of the spin dynamics model.

Finally, we employ the Kalman filter to identify the evolution of the atomic state variables based on the Simulation. We can then compare the distribution of Kalman spin-estimates from the Data versus that from Simulation. The results are shown in Fig. 9b and c, respectively. The similarity in the statistics of these two spin estimates validates the spin dynamics model. Together with the above validations, it provides a full validation of both the optical and spin parts of the model.

A weak gradient magnetic field is applied along the probe (z) direction by coils implemented inside the magnetic shields. In Fig. 10 we plot the three components of $$\left| {{{\Delta }}{\boldsymbol{{\cal{F}}}}} \right|^2$$: $$\left| {{{\Delta }}{\mathbf{\cal{F}}}_z} \right|^2 \equiv {{\Gamma }}_{\boldsymbol{{\cal{F}}}}\left( {1,1} \right)$$, $$\left| {{{\Delta }}{\mathbf{\cal{F}}}_x} \right|^2 \equiv {{\Gamma }}_{\boldsymbol{{\cal{F}}}}\left( {2,2} \right)$$, and $$\left| {{{\Delta }}{\mathbf{\cal{F}}}_y} \right|^2 \equiv {{\Gamma }}_{\boldsymbol{{\cal{F}}}}\left( {3,3} \right)$$, as a function of gradient field. Here $${{\Gamma }}_{\boldsymbol{{\cal{F}}}}\left( {i,i} \right) = {\mathbf{\Sigma }}_{ss}\left( {i,i} \right)$$. We observe that the variance of each component increases towards the TSS noise level with gradient field. We note that due to the bias field along the [1,1,1] direction, the current (t = tk) sensor reading indicates $${\mathbf{\cal{F}}}_z$$ at that time, while $${\mathbf{\cal{F}}}_x$$ and $${\mathbf{\cal{F}}}_y$$ describe components that were measured 1/3 and 2/3 Larmor cycles earlier, respectively. The combined variance is used to compute $$\left| {{{\Delta }}{\mathbf{\cal{F}}}_z} \right|^2$$, as in Fig. 3. We note that the Stern–Gerlach (SG) effect, in which a gradient causes wave-functions components to separate in accordance with their magnetic quantum numbers, also contributes to the loss of coherence. The SG contribution is negligible, however, due to the weak gradients used here and the rapid randomization of momentum caused by the buffer gas.

## Data availability

The data that support the findings of this study are available from the corresponding author upon reasonable request. Open-access datasets from this work available at https://doi.org/10.5281/zenodo.3694692.

## References

1. Giovannetti, V., Lloyd, S. & Maccone, L. Quantum-enhanced measurements: beating the standard quantum limit. Science 306, 1330–1336 (2004).

2. Anderson, P. W. The resonating valence bond state in La2CuO4 and superconductivity. Science 235, 1196–1198 (1987).

3. Pezzè, L., Smerzi, A., Oberthaler, M. K., Schmied, R. & Treutlein, P. Quantum metrology with nonclassical states of atomic ensembles. Rev. Mod. Phys. 90, 035005 (2018).

4. Hosten, O., Engelsen, N. J., Krishnakumar, R. & Kasevich, M. A. Measurement noise 100 times lower than the quantum-projection limit using entangled atoms. Nature 529, 505–508 (2016).

5. Savukov, I. M. & Romalis, M. V. Effects of spin-exchange collisions in a high-density alkali-metal vapor in low magnetic fields. Phys. Rev. A 71, 023405 (2005).

6. Dang, H. B., Maloof, A. C. & Romalis, M. V. Ultrahigh sensitivity magnetic field and magnetization measurements with an atomic magnetometer. Applied Physics Letters 97, 151110 (2010).

7. Griffith, W. C., Knappe, S. & Kitching, J. Femtotesla atomic magnetometry in a microfabricated vapor cell. Optics Express 18, 27167–27172 (2010).

8. Kornack, T. W., Ghosh, R. K. & Romalis, M. V. Nuclear spin gyroscope based on an atomic comagnetometer. Phys. Rev. Lett. 95, 230801 (2005).

9. Lee, J., Almasi, A. & Romalis, M. Improved limits on spin-mass interactions. Phys. Rev. Lett. 120, 161801 (2018).

10. Kominis, I., Kornack, T., Allred, J. & Romalis, M. A subfemtotesla multichannel atomic magnetometer. Nature 422, 596–599 (2003).

11. Kominis, I. K. Sub-shot-noise magnetometry with a correlated spin-relaxation dominated alkali-metal vapor. Phys. Rev. Lett. 100, 073002– (2008).

12. Grangier, P., Levenson, J. A. & Poizat, J.-P. Quantum non-demolition measurements in optics. Nature 396, 537–542 (1998).

13. Sewell, R. J., Napolitano, M., Behbood, N., Colangelo, G. & Mitchell, M. W. Certified quantum non-demolition measurement of a macroscopic material system. Nat Photon 7, 517–520 (2013).

14. Jiménez-Martínez, R. et al. Signal tracking beyond the time resolution of an atomic sensor by kalman filtering. Phys Rev Lett 120, 040503 (2018).

15. Tóth, G. & Mitchell, M. W. Generation of macroscopic singlet states in atomic ensembles. New Journal of Physics 12, 053007 (2010).

16. Vitagliano, G., Hyllus, P., Egusquiza, I. L. & Tóth, G. Spin squeezing inequalities for arbitrary spin. Phys. Rev. Lett. 107, 240502 (2011).

17. Behbood, N. et al. Generation of macroscopic singlet states in a cold atomic ensemble. Phys. Rev. Lett. 113, 093601 (2014).

18. Katz, O., Shaham, R. & Firstenberg, O. Quantum interface for noble-gas spins. Preprint at http://arxiv.org/1905.12532 (2019).

19. Dellis, A. T., Loulakis, M. & Kominis, I. K. Spin-noise correlations and spin-noise exchange driven by low-field spin-exchange collisions. Phys. Rev. A 90, 032705 (2014).

20. Colangelo, G. et al. Quantum atom–light interfaces in the gaussian description for spin-1 systems. New J. Phys 15, 103007 (2013).

21. Lucivero, V. G., Jiménez-Martínez, R., Kong, J. & Mitchell, M. W. Squeezed-light spin noise spectroscopy. Phys. Rev. A 93, 053802 (2016).

22. Seltzer, S. J. Developments in Alkali-Metal Atomic Magnetometry,. PhD thesis, (Princeton University, 2008).

23. Zarkeshian, P. et al. Entanglement between more than two hundred macroscopic atomic ensembles in a solid. Nat. Commun. 8, 906 (2017).

24. Bao, H. et al. Spin squeezing of 1011 atoms by prediction and retrodiction measurements. https://doi.org/10.1038/s41586-020-2243-7 (2018).

25. Eckert, K., Zawitkowski, L., Sanpera, A., Lewenstein, M. & Polzik, E. S. Quantum polarization spectroscopy of ultracold spinor gases. Phys. Rev. Lett. 98, 100404 (2007).

26. Hauke, P., Sewell, R. J., Mitchell, M. W. & Lewenstein, M. Quantum control of spin correlations in ultracold lattice gases. Phys. Rev. A 87, 021601 (2013).

27. Guerin, W., Araújo, M. O. & Kaiser, R. Subradiance in a large cloud of cold atoms. Phys. Rev. Lett. 116, 083601 (2016).

28. Urizar-Lanz, I., Hyllus, P., Egusquiza, I. L., Mitchell, M. W. & Tóth, G. Macroscopic singlet states for gradient magnetometry. Phys. Rev. A 88, 013626 (2013).

29. Allred, J. C., Lyman, R. N., Kornack, T. W. & Romalis, M. V. High-sensitivity atomic magnetometer unaffected by spin-exchange relaxation. Phys. Rev. Lett. 89, 130801 (2002).

30. Happer, W. & Tang, H. Spin-exchange shift and narrowing of magnetic resonance lines in optically pumped alkali vapors. Phys. Rev. Lett. 31, 273–276 (1973).

31. Happer, W., Jau, Y. Y. & Walker, T. Optically Pumped Atoms. (Wiley, 2010).

32. Madsen, L. B. & Mølmer, K. Spin squeezing and precision probing with light and samples of atoms in the gaussian description. Phys. Rev. A 70, 052324 (2004).

33. Geremia, J. M., Stockton, J. K. & Mabuchi, H. Tensor polarizability and dispersive quantum measurement of multilevel atoms. Phys. Rev. A 73, 042112 (2006).

34. Koschorreck, M. & Mitchell, M. W. Unified description of inhomogeneities, dissipation and transport in quantum light-atom interfaces. J. Phys. B: At. Mol. Opt. Phys. 42, 195502 (2009). (9pp).

35. Happer, W. Optical pumping. Rev. Mod. Phys. 44, 169–249 (1972).

36. Apellaniz, I., Urizar-Lanz, In., Zimborás, Z., Hyllus, P. & Tóth, G. Precision bounds for gradient magnetometry with atomic ensembles. Phys. Rev. A 97, 053603 (2018).

37. Behbood, N. et al. Feedback cooling of an atomic spin ensemble. Phys. Rev. Lett. 111, 103601 (2013).

38. Ledbetter, M. P., Savukov, I. M., Acosta, V. M., Budker, D. & Romalis, M. V. Spin-exchange-relaxation-free magnetometry with cs vapor. Phys. Rev. A 77, 033408 (2008).

39. Bar-Shalom, Y., Li, X. & Kirubarajan, T. Estimation with Applications to Tracking and Navigation: Theory Algorithms and Software (Wiley, 2004).

## Acknowledgements

We thank Jan Kolodynski for helpful discussions. This project has received funding from the European Union’s Horizon2020 research and innovation programme under the Marie Skłodowska-Curie grant agreements QUTEMAG (no. 654339). The work was also supported by ICFOnest + Marie Skłodowska-Curie Cofund (FP7-PEOPLE-2013-COFUND), the National Natural Science Foundation of China (NSFC) (grant no. 11935012), and ITN ZULF-NMR (766402); the European Research Council (ERC) projects AQUMET (280169), ERIDIAN (713682); European Union projects QUIC (Grant Agreement no. 641122) and FET Innovation Launchpad UVALITH (800901); Quantum Technology Flagship projects MACQSIMAL (820393) and QRANGE (820405); 17FUN03-USOQS, which has received funding from the EMPIR programme co-financed by the Participating States and from the European Union’s Horizon 2020 research and innovation programme; the Spanish MINECO projects MAQRO (Ref. FIS2015-68039-P), XPLICA (FIS2014-62181-EXP), OCARINA (Grant Ref. PGC2018-097056-B-I00) and Q-CLOCKS (PCI2018-092973), MCPA (FIS2015-67161-P), the Severo Ochoa programme (SEV-2015-0522); Agència de Gestió d’Ajuts Universitaris i de Recerca (AGAUR) project (2017-SGR-1354); Fundació Privada Cellex and Generalitat de Catalunya (CERCA program, QuantumCAT), the EU COST Action CA15220 and QuantERA CEBBEC, the Basque Government (Project No. IT986-16), and the National Research, Development and Innovation Office NKFIH (Contract No. K124351, KH129601). We thank the Humboldt Foundation for a Bessel Research Award.

## Author information

Authors

### Contributions

J.K. and M.W.M. designed the experiment, analyzed the data and wrote the paper. J.K., C.T., and V.G.L. performed the experiment. J.K., R.J.-M., and M.W.M built the Kalman filter model. G.T. and M.W.M. built the entanglement witness. M.W.M. supervised the project.

### Corresponding authors

Correspondence to Jia Kong or Morgan W. Mitchell.

## Ethics declarations

### Competing interests

The authors declare no competing interests.

Peer review information Nature Communications thanks Denis Sukachev, Iannis Kominis and the other, anonymous, reviewer for their contribution to the peer review of this work. Peer reviewer reports are available.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Kong, J., Jiménez-Martínez, R., Troullinou, C. et al. Measurement-induced, spatially-extended entanglement in a hot, strongly-interacting atomic system. Nat Commun 11, 2415 (2020). https://doi.org/10.1038/s41467-020-15899-1

• Accepted:

• Published:

• DOI: https://doi.org/10.1038/s41467-020-15899-1

• ### Strong coupling of alkali-metal spins to noble-gas spins with an hour-long coherence time

• R. Shaham
• O. Katz
• O. Firstenberg

Nature Physics (2022)

• ### Bodies and minds, heaps and syllables

• Erik Goodwyn

Synthese (2021)