{"name":"phaseflip","status":"ok","metadata":{"version":"3.0","date":"2026-05-13T10:17:32.854088Z","description":"phaseflip QEC demo","code_distance":3,"error_correction":"majority_vote"},"error_type":"phase_flip","example":"phaseflip","corrected_counts":{"000":478,"111":546},"counts_before":{"000":107,"001":128,"010":109,"011":146,"100":134,"101":127,"110":131,"111":142},"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.4668,"plots":{"corrected_counts":{"data":{"values":[{"count":478,"state":"000"},{"count":546,"state":"111"}]},"mark":"bar","encoding":{"x":{"type":"nominal","title":"State","field":"state"},"y":{"type":"quantitative","title":"Counts","field":"count"}}},"counts_before":{"data":{"values":[{"count":107,"state":"000"},{"count":128,"state":"001"},{"count":109,"state":"010"},{"count":146,"state":"011"},{"count":134,"state":"100"},{"count":127,"state":"101"},{"count":131,"state":"110"},{"count":142,"state":"111"}]},"mark":"bar","encoding":{"x":{"type":"nominal","title":"State","field":"state"},"y":{"type":"quantitative","title":"Counts","field":"count"}}},"syndrome":{"data":{"values":[{"count":256,"state":"00000"},{"count":264,"state":"01000"},{"count":250,"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":256,"01000":264,"10000":250,"11000":254},"visualisation_hint":"qec"}