To solve this problem, we will first describe the state preparation circuit and analyze how errors affect the logical state. We start by understanding the sequence of operations in the circuit.
Step-by-Step Derivation
1. Circuit Analysis
The given state preparation circuit in matrix multiplication order is:
\[
(CNOT_{03}) (H_0) (CNOT_{21}) (H_2),
\]
which corresponds to the following sequence when executed in a quantum circuit from right to left:
- Apply a Hadamard gate \(H\) to qubit 2.
- Apply a CNOT gate with control qubit 2 and target qubit 1.
- Apply a Hadamard gate \(H\) to qubit 0.
- Apply a CNOT gate with control qubit 0 and target qubit 3.
2. State Initialization
Initially, the physical qubits are in the state \(|0000\rangle\). Applying each operation sequentially:
-
Step 1: \(H_2\) on \(|0000\rangle \rightarrow \frac{1}{\sqrt{2}}(|0000\rangle + |0010\rangle)\)
-
Step 2: \(CNOT_{21}\) flips qubit 1 if qubit 2 is 1 \(\rightarrow \frac{1}{\sqrt{2}}(|0000\rangle + |0011\rangle)\)
-
Step 3: \(H_0\) creates superpositions \(\rightarrow \frac{1}{2} (|0000\rangle + |0001\rangle + |1000\rangle + |1001\rangle)\)
-
Step 4: \(CNOT_{03}\) flips qubit 3 if qubit 0 is 1 \(\rightarrow \frac{1}{2} (|0000\rangle + |0001\rangle + |1001\rangle + |1000\rangle)\).
The final state ideally becomes $ \frac{1}{2} \big(|0000\rangle + |0001\rangle + |1001\rangle + |1000\rangle \big)$, which corresponds to the logical GHZ state \((|00\rangle_{AB} + |11\rangle_{AB})/\sqrt{2}\).
3. Introducing Errors
Considering the depolarizing errors, each two-qubit gate has a chance \(p\) to introduce an error, which transforms the gate operation to any of the 15 non-identity Pauli operations.
- Error Model: After each CNOT, the joint state \(\rho\) is depolarized:
\[
\rho \to (1-p)\rho + \frac{p}{15} \sum_{P \in \{II, IX, \ldots, ZZ\}} P\rho P,
\]
where the sum is over the 15 non-identity Pauli operators acting on two qubits.
4. Calculating the Fidelity
To find the fidelity, we calculate how the final error channel affects the ideal state:
- For one \(CNOT\), the fidelity \(F\) of the state after a depolarizing error is:
\[
F = 1 - \frac{16}{15}p \quad (1 - \text{total error probability})
\]
- With two CNOT gates, assuming independence:
\[
F = (1 - \frac{16}{15}p)^2
\]
This results from two independent depolarizing errors acting on adjacent pairs. Since each CNOT can introduce errors independent of others, the accumulated effect with probabilities composes multiplicatively.
Final Answer:
The physical state fidelity \(F\) of the final 4-qubit state as a function of the two-qubit gate error rate \(p\) is approximately:
[ F = \left(1 - \frac{16}{15}p\right)^2. ]