- Step-by-Step Derivation
- Ideal state and error locations
- The circuit prepares the physical state
\[
|\psi_{\mathrm{ideal}}\rangle=|\Phi^+\rangle_{21}\otimes|\Phi^+\rangle_{03},\quad |\Phi^+\rangle=\frac{|00\rangle+|11\rangle}{\sqrt{2}}.
\]
- A two-qubit depolarizing channel acts after each CNOT. Thus the final error is a product
\[
E=E_{21}\otimes E_{03},
\]
where each $E_{\mathrm{pair}}$ is a two-qubit Pauli with
- $P(E_{\mathrm{pair}}=II)=1-p$,
- each of the 15 non-identity Paulis with probability $p/15$,
and the two pairs are independent.
- Detectability condition (membership in the code normalizer)
- The code stabilizers are \(S_X=XXXX\) and \(S_Z=ZZZZ\), which factor across the pairs as
\[
S_X=(X_2X_1)\otimes(X_0X_3),\qquad S_Z=(Z_2Z_1)\otimes(Z_0Z_3).
\]
- For a Pauli \(P\) on a given pair, define its pair-syndrome
\[
s(P)=(s_X(P),s_Z(P))\in\{0,1\}^2,
\]
where $s_X(P)=0$ if $P$ commutes with $X\otimes X$ and $1$ if it anticommutes (similarly for $s_Z$ with $Z\otimes Z$).
- The total error \(E=E_{21}\otimes E_{03}\) commutes with both \(S_X,S_Z\) (i.e., is undetected) if and only if the pair-syndromes match:
\[
s(E_{21})=s(E_{03}).
\]
- Distribution of pair-syndromes under two-qubit depolarizing noise
- On a pair, the 16 Paulis split into 4 equally sized classes by \(s\in\{(0,0),(1,0),(0,1),(1,1)\}\).
- Among non-identity elements, the counts are:
- class \((0,0)\): 3 elements (XX, YY, ZZ),
- classes \((1,0)\), \((0,1)\), \((1,1)\): 4 elements each.
- Therefore, for a single pair:
\[
P_{00} &:= P\big(s=(0,0)\big) = (1-p)+3\frac{p}{15}=1-\frac{12}{15}p=1-\frac{4p}{5},\\
P_{10} &= P_{01}=P_{11}=4\frac{p}{15}.
\]
- Acceptance probability (post-selecting on no detected error)
- Because the two pairs are independent,
\[
= \left(1-\frac{4p}{5}\right)^2+3\left(\frac{4p}{15}\right)^2
\]
- Logical fidelity of the post-selected state
- The logical target is the Bell state \((|00\rangle_{AB}+|11\rangle_{AB})/\sqrt{2}\), whose logical stabilizer is generated by \(X_A X_B\) and \(Z_A Z_B\). A Pauli error preserves this logical state iff, modulo the code stabilizer, it is in
\[
\{I,\,X_A X_B,\,Y_A Y_B,\,Z_A Z_B\}.
\]
- Physically, these correspond exactly to the class where both pairs lie in \(s=(0,0)\) (i.e., \(E_{21},E_{03}\in\{II,XX,YY,ZZ\}\)). Any accepted error with \(s\neq(0,0)\) maps the logical Bell state to an orthogonal Bell state and contributes zero to the fidelity.
- Hence the numerator (accepted and logically correct) is
\[
P_{\mathrm{good}}=\left(1-\frac{12}{15}p\right)^2=\left(1-\frac{4p}{5}\right)^2.
\]
- The logical fidelity conditioned on acceptance is
\[
= \frac{P_{\mathrm{good}}}{P_{\mathrm{acc}}}
= \frac{\left(1-\frac{12}{15}p\right)^2}
\]
- Small-p expansion (sanity check)
- Using the above,
\[
F_{\mathrm{logical}}(p) = 1 - \frac{16}{75}p^2 + O(p^3),
\]
showing first-order errors are fully detected and removed by post-selection.
- Mathematical Typesetting
- All expressions are given in LaTeX above.
- Conventions and Units
- Dimensionless error probability \(p\); no units.
- Final Answer:
\[
F_{\mathrm{logical}}(p)
= \frac{\left(1-\frac{12}{15}p\right)^2}
{\left(1-\frac{12}{15}p\right)^2 + 3\left(\frac{4}{15}p\right)^2}
= \frac{\left(1-\frac{4p}{5}\right)^2}{1-\frac{8p}{5}+\frac{64}{75}p^2}.
\]