Skip to content

Commit d89e051

Browse files
committed
Fixing subscript typos
1 parent 2a10591 commit d89e051

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

learn-pr/quantum/explore-entanglement/includes/3-create-entanglement-qsharp.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Suppose that you have a two-qubit system in the state :::no-loc text="$\\ket{00}
3636

3737
Here's how it works:
3838

39-
1. Choose one qubit in the :::no-loc text="$\\ket{00}$"::: state to be the control qubit and the other qubit to be the target qubit. Here, we choose the leftmost qubit to be the control and the rightmost qubit to be the target.
39+
1. Choose one qubit in the c state to be the control qubit and the other qubit to be the target qubit. Here, we choose the leftmost qubit to be the control and the rightmost qubit to be the target.
4040
1. Put only the control qubit into an equal superposition state. To do so, apply an H operation to only the control qubit:
4141

4242
:::no-loc text="$$H \\ket{0_c} = \\frac{1}{\\sqrt{2}}(\\ket{0_c} + \\ket{1_c})$$":::
@@ -48,7 +48,7 @@ Here's how it works:
4848

4949
$$
5050
\\begin{aligned}
51-
CNOT \\frac{1}{\\sqrt{2}}(\\ket{0_c}+\\ket{1_c})\\ket{0}_t &= CNOT \\frac{1}{\\sqrt2}(\\ket{0_c 0_t}+\\ket{1_c 0_t})\\\\
51+
CNOT \\frac{1}{\\sqrt{2}}(\\ket{0_c}+\\ket{1_c})\\ket{0_t} &= CNOT \\frac{1}{\\sqrt2}(\\ket{0_c 0_t}+\\ket{1_c 0_t})\\\\
5252
&= \\frac{1}{\\sqrt2}(CNOT \\ket{0_c 0_t} + CNOT \\ket{1_c 0_t})\\\\
5353
&= \\frac{1}{\\sqrt2}(\\ket{0_c 0_t}+\\ket{1_c 1_t})
5454
\\end{aligned}
@@ -189,17 +189,17 @@ Here's how to create the :::no-loc text="$\\ket{\\phi^-}$"::: state:
189189
1. Create two qubits in the state :::no-loc text="$\\ket{00}$":::.
190190
1. Put the control qubit into a superposition state with the :::no-loc text="$H$"::: operation:
191191
192-
:::no-loc text="$$H \\ket{0_c} = \\frac{1}{\\sqrt{2}}(\\ket{0_c} + \\ket{1_c}) = \\ket{+}_c$$":::
192+
:::no-loc text="$$H \\ket{0_c} = \\frac{1}{\\sqrt{2}}(\\ket{0_c} + \\ket{1_c}) = \\ket{+_c}$$":::
193193
194194
1. Apply the :::no-loc text="$Z$"::: operation to the control qubit.
195195
196-
:::no-loc text="$$Z \\frac{1}{\\sqrt{2}}(\\ket{0_c} + \\ket{1_c}) = \\frac{1}{\\sqrt{2}}(\\ket{0_c} - \\ket{1_c}) = \\ket{-}_c$$":::
196+
:::no-loc text="$$Z \\frac{1}{\\sqrt{2}}(\\ket{0_c} + \\ket{1_c}) = \\frac{1}{\\sqrt{2}}(\\ket{0_c} - \\ket{1_c}) = \\ket{-_c}$$":::
197197
198198
1. Apply the CNOT operation to the control qubit and the target qubit, which is in the :::no-loc text="$\\ket{0_t}$"::: state.
199199
200200
$$
201201
\\begin{aligned}
202-
CNOT \\frac{1}{\\sqrt{2}}(\\ket{0_c}-\\ket{1_c})\\ket{0}_t &= CNOT \\frac{1}{\\sqrt2}(\\ket{0_c 0_t}-\\ket{1_c 0_t})\\\\
202+
CNOT \\frac{1}{\\sqrt{2}}(\\ket{0_c}-\\ket{1_c})\\ket{0_t} &= CNOT \\frac{1}{\\sqrt2}(\\ket{0_c 0_t}-\\ket{1_c 0_t})\\\\
203203
&= \\frac{1}{\\sqrt2}(CNOT \\ket{0_c 0_t} - CNOT \\ket{1_c 0_t})\\\\
204204
&= \\frac{1}{\\sqrt2}(\\ket{0_c 0_t}-\\ket{1_c 1_t})
205205
\\end{aligned}

0 commit comments

Comments
 (0)