A pandiagonal magic cube is a magic cube subject to conditions on diagonals that wrap around its array of cells, although the precise conditions are not uniform in the literature. In the convention of Benson and Jacoby (1981, p. 4), a perfect magic cube or semiperfect magic cube is pandiagonal when it remains of the same type after any single orthogonal section is cyclically "restacked." This gives the two cases pandiagonal perfect magic cube and pandiagonal semiperfect magic cube.
Liao and Xie (2023) use an alternative definition in which every cross section and every diagonal plane must be a panmagic square.