From a8d31faecc733fa4d63fde58ab98a5e9d11029c2 Mon Sep 17 00:00:00 2001 From: Prefetch Date: Sun, 2 Apr 2023 16:57:12 +0200 Subject: Improve knowledge base --- source/know/concept/bernstein-vazirani-algorithm/index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/know/concept/bernstein-vazirani-algorithm') 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} -- cgit v1.2.3