summaryrefslogtreecommitdiff
path: root/source/know/concept/toffoli-gate/index.md
diff options
context:
space:
mode:
authorPrefetch2022-12-17 18:19:26 +0100
committerPrefetch2022-12-17 18:20:50 +0100
commita39bb3b8aab1aeb4fceaedc54c756703819776c3 (patch)
treeb21ecb4677745fb8c275e54f2ad9d4c2e775a3d8 /source/know/concept/toffoli-gate/index.md
parent49cc36648b489f7d1c75e1fde79f0990e08dd514 (diff)
Rewrite "Lagrange multiplier", various improvements
Diffstat (limited to 'source/know/concept/toffoli-gate/index.md')
-rw-r--r--source/know/concept/toffoli-gate/index.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/know/concept/toffoli-gate/index.md b/source/know/concept/toffoli-gate/index.md
index b9d9528..9a99e69 100644
--- a/source/know/concept/toffoli-gate/index.md
+++ b/source/know/concept/toffoli-gate/index.md
@@ -66,10 +66,10 @@ it swaps the last two coefficients:
$$\begin{aligned}
\mathrm{CCNOT} \Ket{\psi}
- &= \mathrm{CCNOT} \big( c_{000} \Ket{000} + c_{001} \Ket{001} + c_{010} \Ket{010} + c_{011} \Ket{011} \\
+ &= \mathrm{CCNOT} \big( c_{000} \Ket{000} + c_{001} \Ket{001} + c_{010} \Ket{010} + c_{011} \Ket{011} + \\
&\qquad\qquad\quad\:\; c_{100} \Ket{100} + c_{101} \Ket{101} + c_{110} \Ket{110} + c_{111} \Ket{111} \big)
\\
- &= c_{000} \Ket{000} + c_{001} \Ket{001} + c_{010} \Ket{010} + c_{011} \Ket{011} \\
+ &= c_{000} \Ket{000} + c_{001} \Ket{001} + c_{010} \Ket{010} + c_{011} \Ket{011} + \\
&\quad\,\, c_{100} \Ket{100} + c_{101} \Ket{101} + c_{111} \Ket{110} + c_{110} \Ket{111}
\end{aligned}$$