Let $G=([n],E)$ be an undirected graph, which is represented by a $n \choose 2$ bit string, by indicating for each $i < j$ if $(i,j) \in E$. And let $| G \rangle$ be the $n \choose 2$ qubit state that corresponds to the graph $G$.
Let $S_n$ be the set of all permutations on $n$ elements, and $\pi(G)$ is the graph obtained by renaming all $v \in E$ to $\pi(v)$, and where $(i,j)$ is an edge in $G$ if and only if $(\pi(i),\pi(j))$ is an edge in $\pi(G)$.
Assuming we have the state $$c\sum_{\pi \in S_n} |\pi(G) \rangle$$ where $c$ is a normalization constant, how can it help so solve the graph isomorphism problem (given 2 graphs $G,H$ - find out if they are isomorphic).
My initial thought was to measure, since we get an isomorphic graph $\pi(G)$, but the probability to get $H$ if it's isomorphic is very low, and if it's not isomorphic then we need to check every output, and it doesn't help much.
From other quantum algorithms I've seen, the QFT seems like a possible approach but I'm not sure how to use it here.
Help would be appreciated.