summaryrefslogtreecommitdiff
path: root/source/know/concept/repetition-code/index.md
diff options
context:
space:
mode:
authorPrefetch2022-10-27 20:40:09 +0200
committerPrefetch2022-10-27 20:40:09 +0200
commit6e70f28ccbd5afc1506f71f013278a9d157ef03a (patch)
treea8ca7113917f3e0040d6e5b446e4e41291fd9d3a /source/know/concept/repetition-code/index.md
parentbcae81336764eb6c4cdf0f91e2fe632b625dd8b2 (diff)
Optimize last images, add proof template, improve CSS
Diffstat (limited to 'source/know/concept/repetition-code/index.md')
-rw-r--r--source/know/concept/repetition-code/index.md63
1 files changed, 6 insertions, 57 deletions
diff --git a/source/know/concept/repetition-code/index.md b/source/know/concept/repetition-code/index.md
index 678211e..89e6f4d 100644
--- a/source/know/concept/repetition-code/index.md
+++ b/source/know/concept/repetition-code/index.md
@@ -164,63 +164,12 @@ while $$ZZI$$ cannot protect the 3rd qubit.
But by using both, we know exactly which qubit was flipped
thanks to the eigenvalues:
-<table style="width:30%;margin:auto;text-align:center;">
-<tr>
- <th>
- Error
- </th>
- <th markdown="1">
- $$ZZI$$
- </th>
- <th markdown="1">
- $$IZZ$$
- </th>
-</tr>
-<tr>
- <td markdown="1">
- $$I$$
- </td>
- <td markdown="1">
- $$+1$$
- </td>
- <td markdown="1">
- $$+1$$
- </td>
-</tr>
-<tr>
- <td markdown="1">
- $$X_1$$
- </td>
- <td markdown="1">
- $$-1$$
- </td>
- <td markdown="1">
- $$+1$$
- </td>
-</tr>
-<tr>
- <td markdown="1">
- $$X_2$$
- </td>
- <td markdown="1">
- $$-1$$
- </td>
- <td markdown="1">
- $$-1$$
- </td>
-</tr>
-<tr>
- <td markdown="1">
- $$X_1$$
- </td>
- <td markdown="1">
- $$+1$$
- </td>
- <td markdown="1">
- $$-1$$
- </td>
-</tr>
-</table>
+| **Error** | $$ZZI$$ | $$IZZ$$ |
+| :-: | :-: | :-: |
+| $$I$$ | $$+1$$ | $$+1$$ |
+| $$X_1$$ | $$-1$$ | $$+1$$ |
+| $$X_2$$ | $$-1$$ | $$-1$$ |
+| $$X_1$$ | $$+1$$ | $$-1$$ |
Where e.g. $$X_3$$ denotes that the 3rd qubit was flipped.
The measurement outcomes on the last three rows are called **error syndromes**,