{"name":"phaseflip","status":"ok","metadata":{"version":"3.0","date":"2026-06-22T14:15:02.155535Z","description":"phaseflip QEC demo","code_distance":3,"error_correction":"majority_vote"},"error_type":"phase_flip","example":"phaseflip","corrected_counts":{"000":520,"111":504},"counts_before":{"000":138,"001":127,"010":124,"011":133,"100":131,"101":122,"110":112,"111":137},"circuit_qasm":"OPENQASM 3.0;\n// 3-qubit phase-flip code (X-basis)\nqubit[5] q; bit[2] s;\nh q[0]; h q[1]; h q[2];\ncx q[0],q[3]; cx q[1],q[3];\ncx q[1],q[4]; cx q[2],q[4];\nh q[3]; h q[4];\ns[0]=measure q[3]; s[1]=measure q[4];\n","error_qubit":"none","execution_time_ms":3,"logical_fidelity":0.5078,"plots":{"corrected_counts":{"data":{"values":[{"count":520,"state":"000"},{"count":504,"state":"111"}]},"mark":"bar","encoding":{"x":{"type":"nominal","title":"State","field":"state"},"y":{"type":"quantitative","title":"Counts","field":"count"}}},"counts_before":{"data":{"values":[{"count":138,"state":"000"},{"count":127,"state":"001"},{"count":124,"state":"010"},{"count":133,"state":"011"},{"count":131,"state":"100"},{"count":122,"state":"101"},{"count":112,"state":"110"},{"count":137,"state":"111"}]},"mark":"bar","encoding":{"x":{"type":"nominal","title":"State","field":"state"},"y":{"type":"quantitative","title":"Counts","field":"count"}}},"syndrome":{"data":{"values":[{"count":253,"state":"00000"},{"count":273,"state":"01000"},{"count":236,"state":"10000"},{"count":262,"state":"11000"}]},"mark":"bar","encoding":{"x":{"type":"nominal","title":"State","field":"state"},"y":{"type":"quantitative","title":"Counts","field":"count"}}}},"qubits":3,"shots":1024,"syndrome_counts":{"00000":253,"01000":273,"10000":236,"11000":262},"visualisation_hint":"qec"}