We say that an order $n$ permutation matrix $P$ has distance $d$ if the Hamming distance between any two $1$-elements of $P$ is at least $d$. For example, the following matrix has distance 2: $$ \begin{matrix} 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 \\ 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 \end{matrix} $$ I am interested in the following question: For which values of $d$ and $n$ do there exist such matrices? More generally, what is the (approximate) number of order $n$ permutation matrices of distance $d$?
I am absolutely sure that these objects have been studied before - there are, after all, a natural variation of error correcting codes. But under what name? Are the answers to my questions already known? I would appreciate any reference. Thank you!