summaryrefslogtreecommitdiff
path: root/source/know/concept/bernstein-vazirani-algorithm
diff options
context:
space:
mode:
Diffstat (limited to 'source/know/concept/bernstein-vazirani-algorithm')
-rw-r--r--source/know/concept/bernstein-vazirani-algorithm/index.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/know/concept/bernstein-vazirani-algorithm/index.md b/source/know/concept/bernstein-vazirani-algorithm/index.md
index 5f224dc..884cca3 100644
--- a/source/know/concept/bernstein-vazirani-algorithm/index.md
+++ b/source/know/concept/bernstein-vazirani-algorithm/index.md
@@ -76,8 +76,9 @@ $$\begin{aligned}
\frac{1}{\sqrt{2^N}} \sum_{x = 0}^{2^N - 1} (-1)^{s \cdot x} \Ket{x}
\end{aligned}$$
-Then, thanks to the definition of the Hadamard transform,
-a final set of $$H$$-gates leads us to:
+Then, using the definition of the Hadamard transform
+and the fact that it is its own inverse,
+one final set of $$H$$-gates leads us to:
$$\begin{aligned}
\frac{1}{\sqrt{2^N}} \sum_{x = 0}^{2^N - 1} (-1)^{s \cdot x} \Ket{x}