Main

The sensitivity of optical cavities has been used to make nondestructive15, state-sensitive16, and high-dynamic-range17 measurements of atomic gases, whereas magnetic resonance has been used to address the spin states of single atoms in single optical-lattice sites9,18. In this experiment we use light in a high-finesse optical cavity, together with radio-frequency (RF) radiation and an inhomogeneous magnetic field, to perform real-time magnetic resonance imaging (MRI) of atomic spins in an optical lattice. We obtain a spatial resolution of 150 nm, far below the 425 nm spacing of the lattice sites. We obtain a number-counting sensitivity of 10 for up to 1,000 atoms in each site or 2.5 for up to 70 atoms, both well below the level of Poissonian atom-number fluctuations. Furthermore, the MRI is minimally destructive of the atoms’ internal states, allowing the single-site observation of spatially dependent spin dynamics. We use this technique to measure the transport dynamics of an initially localized gas via resonant quantum tunnelling between lattice sites, as the atoms undergo first ballistic and then interaction-inhibited transport. We also demonstrate the ability to address the spins of large numbers of atoms at selected lattice sites, enabling new studies of magnetism, transport, cavity spin optodynamics19, and cavity optomechanics20,21,22.

In contrast to traditional MRI, which measures transverse magnetization at the Larmor precession frequency, here we use the cavity to perform a quantum non-demolition measurement of the static longitudinal magnetization23 by applying a magnetic bias field along the cavity axis (Fig. 1). To resolve the atoms spatially we apply a strong field gradient B′ along the dimension to be imaged. For the data presented here we image along the cavity axis, although any axis can be imaged by applying the appropriate gradient. We note especially that 3D images can be taken by imaging along a suitable number of axes and applying tomographic reconstruction24.

Figure 1: An ensemble of 87Rb atoms is optically trapped within a vertically oriented high-finesse Fabry–Perot cavity.
figure 1

Copper wires (orange, with current direction indicated) embedded within a 100-μm-thick silicon substrate (grey), together with an external bias coil, produce both a strong vertical magnetic field gradient (|B| contours shown) and a vertical bias field near the atoms. Inset: Atoms (red) are trapped at the antinodes of a standing-wave optical lattice (yellow) with 425 nm lattice spacing. Circularly polarized cavity probe light (pink), detuned several gigahertz from the D2 line, acquires a dispersive phase shift that is sensitive to the atom spin projection along the cavity axis.

For a sufficiently large detuning Δca between the cavity resonance frequency and the atomic optical resonance, the absorption of cavity light by the atoms is negligible, and the light–atom interaction may be described by a real-valued index of refraction. This index causes the cavity resonance frequency ωc to be shifted from its empty-cavity value ω0. Because the atoms are circularly birefringent, the resonance frequency of circularly polarized light is shifted by an amount ΔN that depends on the atom density ρ(r) and the density s(r) of the dimensionless atomic spin (see the Supplementary Information):

Here g(r) is the scalar dispersive atom–cavity coupling parameter at position r, taking into account the spatially varying intensity of the cavity mode. The ± corresponds to σ± light polarizations, and C is derived from a sum over probability amplitudes and relative detunings from the atomic excited hyperfine states. For 87Rb atoms with hyperfine spin F=2 and probe light detuned by several gigahertz from the D2 atomic resonance, C1/4.

We invert the local magnetization by means of adiabatic passage using a chirped RF field. We use a linear chirp, with detuning from the magnetic resonance at position z given at time t by δ=ω̇rftμ Bz/, where μ/ is the atomic gyromagnetic ratio. The radially integrated density sk(z) of the dimensionless atomic spin can be extracted from the time derivative of the cavity frequency. For narrow magnetic resonance, where the spins at z flip completely as the RF is swept from just below to just above resonance, the spin density is:

Here is the density-weighted radial average of the cavity coupling at z. We neglect the small radial variation of the magnetic field across the gas. This formula is easily refined to account for the finite frequency width of the magnetic resonance (see the Supplementary Information).

Experiments are conducted using a Fabry–Perot optical cavity integrated onto a microfabricated atom-chip device22. The chip is used for sample preparation, delivering atomic gases of up to 5,000 atoms, spin polarized in the |F,mF〉=|2,2〉 hyperfine state, at temperatures of 1–3 μK into the optical lattice. Chip wires are then used to apply strong magnetic field gradients, allowing us to resolve and address individual lattice sites.

The optical cavity is driven with two different wavelengths of light. Light at a wavelength of 850 nm establishes a far-off-resonant optical lattice potential. A cavity probe beam, detuned 14–17 GHz to the red of the D2 atomic resonance at a wavelength of 780 nm, measures the number of atoms and the spin densities as described above. The atoms are loaded into a few (between 2 and 5) adjacent lattice sites, centred on a site that overlaps with an antinode of the probe field.

