1
$\begingroup$

I'm trying to construct a circuit that performs the quantum transformation :

enter image description here

Where $f$ is some function. Is there a way to do it without going through every possible value of $i$ ?

$\endgroup$
2