I am trying to solve the following question, that I guess (hope?) has been solved before but I couldn't find any reference.
Let S$S$ be a set of d$d$ unit vectors in a d$d$-dimensional Euclidean space such that for any pair of vectors in S$S$ their distance is the range [sqrt(2) -O(1/d); sqrt(2) + O(1/d)]$[\sqrt 2 -O(1/d), \sqrt 2 + O(1/d)]$.
Then, one can find a set Q$Q$ of d$d$ pairwise orthogonal unit vectors such that there is a 1-to-1 mapping between vectors in S$S$ and Q$Q$ such that each point of S$S$ is mapped to a point in Q$Q$ at distance at most O(1/d)$O(1/d)$.
Note: If the range was sqrt(2) +- c/sqrt(d)$\sqrt 2\pm c/\sqrt d$ for some large constant c$c$, that would not necessarily be true, here the fact that we have a 1/d$1/d$ additive term is key. But I am not sure how to use it...