- Step-by-Step Derivation
- Setup and noise model
- The circuit prepares the ideal state
\[
|\Psi_{\text{ideal}}\rangle = |\Phi^+\rangle_{03}\otimes|\Phi^+\rangle_{21},\quad |\Phi^+\rangle=\frac{|00\rangle+|11\rangle}{\sqrt{2}}.
\]
- After each CNOT, a two-qubit depolarizing channel acts on that pair:
\[
\mathcal{E}_p(\rho)=(1-p)\rho+\frac{p}{15}\sum_{P\in\mathcal{P}_2\setminus\{I\}}P\rho P.
\]
-
There are two such channels, on pairs (0,3) and (2,1), acting independently.
-
Post-selection on the code’s stabilizers
- The [[4,2,2]] code has stabilizers \(g_X=XXXX\) and \(g_Z=ZZZZ\). We post-select on the +1 eigenspace of both stabilizers (detectable errors are discarded).
- For a two-qubit Pauli error \(E\) acting on a given pair, define the commutation parities with \(g_X\) and \(g_Z\):
\[
v(E)=(s_X(E),s_Z(E))\in\{(0,0),(0,1),(1,0),(1,1)\},
\]
where $s_X(E)=1$ if $E$ anticommutes with $g_X$ and 0 otherwise, and similarly for $s_Z$.
- For a single pair, among the 16 two-qubit Paulis (including identity):
- Class \(v=(0,0)\) has 4 elements: \(\{II,XX,YY,ZZ\}\).
- Each of the other three classes has 4 elements: e.g., \(v=(0,1)\) is \(\{IX,XI,YZ,ZY\}\), etc.
- The probability per pair to land in each class is
\[
\Pr[v=(0,0)]=(1-p)+3\frac{p}{15}=1-\frac{12}{15}p=1-\frac{4p}{5},
\]
\[
\Pr[v=(0,1)]=\Pr[v=(1,0)]=\Pr[v=(1,1)]=4\frac{p}{15}.
\]
- Acceptance condition for the two-gate error pattern
- Let \(v_{03}\) and \(v_{21}\) be the class labels for the errors on pairs (0,3) and (2,1), respectively. The total error \(E=E_{03}E_{21}\) commutes with both stabilizers (is accepted) iff
\[
v_{03}=v_{21}.
\]
- Therefore the total acceptance probability is
\[
P_{\text{acc}}=\sum_{v}\Pr[v]^2=\left(1-\frac{4p}{5}\right)^2+3\left(\frac{4p}{15}\right)^2.
\]
- Logical action of accepted errors
- For \(v=(0,0)\) on a pair, the allowed errors are \(II,XX,YY,ZZ\). Using the given logical representatives
\[
X_A=X_0X_2,\quad X_B=X_0X_1,\quad Z_A=Z_0Z_1,\quad Z_B=Z_0Z_2,
\]
and stabilizers $XXXX, ZZZZ$, one finds on either pair that
\[
XX \mapsto X_AX_B,\quad ZZ \mapsto Z_AZ_B,\quad YY \mapsto Y_AY_B.
\]
Thus when $v_{03}=v_{21}=(0,0)$, the total logical operator is in
\[
H=\{I,\;X_AX_B,\;Z_AZ_B,\;Y_AY_B\},
\]
which is exactly the stabilizer set of the logical Bell state $|\Phi^+\rangle_{AB}$. Hence all such accepted events have logical fidelity 1.
-
For \(v\neq(0,0)\), each pair error is detectable by itself, but if \(v_{03}=v_{21}\) the combined error is accepted. Direct calculation (examples below) shows these map to single-logical-qubit Paulis:
- For \(v=(0,1)\): products yield \(X_A\) or \(X_B\) (e.g., \((I_0X_3)(I_2X_1)=X_1X_3\equiv X_A\)).
- For \(v=(1,0)\): products yield \(Z_A\) or \(Z_B\).
- For \(v=(1,1)\): products yield \(Y_A\) or \(Y_B\).
None of these lie in \(H\), so they map \(|\Phi^+\rangle_{AB}\) to an orthogonal logical Bell state, contributing zero to the target-state fidelity.
-
Conditional logical fidelity
- The only accepted events with nonzero fidelity are those with \(v_{03}=v_{21}=(0,0)\). Therefore
\[
P_{\text{good}}=\Pr[v=(0,0)]^2=\left(1-\frac{4p}{5}\right)^2.
\]
- Conditioned on acceptance,
\[
\]
- Small-\(p\) expansion: \(F_{\text{logical}}(p)=1-\frac{16}{75}p^2+O(p^3)\), showing first-order errors are fully post-selected away, as expected for a distance-2 detection code.
- Mathematical Typesetting
All expressions above are typeset in LaTeX.
- Conventions and Units
Standard stabilizer-code and depolarizing-channel conventions; no physical units involved.
- Final Answer:
\(F_{\rm logical}(p)=\dfrac{\left(1-\frac{12}{15}p\right)^2}{\left(1-\frac{12}{15}p\right)^2+3\left(\frac{4}{15}p\right)^2}
=\dfrac{\left(1-\frac{4p}{5}\right)^2}{\left(1-\frac{4p}{5}\right)^2+\frac{16}{75}p^2}.\)