diff options
author | Prefetch | 2023-04-02 16:57:12 +0200 |
---|---|---|
committer | Prefetch | 2023-04-02 16:57:12 +0200 |
commit | a8d31faecc733fa4d63fde58ab98a5e9d11029c2 (patch) | |
tree | b8d039b13e026fb68f0bed439a2cb73397c35981 /source/know/concept/bernstein-vazirani-algorithm | |
parent | 9b9346d5e54244f3e2859c3f80e47f2de345a2ad (diff) |
Improve knowledge base
Diffstat (limited to 'source/know/concept/bernstein-vazirani-algorithm')
-rw-r--r-- | source/know/concept/bernstein-vazirani-algorithm/index.md | 5 |
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} |