Skip to main content
Problem List
Q87.Bit-Flip Code: Extract the SyndromePremiumHard

Q87.Bit-Flip Code: Extract the SyndromePremium Question

Error CorrectionQubits: 5Q
Encode ∣+⟩|+\rangle in the three-qubit bit-flip code, let an XX error strike Qubit 1, and extract both parity checks onto ancilla Qubits 3 and 4. The syndrome must read 11.
Target Objective:
Encode with HH and two CNOTs, apply XX to Qubit 1, then CNOT(0→3), CNOT(1→3), CNOT(1→4), CNOT(2→4).
Judge Acceptance Criteria:

Statevector fidelity must reach ≥ 99.9% with the target unitary solution.

Gates:
q[0]|0⟩
S0
S1
S2
S3
S4
S5
S6
S7
q[1]|0⟩
S0
S1
S2
S3
S4
S5
S6
S7
q[2]|0⟩
S0
S1
S2
S3
S4
S5
S6
S7
q[3]|0⟩
S0
S1
S2
S3
S4
S5
S6
S7
q[4]|0⟩
S0
S1
S2
S3
S4
S5
S6
S7
Live Python / Qiskit Code (Edit to Update Circuit)
 
Type Qiskit Python code above to update gates on wires automatically0 gates · 5Q
0 gates placed5 Qubits · 8 Steps
State Measurement Distribution:32 non-zero basis states
|10000⟩0.0%
|10001⟩0.0%
|10010⟩0.0%
|10011⟩0.0%
|10100⟩0.0%
|10101⟩0.0%
|10110⟩0.0%
|10111⟩0.0%
|11000⟩0.0%
|11001⟩0.0%
|11010⟩0.0%
|11011⟩0.0%
|11100⟩0.0%
|11101⟩0.0%
|11110⟩0.0%
|11111⟩0.0%
|00000⟩100.0%
|00001⟩0.0%
|00010⟩0.0%
|00011⟩0.0%
|00100⟩0.0%
|00101⟩0.0%
|00110⟩0.0%
|00111⟩0.0%
|01000⟩0.0%
|01001⟩0.0%
|01010⟩0.0%
|01011⟩0.0%
|01100⟩0.0%
|01101⟩0.0%
|01110⟩0.0%
|01111⟩0.0%