  We extend to general dimension $n\ge1$ the virial identity proved by
Boussaid-D'Ancona-Fanelli for the 3D magnetic Dirac equation. As an application
we deduce smoothing and Strichartz estimates for an $n$-dimensional Dirac
equation perturbed with a magnetic potential.
