{"name":"phaseflip","status":"ok","metadata":{"version":"3.0","date":"2026-06-02T11:15:16.414421Z","description":"phaseflip QEC demo","code_distance":3,"error_correction":"majority_vote"},"error_type":"phase_flip","example":"phaseflip","corrected_counts":{"000":505,"111":519},"counts_before":{"000":106,"001":139,"010":125,"011":121,"100":135,"101":120,"110":141,"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":4,"logical_fidelity":0.4932,"plots":{"corrected_counts":{"data":{"values":[{"count":505,"state":"000"},{"count":519,"state":"111"}]},"mark":"bar","encoding":{"x":{"type":"nominal","title":"State","field":"state"},"y":{"type":"quantitative","title":"Counts","field":"count"}}},"counts_before":{"data":{"values":[{"count":106,"state":"000"},{"count":139,"state":"001"},{"count":125,"state":"010"},{"count":121,"state":"011"},{"count":135,"state":"100"},{"count":120,"state":"101"},{"count":141,"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":274,"state":"00000"},{"count":262,"state":"01000"},{"count":250,"state":"10000"},{"count":238,"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":274,"01000":262,"10000":250,"11000":238},"visualisation_hint":"qec"}