Precision bounds for gradient magnetometry with atomic ensembles
We study gradient magnetometry with an ensemble of atoms with arbitrary spin. We calculate precision bounds for estimating the gradient of the magnetic field based on the quantum Fisher information. For quantum states that are invariant under homogeneous magnetic fields, we need to measure a single observable to estimate the gradient. On the other hand, for states that are sensitive to homogeneous fields, a simultaneous measurement is needed, as the homogeneous field must also be estimated. We prove that for the cases studied in this paper, such a measurement is feasible. We present a method to calculate precision bounds for gradient estimation with a chain of atoms or with two spatially separated atomic ensembles. We also consider a single atomic ensemble with an arbitrary density profile, where the atoms cannot be addressed individually, and which is a very relevant case for experiments. Our model can take into account even correlations between particle positions. While in most of the discussion we consider an ensemble of localized particles that are classical with respect to their spatial degree of freedom, we also discuss the case of gradient metrology with a single Bose-Einstein condensate.
Metrology plays an important role in many areas of physics and engineering . With the development of experimental techniques, it is now possible to realize metrological tasks in physical systems that cannot be described well by classical physics and instead quantum mechanics must be used for their modeling. Quantum metrology [2; 3; 4; 5] is the novel field that is concerned with metrology using such quantum mechanical systems.
One of the basic tasks of quantum metrology is magnetometry with an ensemble of spin- particles. Magnetometry with a completely polarized state works as follows. The total spin of the ensemble is rotated by a homogeneous magnetic field perpendicular to it. We would like to estimate the rotation angle or phase based on some measurement; this phase parameter can then be used to obtain the field strength. To determine the rotation angle, one needs, for instance, to measure a spin component perpendicular to the mean spin.
Up to now, it looks as if the total spin behaves like a clock arm and its position tells us the value of exactly. At this point one has to remember that we have an ensemble of particles governed by quantum mechanics, and the uncertainty of the spin component perpendicular to the mean spin can never be zero. Hence, simple calculation shows that the scaling of the precision of the phase estimation is , which is called shot-noise scaling [2; 3; 4; 5]. However, spin squeezing [6; 7; 8; 9; 10] can decrease the uncertainty of one of the components perpendicular to the mean spin and this can be used to increase the precision of the measurements . While it is possible to surpass the shot-noise limit, for the case of a linear Hamiltonian [2; 3; 4; 5], no quantum state can have a better scaling in the precision than , called Heisenberg scaling.
In recent years, quantum metrology has been applied in many scenarios, from atomic clocks [11; 12; 13] and precision magnetometry [14; 15; 16; 17; 18; 19; 20] to gravitational wave detectors [21; 22; 23]. So far, most of the attention has been paid to the problem of estimating a single parameter. The case of multiparameter estimation for quantum systems is much less studied, possibly, since it can be more complicated due to the noncommutative nature of the problem [24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; 37; 38].
In this paper, we compute precision bounds for the estimation of the magnetic field gradient (see Fig. 1). In general, in order to achieve these bounds, an estimate of the constant (homogeneous) part of the field is required. Hence, we have to use the formalism of multiparameter estimation. Magnetometry of this type can be realized with differential interferometry with two particle ensembles, which has raised a lot of attention in quantum metrology [39; 15; 40; 41; 42; 43; 44]. Another possibility is considering spin chains, which can be relevant in trapped cold ions or optical lattices of cold atoms, where we have individual access to the particles [45; 46; 47].
Finally, gradient magnetometry can be carried out using a single atomic cloud, which is very relevant from the point of view of cold gas experiments. One can consider both atomic clouds of localized particles, as well as Bose-Einstein condensates. While most works in magnetometry with a single ensemble focus only on the determination of the strength and direction of the magnetic field, certain measurement schemes for the gradient have already been proposed and tested experimentally. Some schemes use an imaging of the ensemble with a high spatial resolution. They do not count as single-ensemble methods in the sense we use this expression in our paper since in this case not only collective observables are measured [19; 20; 18]. There is a method based on collective measurements of the spin length of a fully polarized ensemble given in Ref. . There is also a scheme based on many-body singlet states described in Ref. .
We use the quantum Fisher information (QFI) and the Cramér-Rao (CR) bound in our derivations [4; 49; 50; 51; 52; 53]. Due to this, our calculations are generally valid for any measurement, thus they are relevant to many recent experiments [14; 15; 16; 17; 18; 19; 20; 48]. We note that in the case of the spin singlet, our precision bounds are saturated by the metrological scheme presented in Ref. .
We can also connect our results to entanglement theory [54; 55; 56]. We find that the shot-noise scaling cannot be surpassed with separable states, while the Heisenberg scaling can be reached with entangled states. However, the shot-noise scaling can be surpassed only if the particle positions are correlated, which is the case, for instance, if the particles attract each other.
Next, we present the main characteristics of our setup. For simplicity, as well as following recent experiments (e.g., Ref. ), we consider an ensemble of spin- particles placed in a one-dimensional arrangement. The atoms are then situated along the axis with We assume that we have particles that behave classically with respect to their spatial state. That is, they cannot be in a superposition of being at two different places. On the other hand, they have internal degrees of freedom, their spin, which is quantum. This is a very good description to many of the cold gas experiments.
Based on these considerations, we assume that the state is factorizable into a spatial part and a spin part as
where the internal state is decomposed in its eigenbasis as
For the spatial part defined in the continuous Hilbert space, we assume that it can be modeled by an incoherent mixture of pointlike particles as
where is a vector which collects all the particle positions, is the spatial probability distribution function of the atoms, and denotes Note that the spatial part (3) is diagonal in the position eigenbasis, which simplifies considerably our calculations (see Appendix B for more details). During the evolution of the state, correlations might arise between the internal and the spatial parts and the product form (1) might not be valid to describe the evolution of the system.
First, we consider spin chains and two particle ensembles at different places. The gradient measurement with two ensembles is essentially based on the idea that the gradient is just the difference between two measurements at different locations. With these systems, it is possible to reach the Heisenberg scaling.
We also examine in detail the case of a single atomic en- semble. Since in such systems the atoms cannot be individually addressed, we assume that the quantum state is permutationally invariant (PI). We show that for states insensitive to the homogeneous magnetic field, one can reduce the problem to a one-parameter estimation scenario. Single-ensemble measure- ments have certain advantages because the spatial resolution can be higher and the experimental requirements are smaller since only a single ensemble must be prepared.
For completeness, we mention the case of Bose-Einstein condensates (BEC). The spatial state in this case is pure
where is the spatial state of a single particle. Hence, the spatial state is delocalized and it is not an incoherent mixture of various eigenstates of . While we do not consider such systems in detail, our formalism could be used to model them.
We now outline the model we use to describe the interaction of the particles with the magnetic field. The field at the atoms is given as
where we neglect the terms of order two or higher, and where is the usual Landau notation to describe the asymptotic behavior of a quantity, in this case for small . We consider the magnetic field pointing in the direction, hence, and . For this configuration, due to the Maxwell equations, with no currents or changing electric fields, we have
This implies and for Thus, the spatial derivatives of the field components are not independent of each other. In this paper, however, we consider an elongated trap. In the case of such a quasi-one- dimensional atomic ensemble, only the derivative along the axis of the trap has an influence on the quantum dynamics of the atoms or a double-well experiment.
We determine the precision bounds for the estimation of the magnetic field gradient . We calculate how the precision scales with the number of particles. We compare systemswith an increasing particle number, but of the same size. As discussed later, if we follow a different route, we can obtain results that can incorrectly be interpreted as reaching the Heisenberg limit, or even a super-Heisenberg scaling.
The angular momentum of an individual atom is coupled to the magnetic field, yielding the following interaction term:
where the operator acts on the spatial part of the Hilbert space and is the position operator of a single particle. Moreover, is a single-particle spin operator, acting on the spin part of the Hilbert space. Finally, where is the gyromagnetic factor and corresponds to the Born magneton, and we set for simplicity. We use the “” notation to distinguish the operator from the coordinate Later, we will omit it for simplicity. The Hamiltonian of the entire system is just the sum of all two-particle interactions of the type Eq. (7) and can be written as
Equation (8) generates the time evolution of the atomic ensemble.
One could include also the kinetic energy in the Hamiltonian. Such an extra term causes that the gradient field pushes atoms in state into one direction, while atoms in state into the other direction. In our work, we do not take into account this effect. Moreover, we do not include in the model the initial thermal dynamics of the particles. Both of these effects are negligible in a usual setup, as shown in Appendix A.
We calculate lower bounds on the precision of estimating based on a measurement on the state after it passed through the unitary dynamics , where is the time spent by the system under the influence of the magnetic field. The unitary operator can be rewritten as
where the . The generator describing the effect of the homogeneous field is given as
while the generator describing the effect of the gradient is
We omit and the superscripts (x) and (s) for simplicity, and use them only if it is necessary to avoid confusions.
The operators and commute with each other. However, it is not necessarily true that the operators we have to measure to estimate or can be simultaneously measured. The reason for that is that both operators to be measured act on the same atomic ensemble. If the measurement operators do not commute with each other, then the precision bound obtained from the theory of QFI cannot necessarily be reached. For the particular cases studied in this paper, we prove that a simultaneous measurement to estimate both the homogeneous and the gradient parameter can be carried out (see Appendix E). On the other hand, in schemes in which the gradient is calculated based on measurements on two separate atomic ensembles or different atoms in a chain, the measuring operators can always commute with each other [14; 15; 46].
The paper is organized as follows. In Sec. II, general precision bounds for the estimation of the gradient of the magnetic field are presented. In Sec. III, we compute precision bounds for relevant spatial configurations appearing in cold atom physics such as spin chains and two ensembles spatially separated from each other. In Sec. IV, we consider a single atomic ensemble in a PI state and we calculate the precision bounds for various quantum states, such as the singlet spin state or the totally polarized state. In Sec. V, we consider Bose-Einstein condensates.
Ii Precision bounds for estimating the gradient
In this section, we show how the QFI helps us to obtain the bound on the precision of the gradient estimation. First, we discuss gradient magnetometry using quantum states that are insensitive to homogeneous fields. In this case, we need to estimate only the gradient and do not have to know the homogeneous field. Hence, this case corresponds to a single-parameter estimation problem.
Then, we discuss the case of quantum states sensitive to homogeneous fields. Even in this case, we are interested only in the gradient, and we do not aim at estimating the homogeneous field. In spite of this, gradient estimation with such states is a two-parameter estimation task. We introduce the basics of multi-parameter quantum metrology, and we adapt that formalism to our problem. We also show that the precision bound obtained does not change under spatial translation, which will be used later to simplify our calculations. In Appendix E, we show that even the precision bounds for states sensitive to the homogeneous field, appearing in this paper, are saturable.
where and . If the two operators are the same then, from Eq. (13), the usual form of the QFI is obtained:
We list some useful properties of the QFI:
(i) Based on Eq. (13), is linear in the second and third arguments
This will make it possible to calculate the QFI for collective quantities based on the QFI for single-particle observables.
(ii) The QFI remains invariant if we exchange the second and the third arguments
Equation (16) will help to simplify our calculations.
(iii) The following alternative form,
is also useful since the correlation appears explicitly.
(iv) For pure states, Eq. (13) simplifies to
Using Eq. (18) for we obtain that for pure states the QFI equals four times the variance, i.e.,
(v) The QFI is convex on the space of the density matrices, i.e.,
Hence, when maximizing the QFI, we need to carry out an optimization over pure states only.
In the following, we show the general form of the expressions giving the precision bounds for states insensitive to the homogeneous field, as well as for states sensitive to it. We also show that both bounds are invariant under the spatial translation of the system which makes the computing for particular cases much easier.
ii.1 Precision bound for states insensitive to homogeneous fields: Single-parameter dependence
We will now consider quantum states that are insensitive to the homogeneous field. For such states,
holds. Hence, the unitary time evolution given in Eq. (9) is simplified to
and the evolved state is a function of a single unknown parameter
When estimating a single parameter, the Cramér-Rao bound gives the best achievable precision as 
It is always possible to find a measurement that saturates the precision bound, (22), which is indicated using the notation “”.
Observation 1. For states insensitive to the homogeneous fields, the maximal precision of the estimation of the gradient parameter is given as
where the integral represents the correlation between the particle positions and . Moreover, Eq. (23) is translationally invariant, i.e., it remains the same after an arbitrary displacement of the form of
where is the distance displaced and is the sum of all single-body momentum operators in the direction.
Proof. We have to evaluate the right-hand side of Eq. (22). The state is a tensor product of the spatial and internal parts, and the spatial part is an incoherent mixture of position eigenstates, as in Eqs. (1) and (3). Hence, the eigenstates are , where and are defined in the spatial and internal Hilbert spaces, respectively. Then, the matrix elements of , which is diagonal in the spatial subspace, are obtained as
In the last part of the proof, we show that the precision (23) remains the same for any displacement of the system. We use the Heisenberg picture in which the operators must be transformed instead of the states. After the displacement, the operator describing the effect of the gradient is obtained as
Hence, the unitary evolution operator of the displaced system is obtained as
ii.2 Precision bound for states sensitive to homogeneous fields: Two-parameter dependence
We now show how to obtain the precision bounds for states sensitive to the homogeneous field. The homogeneous field rotates all the spins in the same way, while the field gradient rotates the spins differently depending on the position of the particles. Hence, in order to estimate we have to consider the effect of a second unknown parameter . Note, however, that we are not interested to estimate precisely, we just need it to estimate
In this case, the metrological performance of the quantum state is given by the Cramér-Rao matrix inequality 
where the covariance matrix is defined as . The matrix elements of the quantum Fisherinformation matrix are
Unlike in the case of single-parameter estimation, Eq. (28) can be saturated only if the measurements for estimating the two parameters are compatible with each other [51; 4; 63]. Hence, we use “” instead of “” for the bounds for quantum states sensitive to the homogeneous fields.
Using the well-known formula for the inverse of matrices, Eq. (28) yields
for the precision of .
Observation 2. For states sensitive to the homogeneous field, the expression to compute the precision bound for the gradient parameter takes the following form:
Next, we have that , similarly to Eq. (25), is diagonal in the spatial basis, and its matrix elements in the basis of the state are written as
With this we obtain as
Let us now determine the bound on the precision for estimating the gradient on the translated system. We have to compute first the QFI matrix elements. We use the linearity of the last two arguments of given in Eq. (15), the fact that remains unchanged in the Heisenberg picture. We also use the formula (26) for the shifted operator. The diagonal element of the QFI matrix corresponding to the measurement of the homogeneous field is
hence, it does not change due to the translation. For the diagonal element corresponding to the gradient measurement we obtain
Finally, for the off-diagonal element, we get
After determining all the elements of the QFI matrix, the bound for a displaced system can be obtained as
Iii Spin chain and two separated ensembles for magnetometry
After presenting our tools in Sec. II, we start with simple examples to show how our method works. We calculate precision bounds for gradient metrology for spin chain and for two-particle ensembles separated by a distance.
Before considering the setups mentioned above, we introduce various quantities describing the distribution of the particles based on the probability distribution function appearing in Eq. (3). The mean particle position is
The standard deviation of the particle positions, describing the size of the system, is computed as
Finally, the covariance averaged over all particle pairs is
The covariance is a large positive value if the particles tend to be close to each other, while it is negative if they tend to avoid each other.
After presenting the fundamental quantities above, let us study concrete metrological setups. The first spatial state we consider is given by particles placed equidistantly from each other in a one-dimensional spin chain, as shown in Fig. 2.
Such a system has been studied also in the context of a single parameter estimation in the presence of collective phase noise . The probability density function describing such a system is
where is the distance between the particles in the chain. For this system, the average position of the particle is
whereas the two-point average (42) is
The standard deviation defined in Eq. (41) is obtained as
Next, we will obtain precision bounds for particles placed in a spin chain.
Observation 3. Let us consider a chain of spin- particles placed along the direction separated by a constant distance, and a magnetic field pointing in the direction. Then, for the spin-state totally polarized in the direction,
the precision bound is given by
Here, denotes the standard deviation of the average position of the particles for the chain (ch).
Proof. We use the precisions bound for states sensitive to the homogeneous field given in Eq. (31). We obtain
Note that the bound can be saturated (see Appendix E). Here, for the last equality we used the definitions of the average quantites given in Eqs. (44) and (45) and we also used Eq. (18) giving the QFI for pure states. We can see that the standard deviation given in Eq. (46) coincides with a factor we have in Eq. (49), with which we conclude the proof.
Note that the bound (49) seems to scale with the third power of the particle number , and hence seems to overcome the ultimate Heisenberg limit.
The reason is that the length of the chain increases as we introduce more particles into the system. We should compare the metrological usefulness of systems with different particle numbers, but of the same size.
In our case, we use throughout the paper the standard deviation of the averaged particle positions as a measure of the spatial size of the system, and normalize the results with it. One can miss this important point since when only the homogeneous field is measured such a normalization is not needed.
After the spin chain, we consider estimating the gradient with two ensembles of spin- atoms spatially separated from each other. Such systems have been realized in cold gases (e.g., Ref. ), and can be used for differential interferometry [15; 39; 44]. We will determine the internal state with the maximal QFI.
Let us assume that half of the particles are at one position and the rest at another one, both places at a distance from the origin. The probability density function of the spatial part is
Such a distribution of particles could be realized in a double-well trap, where the width of the wells is negligible compared to the distance between the wells. To distinguish the two wells we use the labels “L” and “R” for the left-hand side and right-hand side wells, respectively. Based on these, we obtain the single-point averages as
The two-point correlation functions are
For the average particle position we obtain while the standard deviation for the spatial state in the double well (dw) is
Next, we calculate the achievable precision of the gradient estimation.
Observation 4. For the case of two ensemble of spin- particles, the state that maximizes the QFI is
The best achievable precision is given as
It is interesting to simplify the QFI for product states states , where and are pure states of particles each. This approach is also discussed in Ref. . Such states can reach the Heisenberg limit, while they are easier to realize experimentally than states in which the particles in the wells are entangled with each other.
Before obtaining the precision for the case above, we present a method to simplify our calculations. The system is at the origin of the coordinate system such that for mean particle position given in Eq. (40),
holds. Thus, the second term in the expression for the bound for states sensitive to the homogeneous field (31) is zero since all are equal considering product states of two equal permutationally invariant states, . Hence, the bounds for states insensitive and sensitive to the homogeneous field, Eqs. (23) and (31), respectively, are the same in this case.
We now compute for the case when the state is sensitive to the homogeneous field, hence, we use the bound on the precision given in Eq. (31). Using the the probability density distribution function given in Eq. (50), and following steps leading to Eq. (57), we obtain
where we used that . Note that our results concerning using product states for magnetometry can be interpreted as follows. In this case, essentially the homogeneous field is estimated in each of the two wells, and then the gradient is computed from the measurement results. The bounds for these type of states are also saturable (see Appendix E).
where and the summation is over all permutations. Such states are the symmetric superposition of product states with an equal number of ’s and ’s. Based on these, in Table 1 we summarized the precision bounds for states of the type for the double-well case.
Iv Magnetometry with a single atomic ensemble
In this section, we discuss magnetometry with a single atomic ensemble. We consider a one-dimensional ensemble of spin- atoms placed in a trap which is elongated in the direction. The setup is depicted in Fig. 3. In the second part of the section, we calculate precision bounds for the gradient estimation with some important multiparticle quantum states, for instance, Dicke states, singlet states, and GHZ states.
iv.1 Precision bound for an atomic ensemble
In an atomic ensemble of many atoms, typically the atoms cannot be individually addressed. We will take this into account by considering states for which both the internal state and the probability distribution function , appearing in Eq. (3), are PI. The permutational invariance of implies that
holds, where the summation is over all possible permutations of the variables . Hence, we do not need to sum over all possible ’s in Eqs. (40) and (41), and neither to sum over all ’s and ’s in Eq. (42). All the terms in each sum are equal to each other due to the permutationally invariance of the probability distribution function (62).
An interesting property of the covariance (42) is that it can only take values bounded by the variance in the following way:
where both the lower and the upper bounds are proportional to the variance See Fig. 4 for examples on how different correlations are obtained in an atomic 1D lattice.
Next, we present precision bounds for PI states.
Observation 5. The maximal precision achievable by a single atomic ensemble insensitive to homogeneous fields is
The precision given in Eq. (64) can be reached by an optimal measurement. Nevertheless, it is worth to note that the precision cannot surpass the shot-noise scaling because cannot be larger than Moreover, cannot be smaller than due to Eq. (63), which makes its contribution negligible for large .
Proof. From the definition of the QFI for states insensitive to the homogeneous field [Eq. (23)] we obtain the bound for a single ensemble as
Then, we have to use the fact that for states insensitive to the homogeneous fields holds, which implies
Based on this, for such states the sum of QFI terms involving two operators can be expressed with the sum of QFI terms involving a single operator as
Observation 6. For states sensitive to homogeneous fields, the precision of estimating the gradient is bounded from above as
which may surpass the shot-noise scaling whenever is a positive constant.
Proof. We start from Eq. (31) and take into account that in this case the bound is saturable (see Appendix E). As explained in Sec. II.2, if we move the system, the precision bounds do not change. We then move our system to the origin of the coordinate system yielding and making the second term appearing in Eq. (31) zero. Thus, we only compute the first term in Eq. (31) and obtain
Then, we add to the last term and subtract it from the first term to make the expression more similar to Eq. (64).
Note that the second term on the right-hand side of Eq. (68) is new in the sense that it did not appear in the bound for states insensitive to homogeneous fields given in Eq. (64). Even if the first term cannot overcome the shot-noise limit, in the second term the covariance is multiplied by the QFI for estimating the homogeneous field and therefore this concrete term, for extremely correlated particle positions, allows to achieve the Heisenberg scaling.
iv.2 Precision limit for various spin states
In this section, we present the precision limits for various classes of important quantum states such as the totally polarized state, the state having the best precision among separable states, the singlet state, the Dicke state (61), or the GHZ state (60). We calculate the precision bounds presented before, (64) and (68), for these systems.
A pure singlet state is a simultaneous eigenstate of the collective and operators, with an eigenvalue zero for both operators. We will now consider PI singlet states. Surprisingly, the precision bound is the same for any such state. PI singlet states are very relevant for experiments, since they have been experimentally created in cold gases [79; 80] while they also appear in condensed matter physics .
Let us now see the most important properties of singlet states of an -particle system. There are several singlets pairwise orthogonal to each other. The number of such singlets, , depends on the particle spin and the number of particles . It is the most natural to write the singlet state in the angular momentum basis. The basis states are which are the eigenstates of with an eigenvalue and of with an eigenvalue The label is used to distinguish different eigenstates corresponding to the same eigenvalue of and . Then, a singlet state can be written as
Let us see some relevant single-particle expectation values for the singlet. Due to the rotational invariance of the singlet , we obtain that
holds. We also know that for the sum of the second moments of the single particle angular momentum components
holds. Hence, the expectation value of the second moment of the single-particle angular momentum component is obtained as
After discussing the main properties of the singlet states, we can now obtain a precision bound for gradient metrology with such states.
Observation 7. For PI spin states living in the singlet subspace, i.e., states composed of vectors that have zero eigenvalues for and and all their possible statistical mixtures, the precision of the magnetic gradient parameter is bounded from above as
Proof. First compute the QFI for the one-particle operator For that we need that when acts on a singlet state, produces a state outside of the singlet subspace. Hence,
due to Eq. (75). It follows that the single-particle QFI for any singlet equals four times the second moment of the angular momentum component
Note that Eq. (77) is true even though is a mixed state. Inserting the expectation value of the second moment of the angular momentum component given in Eq. (73) into Eq. (77), we obtain for any Then, we have all the ingredients to evaluate the maximal precision given in Eq. (64), and with that we prove the Observation.
As mentioned earlier, singlet states are insensitive to homogeneous magnetic fields, hence determining the gradient leads to a single-parameter estimation problem. This implies that there is an optimal operator that saturates the precision bound given by Eq. (74). However, it is usually very hard to find this optimal measurement, although a formal procedure for this exists . In Ref. , a particular setup for determining the magnetic gradient with PI singlet states was suggested by the measurement of the collective operator. For this scenario the precision is given by
In Appendix D, we show that this measurement provides an optimal precision for gradient metrology for all PI singlets.
Totally polarized state
The totally polarized state can easily be prepared experimentally. It has already been used for gradient magnetometry with a single atomic ensemble [18; 19]. For the gradient measurement as for the measurement of the homogeneous field, the polarization must be perpendicular to the field we want to measure.
for all . Based on Eq. (18), for pure states the QFI is just four times the variance. Hence, from Eq. (79b), we obtain and . Then, the bound on the sensitivity can be obtained from the formula for PI states sensitive to homogeneous fields (68) as
We can see clearly that the precision scales as for large .
Let us now see which measurement could be used to estimate the field gradient with a totally polarized state. The homogeneous field rotates all spins by the same angle, while the gradient rotates the spin at different positions by different angles. Due to that, the homogeneous field rotates the collective spin, but does not change its absolute value. On the other hand, the field gradient decreases the absolute value of the spin since it has been prepared to be maximal, which has been used in Ref.  for gradient magnetometry (see Fig. 2). Hence, we can measure the spin length to estimate the field gradient.
Best separable state
We now turn our attention to the precision bound for all separable spin states. It is useful to obtain this value so we have a direct comparison on what the best classically achievable precision is. It turns out that for it is possible to achieve a precision higher than with the fully polarized state (47).
Let us consider general separable states, which are not necessarily PI. We do not know if the optimal separable state is sensitive or insensitive to the homogeneous field. The corresponding precision bounds for the gradient estimation are given in Eqs. (23) and (31), respectively. Since the probability density function (62) is PI, we have
for all As explained in Sec. II.2, by moving the ensemble, the precision bounds do not change. If we move the system to the origin of the coordinate system achieving we can make our calculations simpler since the second term appearing in Eq. (31) is zero. Thus, we only compute the first term in Eq. (31). Hence, the two bounds (23) and (31) are the same in this case and we arrive at
where we already assume that the bound can be saturated (see Appendix E).
We now look for the separable state that maximizes the right-hand side of Eq. (82), which has to be a pure product state due to the convexity of the quantum Fisher information. Hence, we look for the pure product state maximizing Based on Eq. (18), for product states we find that
For all , a state that maximizes Eq. (83) is
for which the single-particle variances are maximal, i.e, While we carried out an optimization over general, non-necessarily PI separable states, the optimal state is PI. Plugging the state (84) into the bound given in Eq. (82) leads to the precision bound for separable states as
where we have used the definition of the variance of the particle positions (41) for a permutational invariant state.
Note that the bound for the best separable state given in Eq. (85) is above the bound obtained for the singlet state (74), whereas the bound for the totally polarized state in Eq. (80) is below. Nevertheless, when the singlet state is used, the homogeneous magnetic field has no effect on the state. In contrast, the state (84) is sensitive to the homogeneous field.
Unpolarized Dicke states and
Next, we compute precision bounds for entangled states. In this section, we consider unpolarized Dicke states, which play an important role in quantum optics and quantum information science. The Dicke state [Eq. (61)], with a maximal and for any is particularly interesting due to its entanglement properties and its metrological usefulness [71; 72]. This state has been created in photonic experiments [73; 74; 75] and in cold atoms [76; 77], while a Dicke state with has been created with cold trapped ions .
The Dicke state