---
title: "NV-center magnetometer Interactive Lab | Sandbox Physics"
description: "How can a dimmer diamond reveal the direction of a magnetic field? Microwaves dim the fluorescence when their frequency matches a spin transition."
canonical_url: "https://sandboxphysics.com/labs/nv-center-magnetometer/"
language: "en"
page_type: "lab"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/labs/nv-center-magnetometer/"
last_modified: "2026-11-04"
---

IN33 · Read a magnetic field from dimmer fluorescence

# NV-center magnetometer

**How can a dimmer diamond reveal the direction of a magnetic field?** Microwaves dim the fluorescence when their frequency matches a spin transition. A magnetic field splits the transitions differently along each diamond axis. Several known axes and a known bias can determine a local field vector. A common frequency shift also responds to temperature and strain.

Rotate a magnetic source and retain a counted microwave sweep. Separate common resonance drift from a field inferred with independently measured references.

> Interactive simulation: open this page in a web browser to change the parameters and run the model.

Model assumptions

Continuous green pumping and weak microwave driving give phenomenological Lorentzian fluorescence dips. A complete electronic spin-one Hamiltonian retains transverse fields; each transition has an equal-population secular nitrogen-14 triplet with 2.16 megahertz spacing. Nuclear transverse mixing, charge dynamics and a pumping master equation are omitted. Two gated frequency-counter references, a dark exposure and a known-biased diamond sweep are acquired separately. A third counter reading and a known magnetic increment are withheld checks. The four-axis inverse is conditional on a known crystal frame, stable zero transverse strain, the applied bias and an unknown increment within 150 microteslas. It uses counted line-group fits, not generator labels. Without bias, unsigned spectra cannot select one vector. Single-axis mode assumes an axial increment and reports only that component. Common splitting drift mixes temperature with axial strain; a temperature conversion additionally assumes stable axial strain. A declared strain change withholds field conclusions. Photon counts use exact low-count Poisson and a normal approximation above forty; detector occupancy must remain below one percent. Geometric collection uses an air-side equivalent isotropic point source and fixed efficiency; internal refraction and total internal reflection are omitted. Optical polarization, aberration, loss fluctuations and quantum-limited sensitivity are not inferred. A remote ideal dipole sets the field at the single sensor point. Known bias sources are represented by their supply; uniform bias is independently specified. Crystal and NV details are enlarged, supports and ray brightness schematic. Spectra remain below the apparatus.

Simulated detector counts · retained frequency gates

## The resonance is a dip in photon counts

One fluorescence signal supplies these counts. The enlarged NV structure is a model.

Inspect record

Counted frequency sweep · zoomed count scale

$N/(10^3\,\mathrm{photon})$

$f/\mathrm{MHz}$

Observed counts One joint fitted spectrum

References, timing and every counted gate

The counter sees one collected fluorescence signal. The curve below is fitted to its saved counts; the enlarged NV structure above is a model.

Counter-based frequency calibration $f=a_f f_{\mathrm{cmd}}+b_f$

Measured reference splitting $D_{\mathrm{ref}}=2870\,\mathrm{MHz}$

Fitted individual hyperfine linewidth $\Gamma=1.2\,\mathrm{MHz}$

Raw synchronous frequency gates and photons

| $f_{\mathrm{cmd}}/\mathrm{MHz}$ | $t_{\mathrm{start}}/\mathrm s$ | $t_{\mathrm{end}}/\mathrm s$ | $N/\mathrm{photon}$ |
| --- | --- | --- | --- |

Each frequency is held for its recorded gate. The animation replays gates faster than acquisition time; it is not a new measurement. The clock starts at instrument time zero. CSV retains sample, reference and withheld check scans, frequency-counter pulse totals and gates, dark counts, axes, bias, versions, units, seeds and flags.

Separate generating reference

The input field and temperature describe the synthetic source. They do not enter the inverse or raw CSV/JSON.

$\lVert\mathbf B_{\mathrm{in}}\rVert=65\,\mathrm{\mu T}$

Hamiltonian, branch assumptions and primary sources

$$
H/h=D S_z^2+\gamma\mathbf B\cdot\mathbf S+E(S_x^2-S_y^2)
$$

$$
\begin{aligned}\sqrt3\,\mathbf n_1&=(1,1,1),\\\sqrt3\,\mathbf n_2&=(1,-1,-1),\\\sqrt3\,\mathbf n_3&=(-1,1,-1),\\\sqrt3\,\mathbf n_4&=(-1,-1,1).\end{aligned}
$$

The complete electronic spin matrix retains transverse fields. Each electronic group is a symmetric equal-population nitrogen-14 triplet, spaced by 2.16 megahertz; transverse nuclear mixing and unequal nuclear populations are omitted. Fluorescence uses a weak-CW Lorentzian model. The four-axis fit is local to a measured known-bias reference, with an increment norm at most 150 microteslas and stable zero transverse strain. The single-axis unknown is assumed axial.

A common zero-field splitting shift can mean temperature or axial strain. A conditional temperature estimate assumes stable axial strain; no sensitivity or certified uncertainty is inferred. Azimuth is hidden below a conservative five-microtesla display guard, not a sensitivity specification. Photon sampling uses a normal approximation above forty. The low-rate detector model neglects dead-time correction only below one percent occupancy; shot noise is included, laser drift and calibration systematics are not. The 532-nanometre excitation and red fluorescence pass through ideal finite optics. Collection uses an air-side equivalent isotropic point source and fixed efficiency; internal refraction and total internal reflection are omitted. The remote source is an ideal dipole; external bias hardware is shown by its supply. Crystal scale, photon animation and mechanical supports are schematic.

