{"name":"phaseflip","status":"ok","metadata":{"version":"3.0","date":"2026-06-22T13:09:20.494828Z","description":"phaseflip QEC demo","code_distance":3,"error_correction":"majority_vote"},"error_type":"phase_flip","example":"phaseflip","corrected_counts":{"000":514,"111":510},"counts_before":{"000":122,"001":131,"010":127,"011":132,"100":134,"101":111,"110":128,"111":139},"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":5,"logical_fidelity":0.502,"plots":{"corrected_counts":{"data":{"values":[{"count":514,"state":"000"},{"count":510,"state":"111"}]},"mark":"bar","encoding":{"x":{"type":"nominal","title":"State","field":"state"},"y":{"type":"quantitative","title":"Counts","field":"count"}}},"counts_before":{"data":{"values":[{"count":122,"state":"000"},{"count":131,"state":"001"},{"count":127,"state":"010"},{"count":132,"state":"011"},{"count":134,"state":"100"},{"count":111,"state":"101"},{"count":128,"state":"110"},{"count":139,"state":"111"}]},"mark":"bar","encoding":{"x":{"type":"nominal","title":"State","field":"state"},"y":{"type":"quantitative","title":"Counts","field":"count"}}},"syndrome":{"data":{"values":[{"count":258,"state":"00000"},{"count":266,"state":"01000"},{"count":246,"state":"10000"},{"count":254,"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":258,"01000":266,"10000":246,"11000":254},"visualisation_hint":"qec"}