I guess code distance is the same as "Hamming distance" which is related to the overlap between different "codewords" in the codespace?
More technically, my understanding is that a stabilizer quantum-error-correcting code (QECC) having code distance $d$ implies that any operator $\mathcal{E}$ capable of producing a logical error must have support (i.e., act nontrivially) on at least $d$ qubits? This implies that every logical operator acts nontrivially on at least $d$ qubits.
I'm curious if there are other (equivalent) definitions. Specifically, I'm wondering if the minimum number of errors applies equally to deletion / erasure errors (on at most $d-1$ qubits). However, I guess deletion errors aren't the same as logical errors (i.e., they don't change between codewords), so you can correct at most $t = (d-1)/2$ of them, so that's the maximum number of deletion errors that can be tolerated?
If so, then I would expect the following statement to hold: Given a QECC with code distance $d$ and nominal logical operators $\{ \overline{X}, \overline{Y}, \overline{Z}\}$, then for any region $C$ that contains $\left| C \right| = d-1$ qubits (or more likely $\left| C \right| = t = (d-1)/2$ qubits), there exist elements $ \mathcal{S}_x $, $\mathcal{S}_y$, $\mathcal{S}_z$ of the stabilizer group such that $\{ \mathcal{S}_x \overline{X} , ~\mathcal{S}_y \overline{Y} , ~ \mathcal{S}_z \overline{Z} \}$ are also valid logical operators, each of which acts trivially on every qubit in $C$?
As a bonus question: If this definition is correct, are we guaranteed that the stabilizer elements $ \mathcal{S}_x $, $\mathcal{S}_y$, and $\mathcal{S}_z$ are unique (assuming that $\left| C\right|$ is maximal for code distance $d$)? Do the numbers $N$ and $k$ of physical and logical qubits matter for this?
Also if I just need to open Nielsen and Chuang to a particular section, feel free to let me know! I'll have a copy soon. Also, if you have a random fun fact relating code distance to something else, feel free to comment it, since I'm generally interested.