- [Clevenson et al. (2018) · paired resonances and vector magnetometry](https://arxiv.org/abs/1802.09713)
- [Doherty et al. (2013) · ground-state Hamiltonian and hyperfine structure](https://arxiv.org/abs/1302.3288)
- [NIST · optical preparation, photon counting and apparatus](https://www.nist.gov/programs-projects/diamond-nv-center-magnetometry)

Physics tutorial

## Read frequency before interpreting a field

**Background** Green light prepares an NV ensemble and makes it fluoresce red. Resonant microwaves transfer population into a less fluorescent spin state.

**Why it matters** The detector counts light; the magnetic field is inferred from where that light dims during a frequency sweep.

Start with the essentials

- **Focus question**: Which information fixes a field component, and which information is needed for a vector?
- **One-sentence intuition**: The two branches separate magnetic splitting from common drift; a vector also needs independently known axes and a resolved bias branch.

### Core mathematical model

#### Electronic spin Hamiltonian

$$
H/h=D S_z^2+\gamma\mathbf B\cdot\mathbf S+E(S_x^2-S_y^2)
$$

The local quantization direction follows an NV axis. The zero-field and strain parameters describe the electronic level structure. The instrument diagonalizes the full electronic matrix; nuclear dynamics are represented only by a declared secular triplet.

#### Axial small-field limit

$$
f_\pm\simeq D\pm\gamma B_\parallel,\qquad\gamma=0.028\,\mathrm{MHz/\mu T}
$$

Half the separation gives an axial projection in this limit. A common midpoint shift can come from temperature or axial strain. Transverse fields add shifts that the vector calculation retains.

#### A finite collection cone

$$
\eta_\Omega=\frac{1-\cos\alpha}{2}
$$

This fraction follows air-side equivalent isotropic point emission; internal diamond refraction is omitted. It gives the fraction entering the stated objective cone. A fixed detector efficiency and a separately counted dark rate complete the synthetic counting chain.

### Common difficulties

#### Brightness and frequency

**Typical misconception** Darker light means a stronger magnetic field.

**Better mental model** Brightness also depends on collection, pumping and contrast. Resonance frequencies, fitted from counts, carry the field information.

#### Axis and sign information

**Typical misconception** Eight spectral groups uniquely identify a vector in any orientation.

**Better mental model** Unsigned frequencies permit sign and axis ambiguities. This inverse uses a known crystal frame, a measured reference under known bias and a bounded local increment.

#### Shared shifts

**Typical misconception** Every shared shift measures temperature.

**Better mental model** Temperature and axial strain both shift the zero-field splitting. The conversion needs an additional stable-strain assumption.

### Run the experiment

1. 01

   #### Follow the light

   Use the sensor view and identify the diamond, objective, red filter and photon counter.

   **What to observe:** Green excitation reflects toward the specimen. Red fluorescence passes through the dichroic and reaches one finite detector face.

2. 02

   #### Rotate the source

   Hold the gold source handle and move it horizontally.

   **What to observe:** The actual source moment and its field at the diamond change. A fresh counted spectrum gives different line-group positions.

3. 03

   #### Compare one axis with four

   Choose the single-axis preset and then the vector preset.

   **What to observe:** The single-axis result is conditional on an axial unknown. Four axes add independent projections within the known-bias branch.

4. 04

   #### Separate drift from splitting

   Choose the thermal-shift preset.

   **What to observe:** The groups move together as well as retaining magnetic separation. The inferred common zero-field splitting shift has a temperature interpretation only if axial strain is stable.

5. 05

   #### Remove an assumption

   Remove the bias, then inspect the strain challenge.

   **What to observe:** The raw counts remain visible while a unique field conclusion is withheld.

6. 06

   #### Keep and replay

   Keep one cycle, change the source, and select the earlier record before exporting CSV.

   **What to observe:** Earlier counts and their references remain unchanged. CSV includes the complete sample, reference and withheld sweep plus frequency-counter and dark records.

Physical conclusion

Retain photon counts, frequencies, timing and references, then state the orientation, strain and bias assumptions with the inferred field.

## Related experiments and articles

How physics instruments measure · Reading path

### How physics instruments measure

Articles on this path that use this experiment, followed by the other experiments they suggest.

1. [Article **How diamond fluorescence reveals a magnetic-field direction**](https://sandboxphysics.com/stories/instruments/nv-center-magnetometer/)

Quantum & fields · Starter path

## Start from a single measurement

Predict an outcome, then count what the measurements actually give. The path starts with one qubit and moves on to wave packets, bound states and two-photon interference.

[Start here → **Quantum State & Born Measurement** Predict a probability, turn the analyzer, then compare your prediction with the measured frequency over many shots. Observe · 15 min](https://sandboxphysics.com/labs/qubit-state/)

1. [1 Quantum State & Born Measurement](https://sandboxphysics.com/labs/qubit-state/)
2. [2 Stern–Gerlach Sequence](https://sandboxphysics.com/labs/stern-gerlach-sequence/)
3. [3 Wave Packet & Uncertainty](https://sandboxphysics.com/labs/wave-packet-uncertainty/)
4. [4 Quantum Harmonic Oscillator](https://sandboxphysics.com/labs/quantum-harmonic-oscillator/)
5. [5 Which Path & Quantum Eraser](https://sandboxphysics.com/labs/quantum-eraser/)
6. [6 Hong–Ou–Mandel Two-Photon Interference](https://sandboxphysics.com/labs/hong-ou-mandel/)

[View the full path →](https://sandboxphysics.com/topics/quantum/#starter-path)
