We study a rather general class of optimal “ballistic” transport problems for matrix-valued measures. These naturally arise, in the spirit Brenier (Commun Math Phys 364(2):579–605, 2018), from certain dual formulation nonlinear evolutionary equations with particular quadratic structure reminiscent both incompressible Euler equation and Hamilton–Jacobi equation. The examples include ideal MHD, t...