 In particular, the 2"n" codewords of the code are the rows of "H" and the rows of −"H".To obtain a code over the alphabet {0,1}, the mapping −1 ↦ 1, 1 ↦ 0, or, equivalently, "x" ↦ (1 − "x")/2, is applied to the matrix elements.That the minimum distance of the code is "n"/2 follows from the defining property of Hadamard matrices, namely that their rows are mutually orthogonal.