Skip to content

Commit 9d8946b

Browse files
committed
Complexity is linear in number of qubits
1 parent 9af91ef commit 9d8946b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intro.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ A function $f :\{0,1\}^n \mapsto \{0,1\}$ is balanced if $f(x)=0$ for half of th
462462
(ref:deutsch1992rapid) [@deutsch1992rapid]
463463

464464
::: {.theorem name="Deutsch-Josza (ref:deutsch1992rapid)"}
465-
Assume to have quantum access (as definition \@ref(def:quantum-oracle-access) ) to a unitary $U_f$ that computes the function $f :\{0,1\}^n \mapsto \{0,1\}$, which we are promised to be either constant or balanced. There is a quantum algorithm that decides which is the case with probabiliy $1$, using $U_f$ only once and using $O(\log(n))$ other gates.
465+
Assume to have quantum access (as definition \@ref(def:quantum-oracle-access) ) to a unitary $U_f$ that computes the function $f :\{0,1\}^n \mapsto \{0,1\}$, which we are promised to be either constant or balanced. There is a quantum algorithm that decides which is the case with probabiliy $1$, using $U_f$ only once and using $O(n)$ other gates.
466466
:::
467467

468468
::: {.proof}
@@ -510,7 +510,7 @@ as a learning algorithm.
510510
### Bernstein-Vazirani
511511

512512
::: {.theorem name="Bernstein-Vazirani"}
513-
Assume to have quantum access (as definition \@ref(def:quantum-oracle-access) ) to a unitary $U_f$ that computes the function $f :\{0,1\}^n \mapsto \{0,1\}$, which computes $f_a(x) = (x,a) = ( \sum_i^n x_i a_i )\mod 2$ for a secret string $a \in \{0,1\}^n$. There is a quantum algorithm that learns $a$ with probability $1$, using $U_f$ only once and $O(\log(n))$ other gates.
513+
Assume to have quantum access (as definition \@ref(def:quantum-oracle-access) ) to a unitary $U_f$ that computes the function $f :\{0,1\}^n \mapsto \{0,1\}$, which computes $f_a(x) = (x,a) = ( \sum_i^n x_i a_i )\mod 2$ for a secret string $a \in \{0,1\}^n$. There is a quantum algorithm that learns $a$ with probability $1$, using $U_f$ only once and $O(n)$ other gates.
514514
:::
515515

516516
::: {.proof}

0 commit comments

Comments
 (0)