quantum error correction and orthogonal geometry