summaryrefslogtreecommitdiff
path: root/source/know/concept/deutsch-jozsa-algorithm/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'source/know/concept/deutsch-jozsa-algorithm/index.md')
-rw-r--r--source/know/concept/deutsch-jozsa-algorithm/index.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/know/concept/deutsch-jozsa-algorithm/index.md b/source/know/concept/deutsch-jozsa-algorithm/index.md
index 5f2f268..44b06ad 100644
--- a/source/know/concept/deutsch-jozsa-algorithm/index.md
+++ b/source/know/concept/deutsch-jozsa-algorithm/index.md
@@ -41,7 +41,8 @@ In other words, we only need to determine if $$f(0) = f(1)$$ or $$f(0) \neq f(1)
To do this, we use the following quantum circuit,
where $$U_f$$ is the oracle we query:
-{% include image.html file="deutsch-circuit.png" width="48%" alt="Deutsch circuit" %}
+{% include image.html file="deutsch-circuit.png" width="48%"
+ alt="Deutsch circuit" %}
Due to unitarity constraints,
the action of $$U_f$$ is defined to be as follows,
@@ -141,7 +142,8 @@ We are promised that $$f(x)$$ is either constant or balanced;
other possibilities are assumed to be impossible.
This algorithm is then implemented by the following quantum circuit:
-{% include image.html file="deutsch-jozsa-circuit.png" width="52%" alt="Deutsch-Jozsa circuit" %}
+{% include image.html file="deutsch-jozsa-circuit.png" width="52%"
+ alt="Deutsch-Jozsa circuit" %}
There are $$N$$ qubits in initial state $$\Ket{0}$$, and one in $$\Ket{1}$$.
For clarity, the oracle $$U_f$$ works like so: