  We describe the quaternionic Heisenberg group in the dimension $7$ as a
matrix group. We study the local control of a compatible left-invariant control
system. We describe the impact of symmetries of the corresponding
sub-Riemannian structure on the optimality of geodesics.
