{"name":"phaseflip","status":"ok","metadata":{"version":"3.0","date":"2026-07-12T15:41:29.369018Z","description":"phaseflip QEC demo","code_distance":3,"error_correction":"majority_vote"},"error_type":"phase_flip","example":"phaseflip","corrected_counts":{"000":490,"111":534},"counts_before":{"000":139,"001":105,"010":120,"011":126,"100":126,"101":129,"110":134,"111":145},"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":6,"logical_fidelity":0.4785,"plots":{"corrected_counts":{"data":{"values":[{"count":490,"state":"000"},{"count":534,"state":"111"}]},"mark":"bar","encoding":{"x":{"type":"nominal","title":"State","field":"state"},"y":{"type":"quantitative","title":"Counts","field":"count"}}},"counts_before":{"data":{"values":[{"count":139,"state":"000"},{"count":105,"state":"001"},{"count":120,"state":"010"},{"count":126,"state":"011"},{"count":126,"state":"100"},{"count":129,"state":"101"},{"count":134,"state":"110"},{"count":145,"state":"111"}]},"mark":"bar","encoding":{"x":{"type":"nominal","title":"State","field":"state"},"y":{"type":"quantitative","title":"Counts","field":"count"}}},"syndrome":{"data":{"values":[{"count":254,"state":"00000"},{"count":260,"state":"01000"},{"count":276,"state":"10000"},{"count":234,"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":254,"01000":260,"10000":276,"11000":234},"visualisation_hint":"qec"}