To measure the cavity shift we detect the photon flux of σ+ -polarized probe light transmitted through the cavity. A feedback loop tunes the probe frequency ωp, maintaining the flux at a constant value equal to a fixed fraction of the incident photon flux. The probe frequency is thus locked at a fixed detuning Δpc from cavity resonance, the frequency of which is determined by ωc=ωp−Δpc. Variations in the cavity resonance frequency faster than the 20 kHz feedback bandwidth can be assessed by using the residual deviation of the instantaneous photon flux γ from .

Figure 2 shows a typical single-shot image of a spin-polarized atomic gas taken with a linear RF chirp. As the RF is swept through the resonance of each lattice site, atoms are flipped from the |2,2〉 to the |2,−2〉 state, causing a jump in the cavity resonance frequency. The atom density is obtained by calculating sk(z)/2 using equation (1). We account for the thermal radial and axial distribution of atoms within each lattice site in determining . We also account for the difference between the trap and probe light wavelengths, although this latter correction is minor for lattice sites near the common antinode of the two cavity modes. Images may also be averaged (see Fig. 4), although shot-to-shot variations in the bias field cause broadening of the averaged images. The flatness of the slope of the cavity shift between spin flips verifies our ability to address single lattice sites (see the Supplementary Information).

Figure 2: Single-shot MRI of atoms in an optical lattice.
figure 2

For this image, Δca/2π=−14 GHz with 1×107 photons s−1 exiting the cavity, and 1,800 atoms initially in the |F,mF〉=|2,2〉 state. a, The shift ΔNωcω0 of the cavity from its empty resonance frequency (red line, left axis), showing steps as the RF (blue line, right axis) is chirped from high to low. As the RF is swept back, the detuning recovers its initial value with 85% each-way fidelity. b, Atomic density as calculated from the time derivative of ΔN, both uncorrected (red solid line) and corrected (yellow dotted line) for spatially varying sensitivity (probe and trap antinodes are overlapped at site 7). The peak widths (200 nm FWHM) are given by the convolution of the imaging resolution (150 nm), the atom-distribution width (100 nm), and a low-pass analysis filter (90 nm). The image has an offset of 80 atom μm−1 due to deterministic atom loss (dotted line). c, The imaging resolution is proportional to the ratio of the 14 kHz magnetic resonance width to the 114 kHz μm−1 gradient of the magnetic resonance frequency. The magnetic resonance width is measured by sweeping over resonance in a uniform bias field (red solid line) and fitting to adiabatic-passage theory (blue dashed line).

The spatial resolution with which we can image the spins is 150 nm (full width at half-maximum). The resolution is proportional to the ratio of the magnetic resonance width (14 kHz, see Fig. 2c) to the gradient of the magnetic resonance frequency (114 kHz μm−1). The minimum resolution is limited by two considerations. First, the Rabi frequency must be sufficiently high that the spins are inverted adiabatically. Second, the maximum magnetic field gradient is limited by transverse field curvatures, which expel atoms from the optical trap (see the Supplementary Information).

The atomic magnetization is largely preserved during the imaging process and can be recovered by reversing the RF chirp, as shown in Fig. 2. The magnetization is slightly diminished as a result of radiation pressure fluctuations caused by the probe light20, which reduce the trapping lifetime to 120 ms, and spin decoherence and gradient-induced loss associated with executing the spin flips. Together, these processes result in 85% of the magnetization being preserved during the image. Less destructive imaging could be achieved at the expense of reduced signal-to-noise ratio or spatial resolution, for example by decreasing , increasing the RF drive strength, or decreasing B′.

Precise measurements of the longitudinal spin in a single lattice site can be taken by measuring the cavity resonance frequency before and after the spins in a single site are inverted (Fig. 3). The resonance frequency is first measured for a time τ with the RF off. The RF is then adiabatically turned on (125 μs linear ramp-on) at a frequency 20 kHz above the spin-resonance frequency, chirped to 20 kHz below the spin-resonance frequency, and adiabatically ramped off. Finally, ΔN is again measured, and the total projection Sk of the site’s dimensionless spin is calculated using , where Δωc is the change in the cavity resonance frequency.

Figure 3: Single-shot measurement of number of atoms in a single lattice site.
figure 3

The RF sweep (blue, left axis, solid line at full amplitude, dashed line at zero amplitude) is halted for a measurement period (shaded area), then swept across the lattice site of interest, before halting and measuring again. The number of atoms is calculated from the cavity shift (orange, right axis) after correcting for deterministic atom loss (red, right axis, corrected about t=9.5 ms). Here Δca/2π=−14 GHz, corresponding to 122 atoms MHz−1 of cavity shift. The inset shows the Allan deviation of the cavity shift after correcting for atom loss, using the probe frequency only (blue circles) and corrected using the instantaneous cavity transmission (green squares). The dotted line is the expected deviation due to photon shot noise. The deviation on the probe frequency measurement at short times is below the shot-noise expectation due to a 20 kHz electronic filter. The 60 kHz Allan deviation for τ=2.2 ms corresponds to a sensitivity of ten atoms.

