Skip to content

Commit 7a1f8d1

Browse files
committed
Complexity is linear in number of qubits
1 parent f01b7d1 commit 7a1f8d1

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
@@ -450,7 +450,7 @@ A function $f :\{0,1\}^n \mapsto \{0,1\}$ is balanced if $f(x)=0$ for half of th
450450
(ref:deutsch1992rapid) [@deutsch1992rapid]
451451

452452
::: {.theorem name="Deutsch-Josza (ref:deutsch1992rapid)"}
453-
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.
453+
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.
454454
:::
455455

456456
::: {.proof}
@@ -498,7 +498,7 @@ as a learning algorithm.
498498
### Bernstein-Vazirani
499499

500500
::: {.theorem name="Bernstein-Vazirani"}
501-
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.
501+
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.
502502
:::
503503

504504
::: {.proof}

0 commit comments

Comments
 (0)