3
$\begingroup$

I'm looking for a quantum circuit that permits generating a uniform superposition of all possible permutations for example if we have as input $|0123\rangle$ the output will be the uniform superposition of all possible permutation $1/a(|0123\rangle+|1023\rangle+|0213\rangle+.....+|3210\rangle)$. I have already implemented a circuit with SWAP gates but the problem is I'm not getting the uniform superposition.

$\endgroup$
2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.