The magnetic Aharonov-Bohm phase is the relative phase contributed by a magnetic vector potential
to two paths of a charged particle that have the same endpoints. Let
be the closed curve obtained
by following the first path and reversing the second. In SI units, for a time-independent
vector potential and a particle of signed charge
, the contribution is
where
is the reduced Planck constant (Aharonov and Bohm 1959). Adding a gradient
to
for a smooth single-valued function
leaves the line integral
unchanged, since the integral of the gradient around the closed curve vanishes.
In the ideal case of magnetic flux confined to an ideal infinitely long solenoid, the curl
of
is zero in the accessible region. In a cross-section transverse to the solenoid,
a potential there is
,
with the origin on the solenoid axis. On a counterclockwise circle
outside the solenoid, the integrand is
and the integral is
. More generally it is
for a loop in that cross-section of contour
winding number
about the origin.
Thus a curl-free potential need not be a global gradient on a region that is not simply connected. This does not contradict Stokes' theorem: a loop winding around the solenoid does not bound a spanning surface lying entirely in the field-free exterior.