Specializing qudit bosonic error correcting codes for HEP