For small τ, the precision of the single-site measurement is limited by the photon shot noise on the cavity resonance measurement to , where ɛ is the photodetection quantum efficiency and |dωc/dγ| is the resonance frequency measurement sensitivity, 11 for our system (see Supplementary Information). For τ above 1 ms, a measurement of the Allan deviation (Fig. 3) of ωc indicates that photon shot noise is superseded by technical noise, for example variations of the laser frequency or of ω0, yielding a frequency uncertainty of 60 kHz for τ=2.2 ms. With Δca=−14 GHz, the number of atoms in a single lattice site is thus determined with an rms uncertainty δ N=10. This sensitivity should be sufficient to observe atom-number differences between lattice sites25 below the limit of Poissonian statistics (δ N30 for N1,000), while maintaining the probed gas for further experiments. We have also measured populations to δ N=2.5, by using Δca=−2.0 GHz, although at this detuning the dynamic range of our measurement is limited to N70 within each site. Systematic uncertainties (Supplementary Information) affect the accuracy of the single-site measurement on the few-per cent level but do not significantly impact the measurement precision.

We use MRI to probe the transport dynamics of an atomic gas in an optical lattice under the effects of atomic interactions. We begin with atoms localized to a few lattice sites and image the initial stages of their expansion. We prepare a nondegenerate spin-polarized sample at 380 nK, with an initial width of 380 nm. We allow the gas to evolve for variable time t in a shallow optical lattice, which has a potential depth of 10.1Er, where Er=h×3.17 kHz is the rubidium recoil energy at a wavelength of 850 nm. The lattice depth is then raised to perform MRI. The gravitational force is compensated by applying a weak levitating magnetic field gradient (μ B′/h=454 Hz per lattice constant) during transport. The experiment is repeated 15 times at each of several different values of t, and the images for each hold time are averaged together, after correcting for shot-to-shot variations of the bias field (Fig. 4).

Figure 4: Atom transport in an optical lattice as measured using cavity-aided MRI.
figure 4

87Rb atoms at 380 nK tunnel resonantly in a 10.1 Er lattice with tunnelling matrix element J=×380 s−1. Left: after allowing the atoms to evolve for a fixed time (t=0.2,1.1,3.0 /J shown), we use MRI to image the gas, correcting for spatially varying sensitivity. For each evolution time, 15 images are averaged together (red line, right axis), and these are integrated to obtain the atom-number distribution among lattice sites (yellow bars, left axis, orange region indicates 68% certainty as obtained from Allan deviation). Each distribution is then fitted to a Gaussian envelope. Right: position variance σ2 of the Gaussian envelope fit, expressed in units of square lattice spacing, as a function of transport time, expressed in units of inverse tunnelling rate. At early times (t<2/J), the data (green circles, error bars denote 68% certainty from fits) agree with no-free-parameter ballistic tunnelling theory (blue line).

The position variance of the atomic distribution grows as a result of quantum tunnelling. At early times (t≤4 ms) the growth matches the ballistic expansion of non-interacting atoms in the lattice, for an initial atomic axial distribution given by an incoherent mixture of single-site Wannier states. At later times the expansion slows markedly. Previous experiments have observed self-trapping in Bose–Einstein condensates26. The behaviour we observe agrees qualitatively with our simulations of interaction-induced self-trapping in a nondegenerate gas, enabled in this experiment by high atom density.

Using dispersive optical measurement, cavity enhancement, and magnetic resonance, we have demonstrated a spin-sensitive technique for imaging atomic gases with a spatial resolution of 150 nm. The single-shot atom-number sensitivity is as small as 2.5 within a single lattice site, low enough to observe sub-Poissonian statistics of atom-number differences between sites with more than 10 atoms. Extending this technique to single-spin and single-atom counting should be possible by reducing technical measurement noise and increasing the experimental photon detection efficiency, currently limited by cavity losses.

The ability to control and to read out spins in single lattice sites provides new tools to engineer and study atomic gases at a microscopic level. Here we have measured the initial dynamics of bosonic atom transport in a 1D lattice with single-site resolution. Other experiments could include the observation of cavity-mediated long-range interactions between independently prepared spin populations or the observation of individual magnetic domains for antiferromagnetically ordered systems. Finally, because our dispersive measurement can be made minimally destructive, the method could be used to provide real-time feedback to spin projections of individual lattice sites for studies of quantum measurement and control27, and for applications to atomic magnetometry.