{
 "bench": "QubiBench",
 "version": 1,
 "engine": "4.13",
 "date": "2026-10-06T19:05:44.445Z",
 "suites": {
  "circuits": "Circuits",
  "edits": "Code edits",
  "apps": "Simulator apps",
  "reasoning": "Reasoning"
 },
 "tasks": [
  {
   "id": "c-bell",
   "suite": "circuits",
   "prompt": "make a bell state"
  },
  {
   "id": "c-bell-psi-minus",
   "suite": "circuits",
   "prompt": "prepare the psi minus bell state"
  },
  {
   "id": "c-ghz4",
   "suite": "circuits",
   "prompt": "GHZ state on 4 qubits"
  },
  {
   "id": "c-w3",
   "suite": "circuits",
   "prompt": "make a 3 qubit W state"
  },
  {
   "id": "c-basis",
   "suite": "circuits",
   "prompt": "prepare the basis state |1011>"
  },
  {
   "id": "c-uniform3",
   "suite": "circuits",
   "prompt": "put 3 qubits in an equal superposition of all 8 states"
  },
  {
   "id": "c-75",
   "suite": "circuits",
   "prompt": "make qubit 0 measure 1 with 75% probability"
  },
  {
   "id": "c-grover",
   "suite": "circuits",
   "prompt": "grover search for 110 on 3 qubits"
  },
  {
   "id": "c-two-states",
   "suite": "circuits",
   "prompt": "a 4 qubit circuit where only 0101 and 1010 can be measured, with equal chance"
  },
  {
   "id": "c-even-parity",
   "suite": "circuits",
   "prompt": "a 3 qubit state where only the even parity states 000, 011, 101 and 110 appear, all equally likely"
  },
  {
   "id": "c-plus-i",
   "suite": "circuits",
   "prompt": "prepare (|0> + i|1>)/sqrt(2) on qubit 0"
  },
  {
   "id": "c-minus",
   "suite": "circuits",
   "prompt": "put qubit 0 in the |-> state"
  },
  {
   "id": "c-probs",
   "suite": "circuits",
   "prompt": "a 2 qubit state that measures 00 with 10%, 01 with 20%, 10 with 30% and 11 with 40% probability"
  },
  {
   "id": "c-bell-02",
   "suite": "circuits",
   "prompt": "entangle qubits 0 and 2 in a bell state and leave qubit 1 in |1>"
  },
  {
   "id": "c-flip5",
   "suite": "circuits",
   "prompt": "flip all 5 qubits to 1"
  },
  {
   "id": "c-qft",
   "suite": "circuits",
   "prompt": "apply a 3 qubit QFT to the state |000>"
  },
  {
   "id": "e-psi-plus",
   "suite": "edits",
   "prompt": "change my circuit so it makes the psi plus bell state instead",
   "start": "H 0\nCX [0,1]"
  },
  {
   "id": "e-ghz3",
   "suite": "edits",
   "prompt": "extend this to a 3 qubit GHZ state",
   "start": "H 0\nCX [0,1]"
  },
  {
   "id": "e-fix",
   "suite": "edits",
   "prompt": "fix my code, the CNOT should entangle qubit 0 with qubit 1",
   "start": "H 0\nCX (0,1)"
  },
  {
   "id": "e-remove-x",
   "suite": "edits",
   "prompt": "remove the X gate",
   "start": "X 0\nH 1"
  },
  {
   "id": "e-reverse",
   "suite": "edits",
   "prompt": "reverse the order of the gates",
   "start": "H 0\nCX [0,1]"
  },
  {
   "id": "e-h-to-x",
   "suite": "edits",
   "prompt": "replace every H gate with an X gate",
   "start": "H 0\nH 1\nH 2"
  },
  {
   "id": "e-retarget",
   "suite": "edits",
   "prompt": "change the CNOT target from qubit 1 to qubit 2",
   "start": "H 0\nCX [0,1]"
  },
  {
   "id": "e-loop",
   "suite": "edits",
   "prompt": "wrap my circuit in a loop that runs twice",
   "start": "X 0"
  },
  {
   "id": "e-measure",
   "suite": "edits",
   "prompt": "add a measurement of both qubits at the end",
   "start": "H 0\nCX [0,1]"
  },
  {
   "id": "e-add-z",
   "suite": "edits",
   "prompt": "add a Z gate on qubit 0 after the H",
   "start": "H 0"
  },
  {
   "id": "a-testword",
   "suite": "apps",
   "prompt": "make a spreadsheet for this circuit and replace the cell data in the 5th row for columns a through d with the word 'TESTWORD'",
   "start": "H 0\nCX [0,1]"
  },
  {
   "id": "a-headers",
   "suite": "apps",
   "prompt": "make a new spreadsheet called Results with headers State and Probability in the first row"
  },
  {
   "id": "a-sum",
   "suite": "apps",
   "prompt": "put the numbers 1 to 5 in B2 through B6 and their sum in B7"
  },
  {
   "id": "a-chart",
   "suite": "apps",
   "prompt": "add a pie chart of A1 to B5"
  },
  {
   "id": "a-sheets",
   "suite": "apps",
   "prompt": "rename the sheet to Data and add another sheet called Notes"
  },
  {
   "id": "a-slide",
   "suite": "apps",
   "prompt": "make a slideshow about this circuit and add a slide titled Summary with two bullet points",
   "start": "H 0\nCX [0,1]"
  },
  {
   "id": "a-three-slides",
   "suite": "apps",
   "prompt": "make a new slideshow with 3 slides: an intro titled Bell States, one with bullets about entanglement, and a closing slide"
  },
  {
   "id": "a-video",
   "suite": "apps",
   "prompt": "make a video from this circuit and add the text Hello World",
   "start": "H 0\nCX [0,1]"
  },
  {
   "id": "a-file",
   "suite": "apps",
   "prompt": "create a new qubi file called oracle"
  },
  {
   "id": "a-ghz10",
   "suite": "apps",
   "prompt": "set max qubits to 10 then make a 10 qubit GHZ state"
  },
  {
   "id": "a-grover-view",
   "suite": "apps",
   "prompt": "grover search for 101 and 110 on 3 qubits then show me the probabilities"
  },
  {
   "id": "a-bloch",
   "suite": "apps",
   "prompt": "open the bloch sphere view"
  },
  {
   "id": "a-cells-formula",
   "suite": "apps",
   "prompt": "put 21 in A1 and the formula =A1*2 in C3"
  },
  {
   "id": "r-toffoli",
   "suite": "reasoning",
   "prompt": "build a Toffoli gate (qubit 2 flips when qubits 0 and 1 are both 1) using only H, T, TDG and CX gates"
  },
  {
   "id": "r-swap-cx",
   "suite": "reasoning",
   "prompt": "swap qubits 0 and 1 using only CX gates"
  },
  {
   "id": "r-cz-from-hcx",
   "suite": "reasoning",
   "prompt": "after the two H gates, apply a CZ between qubits 0 and 1 built only from H and CX gates",
   "start": "H 0\nH 1"
  },
  {
   "id": "r-half-adder",
   "suite": "reasoning",
   "prompt": "a half adder: qubits 0 and 1 are the inputs, qubit 2 gets their sum bit and qubit 3 the carry bit, inputs unchanged"
  },
  {
   "id": "r-parity",
   "suite": "reasoning",
   "prompt": "write the parity of qubits 0, 1 and 2 into qubit 3, leaving qubits 0 to 2 unchanged"
  },
  {
   "id": "r-06-08",
   "suite": "reasoning",
   "prompt": "prepare 0.6|00> + 0.8|11> exactly"
  },
  {
   "id": "r-cos-pi8",
   "suite": "reasoning",
   "prompt": "prepare cos(pi/8)|0> + sin(pi/8)|1> on qubit 0"
  },
  {
   "id": "r-bv",
   "suite": "reasoning",
   "prompt": "Bernstein-Vazirani for the secret 101"
  },
  {
   "id": "r-grover2",
   "suite": "reasoning",
   "prompt": "grover search for 11 on 2 qubits with exactly one iteration, written out as gates"
  },
  {
   "id": "r-product",
   "suite": "reasoning",
   "prompt": "rotate qubits 0, 1 and 2 so that each measures 1 with probability 10%, 50% and 90% respectively, with no entanglement"
  },
  {
   "id": "r-phase-kick",
   "suite": "reasoning",
   "prompt": "prepare (|0> - i|1>)/sqrt(2) on qubit 0 using only H and S gates, applying S as many times as needed"
  }
 ],
 "runs": 1,
 "models": {
  "high": {
   "name": "Pauli 2.0 Deep",
   "results": [
    {
     "id": "c-bell",
     "suite": "circuits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 2738,
     "costNanos": 5320625,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"bellState\",\"params\":{\"bellType\":\"phi_plus\"},\"callMode\":\"function\"}]",
     "code": "Bell(\"phi_plus\")",
     "run": 0
    },
    {
     "id": "c-bell-psi-minus",
     "suite": "circuits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 5488,
     "costNanos": 5758000,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"bellState\",\"params\":{\"bellType\":\"psi_minus\"},\"callMode\":\"function\"}]",
     "code": "Bell(\"psi_minus\")",
     "run": 0
    },
    {
     "id": "c-ghz4",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (1111:0.50 0000:0.50)",
     "ms": 7606,
     "costNanos": 6260375,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"ghzState\",\"params\":{\"numQubits\":4},\"callMode\":\"function\"}]",
     "code": "GHZ(0..3)",
     "run": 0
    },
    {
     "id": "c-w3",
     "suite": "circuits",
     "pass": false,
     "detail": "TVD 1.000 (000:1.00)",
     "ms": 4243,
     "costNanos": 5625375,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [
      "fail: Unknown algorithm \"whzState\". Try: bellState, ghzState, wState, superdense, teleportation, deutschJozsa, bernsteinVazirani, grovers, qft, iqft, shor, statePreparation"
     ],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"whzState\",\"params\":{\"numQubits\":3},\"callMode\":\"function\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "c-basis",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (1011:1.00)",
     "ms": 7531,
     "costNanos": 6709188,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"#settings MaxQubits 4\\nX 0\\nX 1\\nX 3\",\"mode\":\"replace\"}]",
     "code": "X 0\nX 1\nX 3",
     "run": 0
    },
    {
     "id": "c-uniform3",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (100:0.13 101:0.13 110:0.13 111:0.13)",
     "ms": 10916,
     "costNanos": 7263688,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"#settings VisibleQubits 3\\nH 0\\nH 1\\nH 2\",\"mode\":\"replace\"}]",
     "code": "H 0\nH 1\nH 2",
     "run": 0
    },
    {
     "id": "c-75",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (1:0.75 0:0.25)",
     "ms": 28128,
     "costNanos": 11971313,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"RY 0 0.6667\\nMEASURE 0\",\"mode\":\"replace\"}]",
     "code": "RY 0 0.6667\nMEASURE 0",
     "run": 0
    },
    {
     "id": "c-grover",
     "suite": "circuits",
     "pass": true,
     "detail": "P(110) = 0.945",
     "ms": 4473,
     "costNanos": 5848938,
     "via": "model",
     "ops": [
      "load_algorithm",
      "analysis_view"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"grovers\",\"params\":{\"numQubits\":3,\"target\":\"110\"},\"callMode\":\"function\"},{\"op\":\"analysis_view\",\"tab\":\"probabilities\"}]",
     "code": "Grover(0b110)",
     "run": 0
    },
    {
     "id": "c-two-states",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (1010:0.50 0101:0.50)",
     "ms": 45548,
     "costNanos": 19437000,
     "via": "model",
     "ops": [
      "set_code",
      "run_circuit",
      "analysis_view"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"#settings MaxQubits 4\\n#settings VisibleQubits 4\\n\\nH 0\\nCX [0,2]\\nX 1\\nX 3\\nCX [0,1]\\nCX [0,3]\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"},{\"op\":\"analysis_view\",\"tab\":\"probabilities\"}]",
     "code": "H 0\nCX [0,2]\nX 1\nX 3\nCX [0,1]\nCX [0,3]",
     "run": 0
    },
    {
     "id": "c-even-parity",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (101:0.25 110:0.25 000:0.25 011:0.25)",
     "ms": 25107,
     "costNanos": 11724125,
     "via": "model",
     "ops": [
      "set_settings",
      "set_settings",
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_settings\",\"key\":\"MaxQubits\",\"value\":3},{\"op\":\"set_settings\",\"key\":\"VisibleQubits\",\"value\":3},{\"op\":\"set_code\",\"code\":\"H 0\\nH 1\\nCX [1,2]\\nCX [0,2]\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "H 0\nH 1\nCX [1,2]\nCX [0,2]",
     "run": 0
    },
    {
     "id": "c-plus-i",
     "suite": "circuits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 6774,
     "costNanos": 6749625,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"H 0\\nS 0\",\"mode\":\"replace\"}]",
     "code": "H 0\nS 0",
     "run": 0
    },
    {
     "id": "c-minus",
     "suite": "circuits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 3175,
     "costNanos": 5622750,
     "via": "model",
     "ops": [
      "append_gates",
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"X\",\"wireExpr\":\"0\"},{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"0\"}]",
     "code": "X 0\nH 0",
     "run": 0
    },
    {
     "id": "c-probs",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (11:0.40 10:0.30 01:0.20 00:0.10)",
     "ms": 108680,
     "costNanos": 45628050,
     "via": "model",
     "ops": [
      "prepare_state"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"prepare_state\",\"kind\":\"mixed\",\"terms\":[{\"bits\":\"00\",\"prob\":0.1},{\"bits\":\"01\",\"prob\":0.2},{\"bits\":\"10\",\"prob\":0.3},{\"bits\":\"11\",\"prob\":0.4}],\"numQubits\":2,\"mode\":\"replace\"}]",
     "code": "// 20% |01⟩ + 30% |10⟩ + 40% |11⟩\nStatePreparation((0b01,0b10,0b11), (0.2,0.3,0.4), 0..1)",
     "run": 0
    },
    {
     "id": "c-bell-02",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (111:0.50 010:0.50)",
     "ms": 8454,
     "costNanos": 7477000,
     "via": "model",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"#settings MaxQubits 3\\n#settings VisibleQubits 3\\n\\nX 1\\nH 0\\nCX [0,2]\\n\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "X 1\nH 0\nCX [0,2]\n",
     "run": 0
    },
    {
     "id": "c-flip5",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (11111:1.00)",
     "ms": 4310,
     "costNanos": 6196563,
     "via": "model",
     "ops": [
      "set_settings",
      "set_settings",
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_settings\",\"key\":\"MaxQubits\",\"value\":5},{\"op\":\"set_settings\",\"key\":\"VisibleQubits\",\"value\":5},{\"op\":\"append_gates\",\"gate\":\"X\",\"wireExpr\":\"all\"}]",
     "code": "X all",
     "run": 0
    },
    {
     "id": "c-qft",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (100:0.13 101:0.13 110:0.13 111:0.13)",
     "ms": 8320,
     "costNanos": 6781313,
     "via": "model",
     "ops": [
      "set_settings",
      "set_settings",
      "compose_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_settings\",\"key\":\"MaxQubits\",\"value\":3},{\"op\":\"set_settings\",\"key\":\"VisibleQubits\",\"value\":3},{\"op\":\"compose_circuit\",\"parts\":[{\"type\":\"prepare\",\"kind\":\"basis\",\"bits\":\"000\"},{\"type\":\"algorithm\",\"name\":\"qft\",\"params\":{\"numQubits\":3},\"callMode\":\"function\"}],\"mode\":\"replace\"}]",
     "code": "// Prepare |000⟩\n// |0...0⟩: no X gates needed\n\nQFT()",
     "run": 0
    },
    {
     "id": "e-psi-plus",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (10:0.50 01:0.50)",
     "ms": 20277,
     "costNanos": 14395813,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"bellState\",\"params\":{\"bellType\":\"psi_plus\"},\"callMode\":\"function\"}]",
     "code": "Bell(\"psi_plus\")",
     "run": 0
    },
    {
     "id": "e-ghz3",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (111:0.50 000:0.50)",
     "ms": 3934,
     "costNanos": 6494625,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"#settings MaxQubits 3\\nH 0\\nCX [0,1]\\nCX [0,2]\",\"mode\":\"replace\"}]",
     "code": "H 0\nCX [0,1]\nCX [0,2]",
     "run": 0
    },
    {
     "id": "e-fix",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (11:0.50 00:0.50)",
     "ms": 2789,
     "costNanos": 5737563,
     "via": "model",
     "ops": [
      "fix_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"fix_code\"}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "e-remove-x",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (10:0.50 00:0.50)",
     "ms": 1683,
     "costNanos": 5392750,
     "via": "model",
     "ops": [
      "edit_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"edit_code\",\"find\":\"X 0\\n\",\"replace\":\"\"}]",
     "code": "H 1",
     "run": 0
    },
    {
     "id": "e-reverse",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (00:0.50 01:0.50)",
     "ms": 2450,
     "costNanos": 5368688,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"CX [0,1]\\nH 0\",\"mode\":\"replace\"}]",
     "code": "CX [0,1]\nH 0",
     "run": 0
    },
    {
     "id": "e-h-to-x",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (111:1.00)",
     "ms": 1899,
     "costNanos": 5317250,
     "via": "model",
     "ops": [
      "edit_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"edit_code\",\"find\":\"H\",\"replace\":\"X\",\"all\":true}]",
     "code": "X 0\nX 1\nX 2",
     "run": 0
    },
    {
     "id": "e-retarget",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (101:0.50 000:0.50)",
     "ms": 10631,
     "costNanos": 7714375,
     "via": "model",
     "ops": [
      "edit_code",
      "set_settings"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"edit_code\",\"find\":\"CX [0,1]\",\"replace\":\"CX [0,2]\"},{\"op\":\"set_settings\",\"key\":\"MaxQubits\",\"value\":3}]",
     "code": "H 0\nCX [0,2]",
     "run": 0
    },
    {
     "id": "e-loop",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (0:1.00); ok",
     "ms": 2380,
     "costNanos": 5243938,
     "via": "model",
     "ops": [
      "wrap_loop"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"wrap_loop\",\"count\":\"2\"}]",
     "code": "LOOP 2 {\n  X 0\n}",
     "run": 0
    },
    {
     "id": "e-measure",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (11:0.50 00:0.50); ok",
     "ms": 3426,
     "costNanos": 5683438,
     "via": "model",
     "ops": [
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"MEASURE\",\"wireExpr\":\"(0,1)\"}]",
     "code": "H 0\nCX [0,1]\nMEASURE ((0,1))",
     "run": 0
    },
    {
     "id": "e-add-z",
     "suite": "edits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 2155,
     "costNanos": 5452500,
     "via": "model",
     "ops": [
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"Z\",\"wireExpr\":\"0\"}]",
     "code": "H 0\nZ 0",
     "run": 0
    },
    {
     "id": "a-testword",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 2815,
     "costNanos": 5519813,
     "via": "model",
     "ops": [
      "spreadsheet_from_circuit",
      "spreadsheet_set_cells"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_from_circuit\"},{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":4,\"col\":\"A\",\"value\":\"TESTWORD\"},{\"row\":4,\"col\":\"B\",\"value\":\"TESTWORD\"},{\"row\":4,\"col\":\"C\",\"value\":\"TESTWORD\"},{\"row\":4,\"col\":\"D\",\"value\":\"TESTWORD\"}]}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "a-headers",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 2320,
     "costNanos": 5388688,
     "via": "model",
     "ops": [
      "spreadsheet_new",
      "spreadsheet_set_cells"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_new\",\"title\":\"Results\"},{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":0,\"col\":\"A\",\"value\":\"State\"},{\"row\":0,\"col\":\"B\",\"value\":\"Probability\"}]}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-sum",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 5786,
     "costNanos": 6869625,
     "via": "model",
     "ops": [
      "spreadsheet_set_cells",
      "spreadsheet_set_cells"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":1,\"col\":\"B\",\"value\":\"1\"},{\"row\":2,\"col\":\"B\",\"value\":\"2\"},{\"row\":3,\"col\":\"B\",\"value\":\"3\"},{\"row\":4,\"col\":\"B\",\"value\":\"4\"},{\"row\":5,\"col\":\"B\",\"value\":\"5\"}]},{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":6,\"col\":\"B\",\"value\":\"=SUM(B2:B6)\"}]}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-chart",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 6853,
     "costNanos": 6637750,
     "via": "model",
     "ops": [
      "spreadsheet_new",
      "spreadsheet_add_chart"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_new\",\"title\":\"Chart\"},{\"op\":\"spreadsheet_add_chart\",\"range\":\"A1:B5\",\"type\":\"pie\",\"title\":\"Pie Chart\",\"r0\":0,\"r1\":4,\"c0\":0,\"c1\":1}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-sheets",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 8715,
     "costNanos": 8178938,
     "via": "model",
     "ops": [
      "spreadsheet_new",
      "spreadsheet_rename_sheet",
      "spreadsheet_add_sheet"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_new\",\"title\":\"Workbook\"},{\"op\":\"spreadsheet_rename_sheet\",\"sheet\":\"Sheet1\",\"name\":\"Data\"},{\"op\":\"spreadsheet_add_sheet\",\"name\":\"Notes\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-slide",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 13050,
     "costNanos": 6315563,
     "via": "model",
     "ops": [
      "slides_from_circuit",
      "slides_add"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"slides_from_circuit\",\"title\":\"Bell State Circuit\"},{\"op\":\"slides_add\",\"layout\":\"bullets\",\"title\":\"Summary\",\"bullets\":[\"The Hadamard gate on qubit 0 creates an equal superposition of |0⟩ and |1⟩.\",\"The CNOT gate entangles qubits 0 and 1 into the Bell state |Φ+⟩ = (|00⟩ + |11⟩)/√2.\"]}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "a-three-slides",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 3638,
     "costNanos": 6052938,
     "via": "model",
     "ops": [
      "slides_new",
      "slides_add",
      "slides_add",
      "slides_add"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"slides_new\",\"title\":\"Bell States\"},{\"op\":\"slides_add\",\"layout\":\"title\",\"title\":\"Bell States\",\"subtitle\":\"An introduction to maximally entangled two-qubit states\"},{\"op\":\"slides_add\",\"layout\":\"bullets\",\"title\":\"Entanglement\",\"bullets\":[\"Entanglement is a quantum correlation with no classical analog\",\"Measuring one qubit instantly determines the state of the other\",\"Bell states form a complete orthonormal basis for two qubits\",\"Entanglement is a key resource for quantum communication and computing\"]},{\"op\":\"slides_add\",\"layout\":\"closing\",\"title\":\"Thank You\",\"subtitle\":\"Bell States and Quantum Entanglement\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-video",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 2153,
     "costNanos": 5230813,
     "via": "model",
     "ops": [
      "videos_from_circuit",
      "videos_add_text"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"videos_from_circuit\"},{\"op\":\"videos_add_text\",\"text\":\"Hello World\"}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "a-file",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 2160,
     "costNanos": 5285375,
     "via": "model",
     "ops": [
      "storage_create"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"storage_create\",\"kind\":\"qubi\",\"name\":\"oracle\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-ghz10",
     "suite": "apps",
     "pass": true,
     "detail": "ok; TVD 0.000 (1111111111:0.50 0000000000:0.50)",
     "ms": 3148,
     "costNanos": 5596063,
     "via": "model",
     "ops": [
      "set_settings",
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_settings\",\"key\":\"MaxQubits\",\"value\":10},{\"op\":\"load_algorithm\",\"name\":\"ghzState\",\"params\":{\"numQubits\":10},\"callMode\":\"function\"}]",
     "code": "GHZ(0..9)",
     "run": 0
    },
    {
     "id": "a-grover-view",
     "suite": "apps",
     "pass": true,
     "detail": "ok; ok",
     "ms": 4637,
     "costNanos": 5878438,
     "via": "model",
     "ops": [
      "load_algorithm",
      "analysis_view"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"grovers\",\"params\":{\"numQubits\":3,\"target\":\"101,110\"},\"callMode\":\"function\"},{\"op\":\"analysis_view\",\"tab\":\"probabilities\"}]",
     "code": "Grover((0b101, 0b110))",
     "run": 0
    },
    {
     "id": "a-bloch",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 2779,
     "costNanos": 5403000,
     "via": "model",
     "ops": [
      "switch_tab",
      "analysis_view"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"switch_tab\",\"tab\":\"analysis\"},{\"op\":\"analysis_view\",\"tab\":\"bloch\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-cells-formula",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 3373,
     "costNanos": 5676063,
     "via": "model",
     "ops": [
      "spreadsheet_set_cells"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":0,\"col\":\"A\",\"value\":21},{\"row\":2,\"col\":\"C\",\"value\":\"=A1*2\"}]}]",
     "code": "",
     "run": 0
    },
    {
     "id": "r-toffoli",
     "suite": "reasoning",
     "pass": true,
     "detail": "gates H CX TDG T; all 8 inputs right",
     "ms": 12314,
     "costNanos": 8659813,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"#settings MaxQubits 3\\n#settings VisibleQubits 3\\n// Toffoli: flip qubit 2 when qubits 0 and 1 are both |1>\\nH 2\\nCX [1,2]\\nTDG 2\\nCX [0,2]\\nT 2\\nCX [1,2]\\nTDG 2\\nCX [0,2]\\nT 1\\nT 2\\nCX [0,1]\\nTDG 1\\nCX [0,1]\\nH 2\\n\",\"mode\":\"replace\"}]",
     "code": "// Toffoli: flip qubit 2 when qubits 0 and 1 are both |1>\nH 2\nCX [1,2]\nTDG 2\nCX [0,2]\nT 2\nCX [1,2]\nTDG 2\nCX [0,2]\nT 1\nT 2\nCX [0,1]\nTDG 1\nCX [0,1]\nH 2\n",
     "run": 0
    },
    {
     "id": "r-swap-cx",
     "suite": "reasoning",
     "pass": true,
     "detail": "gates CX; all 4 inputs right",
     "ms": 2107,
     "costNanos": 5535125,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"CX [0,1]\\nCX [1,0]\\nCX [0,1]\",\"mode\":\"replace\"}]",
     "code": "CX [0,1]\nCX [1,0]\nCX [0,1]",
     "run": 0
    },
    {
     "id": "r-cz-from-hcx",
     "suite": "reasoning",
     "pass": true,
     "detail": "gates H CX; fidelity 1.000",
     "ms": 14822,
     "costNanos": 9867688,
     "via": "model",
     "ops": [
      "append_gates",
      "append_gates",
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"1\",\"mode\":\"append\"},{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"[0,1]\",\"mode\":\"append\"},{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"1\",\"mode\":\"append\"}]",
     "code": "H 0\nH 1\nH 1\nCX [0,1]\nH 1",
     "run": 0
    },
    {
     "id": "r-half-adder",
     "suite": "reasoning",
     "pass": true,
     "detail": "all 4 inputs right",
     "ms": 13222,
     "costNanos": 9052438,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"mode\":\"replace\",\"code\":\"#settings MaxQubits 4\\n#settings VisibleQubits 4\\n\\n// Half adder: inputs qubits 0 and 1 are unchanged.\\n// qubit 2 = sum (XOR), qubit 3 = carry (AND).\\n\\n// Sum bit: q2 = q0 XOR q1\\nCX [0,2]\\nCX [1,2]\\n\\n// Carry bit: q3 = q0 AND q1 (Toffoli decomposition)\\nH 3\\nCX [1,3]\\nTDG 3\\nCX [0,3]\\nT 3\\nCX [1,3]\\nTDG 3\\nCX [0,3]\\nT 1\\nT 3\\nCX [0,1]\\nT 0\\nTDG 1\\nCX [0,1]\\nH 3\\n\"}]",
     "code": "// Half adder: inputs qubits 0 and 1 are unchanged.\n// qubit 2 = sum (XOR), qubit 3 = carry (AND).\n\n// Sum bit: q2 = q0 XOR q1\nCX [0,2]\nCX [1,2]\n\n// Carry bit: q3 = q0 AND q1 (Toffoli decomposition)\nH 3\nCX [1,3]\nTDG 3\nCX [0,3]\nT 3\nCX [1,3]\nTDG 3\nCX [0,3]\nT 1\nT 3\nCX [0,1]\nT 0\nTDG 1\nCX [0,1]\nH 3\n",
     "run": 0
    },
    {
     "id": "r-parity",
     "suite": "reasoning",
     "pass": true,
     "detail": "all 8 inputs right",
     "ms": 6943,
     "costNanos": 6535313,
     "via": "model",
     "ops": [
      "set_settings",
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_settings\",\"key\":\"MaxQubits\",\"value\":4},{\"op\":\"set_code\",\"code\":\"#settings MaxQubits 4\\n\\n// Compute parity q0 XOR q1 XOR q2 into q3 (starts at |0>)\\nCX [0, 3]\\nCX [1, 3]\\nCX [2, 3]\\n\",\"mode\":\"replace\"}]",
     "code": "// Compute parity q0 XOR q1 XOR q2 into q3 (starts at |0>)\nCX [0, 3]\nCX [1, 3]\nCX [2, 3]\n",
     "run": 0
    },
    {
     "id": "r-06-08",
     "suite": "reasoning",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 16127,
     "costNanos": 9046063,
     "via": "model",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"RY 0 2*acos(0.6)/pi\\nCX [0,1]\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "RY 0 2*acos(0.6)/pi\nCX [0,1]",
     "run": 0
    },
    {
     "id": "r-cos-pi8",
     "suite": "reasoning",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 5922,
     "costNanos": 6270813,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"RY 0 0.25\\n\",\"mode\":\"replace\"}]",
     "code": "RY 0 0.25\n",
     "run": 0
    },
    {
     "id": "r-bv",
     "suite": "reasoning",
     "pass": false,
     "detail": "P(q0,1,2 = 101) = 0.000",
     "ms": 5941,
     "costNanos": 6147750,
     "via": "model",
     "ops": [
      "set_settings",
      "set_settings",
      "load_algorithm",
      "run_circuit"
     ],
     "failedSteps": [
      "fail: This circuit uses qubits 0–3 (4 qubits) but MaxQubits is 3. Increase MaxQubits in Settings, or ask to set max qubits to 4."
     ],
     "plan": "[{\"op\":\"set_settings\",\"key\":\"MaxQubits\",\"value\":3},{\"op\":\"set_settings\",\"key\":\"VisibleQubits\",\"value\":3},{\"op\":\"load_algorithm\",\"name\":\"bernsteinVazirani\",\"params\":{\"secret\":\"101\"},\"callMode\":\"function\"},{\"op\":\"run_circuit\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "r-grover2",
     "suite": "reasoning",
     "pass": true,
     "detail": "P(11) = 1.000",
     "ms": 20377,
     "costNanos": 11464625,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"grovers\",\"params\":{\"numQubits\":2,\"target\":\"11\"},\"callMode\":\"gates\"}]",
     "code": "H (0,1)\n\nLOOP 1 {\n\tCZ [0,1]\n\tH (0,1)\n\tX (0,1)\n\tCZ [0,1]\n\tX (0,1)\n\tH (0,1)\n}",
     "run": 0
    },
    {
     "id": "r-product",
     "suite": "reasoning",
     "pass": true,
     "detail": "TVD 0.000 (110:0.41 100:0.40 111:0.05 010:0.05)",
     "ms": 15690,
     "costNanos": 8653625,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"#settings MaxQubits 3\\n#settings VisibleQubits 3\\n\\nRY 0 2*asin(sqrt(0.1))/pi\\nRY 1 2*asin(sqrt(0.5))/pi\\nRY 2 2*asin(sqrt(0.9))/pi\\n\",\"mode\":\"replace\"}]",
     "code": "RY 0 2*asin(sqrt(0.1))/pi\nRY 1 2*asin(sqrt(0.5))/pi\nRY 2 2*asin(sqrt(0.9))/pi\n",
     "run": 0
    },
    {
     "id": "r-phase-kick",
     "suite": "reasoning",
     "pass": true,
     "detail": "gates H S; fidelity 1.000",
     "ms": 7392,
     "costNanos": 7001250,
     "via": "model",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"H 0\\nS 0\\nS 0\\nS 0\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "H 0\nS 0\nS 0\nS 0",
     "run": 0
    }
   ]
  },
  "medium": {
   "name": "Pauli 2.0 Medium",
   "results": [
    {
     "id": "c-bell",
     "suite": "circuits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 2682,
     "costNanos": 2009375,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"bellState\",\"params\":{\"bellType\":\"phi_plus\"},\"callMode\":\"gates\"}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "c-bell-psi-minus",
     "suite": "circuits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 3906,
     "costNanos": 2133063,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"bellState\",\"params\":{\"bellType\":\"psi_minus\"},\"callMode\":\"gates\"}]",
     "code": "X 1\nH 0\nCX [0,1]\nZ 1",
     "run": 0
    },
    {
     "id": "c-ghz4",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (1111:0.50 0000:0.50)",
     "ms": 4344,
     "costNanos": 2060813,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"ghzState\",\"params\":{\"numQubits\":4},\"callMode\":\"gates\"}]",
     "code": "H 0\nCX [0,1]\nCX [1,2]\nCX [2,3]",
     "run": 0
    },
    {
     "id": "c-w3",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (001:0.33 010:0.33 100:0.33)",
     "ms": 14905,
     "costNanos": 2121750,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"wState\",\"params\":{\"numQubits\":3},\"callMode\":\"gates\"}]",
     "code": "X 2\nRY 1 -0.304087\nCZ [2,1]\nRY 1 0.304087\nRY 0 -0.250000\nCZ [1,0]\nRY 0 0.250000\nCX [1,2]\nCX [0,1]",
     "run": 0
    },
    {
     "id": "c-basis",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (1011:1.00)",
     "ms": 2787,
     "costNanos": 2059438,
     "via": "model",
     "ops": [
      "prepare_state"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"prepare_state\",\"kind\":\"basis\",\"bits\":\"1011\",\"mode\":\"replace\"}]",
     "code": "// Prepare |1011⟩\nX (0,1,3)",
     "run": 0
    },
    {
     "id": "c-uniform3",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (100:0.13 101:0.13 110:0.13 111:0.13)",
     "ms": 3641,
     "costNanos": 2043250,
     "via": "model",
     "ops": [
      "prepare_state"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"prepare_state\",\"kind\":\"plus\",\"numQubits\":3,\"mode\":\"replace\"}]",
     "code": "// |+⟩⊗3\nH (0..2)",
     "run": 0
    },
    {
     "id": "c-75",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (1:0.75 0:0.25)",
     "ms": 8572,
     "costNanos": 2150188,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"RY 0 0.6666667\",\"mode\":\"replace\"}]",
     "code": "RY 0 0.6666667",
     "run": 0
    },
    {
     "id": "c-grover",
     "suite": "circuits",
     "pass": true,
     "detail": "P(110) = 0.945",
     "ms": 4943,
     "costNanos": 2047125,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"grovers\",\"params\":{\"numQubits\":3,\"target\":\"110\"},\"callMode\":\"gates\"}]",
     "code": "H (0,1,2)\n\nLOOP 2 {\n\tX 0\n\tCZ [0,1,2]\n\tX 0\n\tH (0,1,2)\n\tX (0,1,2)\n\tCZ [0,1,2]\n\tX (0,1,2)\n\tH (0,1,2)\n}",
     "run": 0
    },
    {
     "id": "c-two-states",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (1010:0.50 0101:0.50)",
     "ms": 15489,
     "costNanos": 3242563,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"H 3\\nX 2\\nCX [3,2]\\nCX [3,1]\\nCX [2,0]\\nMEASURE (0,1,2,3)\",\"mode\":\"replace\"}]",
     "code": "H 3\nX 2\nCX [3,2]\nCX [3,1]\nCX [2,0]\nMEASURE (0,1,2,3)",
     "run": 0
    },
    {
     "id": "c-even-parity",
     "suite": "circuits",
     "pass": false,
     "detail": "TVD 0.750 (000:1.00)",
     "ms": 11242,
     "costNanos": 2342375,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"prepare_state {kind:\\\"mixed\\\", terms:[{bits:\\\"000\\\", prob:0.25}, {bits:\\\"011\\\", prob:0.25}, {bits:\\\"101\\\", prob:0.25}, {bits:\\\"110\\\", prob:0.25}]}\",\"mode\":\"replace\"}]",
     "code": "prepare_state {kind:\"mixed\", terms:[{bits:\"000\", prob:0.25}, {bits:\"011\", prob:0.25}, {bits:\"101\", prob:0.25}, {bits:\"110\", prob:0.25}]}",
     "run": 0
    },
    {
     "id": "c-plus-i",
     "suite": "circuits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 4340,
     "costNanos": 2167313,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"H 0\\nS 0\",\"mode\":\"replace\"}]",
     "code": "H 0\nS 0",
     "run": 0
    },
    {
     "id": "c-minus",
     "suite": "circuits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 7425,
     "costNanos": 2092625,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"X 0\\nH 0\",\"mode\":\"replace\"}]",
     "code": "X 0\nH 0",
     "run": 0
    },
    {
     "id": "c-probs",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (11:0.40 10:0.30 01:0.20 00:0.10)",
     "ms": 11584,
     "costNanos": 2216563,
     "via": "model",
     "ops": [
      "prepare_state"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"prepare_state\",\"kind\":\"mixed\",\"terms\":[{\"bits\":\"00\",\"prob\":0.1},{\"bits\":\"01\",\"prob\":0.2},{\"bits\":\"10\",\"prob\":0.3},{\"bits\":\"11\",\"prob\":0.4}],\"mode\":\"replace\",\"numQubits\":2}]",
     "code": "// 20% |01⟩ + 30% |10⟩ + 40% |11⟩\nStatePreparation((0b01,0b10,0b11), (0.2,0.3,0.4), 0..1)",
     "run": 0
    },
    {
     "id": "c-bell-02",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (111:0.50 010:0.50)",
     "ms": 13928,
     "costNanos": 2737250,
     "via": "model",
     "ops": [
      "set_settings",
      "prepare_state",
      "append_gates",
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_settings\",\"key\":\"MaxQubits\",\"value\":3},{\"op\":\"prepare_state\",\"kind\":\"basis\",\"bits\":\"010\",\"mode\":\"replace\"},{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"2\"},{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"[2,0]\"}]",
     "code": "// Prepare |010⟩\nX 1\nH 2\nCX [2,0]",
     "run": 0
    },
    {
     "id": "c-flip5",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (11111:1.00)",
     "ms": 3139,
     "costNanos": 2122188,
     "via": "model",
     "ops": [
      "set_settings",
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_settings\",\"key\":\"MaxQubits\",\"value\":5},{\"op\":\"append_gates\",\"gate\":\"X\",\"wireExpr\":\"0..4\"}]",
     "code": "X (0..4)",
     "run": 0
    },
    {
     "id": "c-qft",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (100:0.13 101:0.13 110:0.13 111:0.13)",
     "ms": 6001,
     "costNanos": 2102375,
     "via": "model",
     "ops": [
      "compose_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"compose_circuit\",\"parts\":[{\"type\":\"prepare\",\"kind\":\"basis\",\"bits\":\"000\",\"numQubits\":3},{\"type\":\"algorithm\",\"name\":\"qft\",\"params\":{\"numQubits\":3},\"callMode\":\"function\"}],\"mode\":\"replace\"}]",
     "code": "// Prepare |000⟩\n// |0...0⟩: no X gates needed\n\nQFT()",
     "run": 0
    },
    {
     "id": "e-psi-plus",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (10:0.50 01:0.50)",
     "ms": 12171,
     "costNanos": 2631813,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"X 1\\nH 0\\nCX [0,1]\",\"mode\":\"replace\"}]",
     "code": "X 1\nH 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "e-ghz3",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (111:0.50 000:0.50)",
     "ms": 10482,
     "costNanos": 2202938,
     "via": "model",
     "ops": [
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"[0,2]\"}]",
     "code": "H 0\nCX [0,1]\nCX [0,2]",
     "run": 0
    },
    {
     "id": "e-fix",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (11:0.50 00:0.50)",
     "ms": 2970,
     "costNanos": 2136688,
     "via": "model",
     "ops": [
      "edit_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"edit_code\",\"find\":\"CX (0,1)\",\"replace\":\"CX [0,1]\"}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "e-remove-x",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (10:0.50 00:0.50)",
     "ms": 2291,
     "costNanos": 2044813,
     "via": "model",
     "ops": [
      "edit_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"edit_code\",\"find\":\"X 0\\n\",\"replace\":\"\"}]",
     "code": "H 1",
     "run": 0
    },
    {
     "id": "e-reverse",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (00:0.50 01:0.50)",
     "ms": 2177,
     "costNanos": 1985125,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"CX [0,1]\\nH 0\",\"mode\":\"replace\"}]",
     "code": "CX [0,1]\nH 0",
     "run": 0
    },
    {
     "id": "e-h-to-x",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (111:1.00)",
     "ms": 3667,
     "costNanos": 1988313,
     "via": "model",
     "ops": [
      "edit_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"edit_code\",\"find\":\"H\",\"replace\":\"X\",\"all\":true}]",
     "code": "X 0\nX 1\nX 2",
     "run": 0
    },
    {
     "id": "e-retarget",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (101:0.50 000:0.50)",
     "ms": 1679,
     "costNanos": 2072500,
     "via": "model",
     "ops": [
      "edit_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"edit_code\",\"find\":\"CX [0,1]\",\"replace\":\"CX [0,2]\"}]",
     "code": "H 0\nCX [0,2]",
     "run": 0
    },
    {
     "id": "e-loop",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (0:1.00); ok",
     "ms": 3420,
     "costNanos": 1988063,
     "via": "model",
     "ops": [
      "wrap_loop"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"wrap_loop\",\"count\":\"2\"}]",
     "code": "LOOP 2 {\n  X 0\n}",
     "run": 0
    },
    {
     "id": "e-measure",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (11:0.50 00:0.50); ok",
     "ms": 3458,
     "costNanos": 2086250,
     "via": "model",
     "ops": [
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"MEASURE\",\"wireExpr\":\"(0,1)\"}]",
     "code": "H 0\nCX [0,1]\nMEASURE ((0,1))",
     "run": 0
    },
    {
     "id": "e-add-z",
     "suite": "edits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 1697,
     "costNanos": 1960313,
     "via": "model",
     "ops": [
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"Z\",\"wireExpr\":\"0\"}]",
     "code": "H 0\nZ 0",
     "run": 0
    },
    {
     "id": "a-testword",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 3691,
     "costNanos": 2037875,
     "via": "model",
     "ops": [
      "spreadsheet_from_circuit",
      "spreadsheet_set_cells"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_from_circuit\"},{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":4,\"col\":\"A\",\"value\":\"TESTWORD\"},{\"row\":4,\"col\":\"B\",\"value\":\"TESTWORD\"},{\"row\":4,\"col\":\"C\",\"value\":\"TESTWORD\"},{\"row\":4,\"col\":\"D\",\"value\":\"TESTWORD\"}]}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "a-headers",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 7402,
     "costNanos": 4825763,
     "via": "model",
     "ops": [
      "spreadsheet_new",
      "spreadsheet_set_cells"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_new\",\"title\":\"Results\"},{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":0,\"col\":\"A\",\"value\":\"State\"},{\"row\":0,\"col\":\"B\",\"value\":\"Probability\"}]}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-sum",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 4454,
     "costNanos": 2179500,
     "via": "model",
     "ops": [
      "spreadsheet_set_cells",
      "spreadsheet_set_cells"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":1,\"col\":\"B\",\"value\":1},{\"row\":2,\"col\":\"B\",\"value\":2},{\"row\":3,\"col\":\"B\",\"value\":3},{\"row\":4,\"col\":\"B\",\"value\":4},{\"row\":5,\"col\":\"B\",\"value\":5}],\"sheet\":\"Sheet1\"},{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":6,\"col\":\"B\",\"value\":\"=SUM(B2:B6)\"}],\"sheet\":\"Sheet1\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-chart",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 4807,
     "costNanos": 2045750,
     "via": "model",
     "ops": [
      "spreadsheet_from_circuit",
      "spreadsheet_add_chart"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_from_circuit\"},{\"op\":\"spreadsheet_add_chart\",\"range\":\"A1:B5\",\"type\":\"pie\",\"r0\":0,\"r1\":4,\"c0\":0,\"c1\":1}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-sheets",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 4776,
     "costNanos": 2236500,
     "via": "model",
     "ops": [
      "spreadsheet_new",
      "spreadsheet_rename_sheet",
      "spreadsheet_add_sheet"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_new\",\"title\":\"Data\"},{\"op\":\"spreadsheet_rename_sheet\",\"sheet\":\"Sheet1\",\"name\":\"Data\"},{\"op\":\"spreadsheet_add_sheet\",\"name\":\"Notes\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-slide",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 4053,
     "costNanos": 2121688,
     "via": "model",
     "ops": [
      "slides_from_circuit",
      "slides_add"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"slides_from_circuit\"},{\"op\":\"slides_add\",\"layout\":\"bullets\",\"title\":\"Summary\",\"bullets\":[\"First key point\",\"Second key point\"]}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "a-three-slides",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 6369,
     "costNanos": 2205063,
     "via": "model",
     "ops": [
      "slides_new",
      "slides_add",
      "slides_add",
      "slides_add"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"slides_new\",\"title\":\"Bell States\"},{\"op\":\"slides_add\",\"layout\":\"title\",\"title\":\"Bell States\"},{\"op\":\"slides_add\",\"layout\":\"bullets\",\"title\":\"Entanglement\",\"bullets\":[\"Entanglement links qubits\",\"Non‑local correlations\",\"Basis for quantum protocols\"]},{\"op\":\"slides_add\",\"layout\":\"closing\",\"title\":\"Conclusion\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-video",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 2085,
     "costNanos": 2089000,
     "via": "model",
     "ops": [
      "videos_new",
      "videos_from_circuit",
      "videos_add_text"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"videos_new\",\"title\":\"Circuit Video\"},{\"op\":\"videos_from_circuit\"},{\"op\":\"videos_add_text\",\"text\":\"Hello World\"}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "a-file",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 1155,
     "costNanos": 1942688,
     "via": "model",
     "ops": [
      "storage_create"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"storage_create\",\"kind\":\"qubi\",\"name\":\"oracle\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-ghz10",
     "suite": "apps",
     "pass": true,
     "detail": "ok; TVD 0.000 (1111111111:0.50 0000000000:0.50)",
     "ms": 3891,
     "costNanos": 2109750,
     "via": "model",
     "ops": [
      "set_settings",
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_settings\",\"key\":\"MaxQubits\",\"value\":10},{\"op\":\"load_algorithm\",\"name\":\"ghzState\",\"params\":{\"numQubits\":10},\"callMode\":\"function\"}]",
     "code": "GHZ(0..9)",
     "run": 0
    },
    {
     "id": "a-grover-view",
     "suite": "apps",
     "pass": true,
     "detail": "ok; ok",
     "ms": 3257,
     "costNanos": 2195000,
     "via": "model",
     "ops": [
      "set_settings",
      "set_settings",
      "load_algorithm",
      "analysis_view"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_settings\",\"key\":\"MaxQubits\",\"value\":3},{\"op\":\"set_settings\",\"key\":\"VisibleQubits\",\"value\":3},{\"op\":\"load_algorithm\",\"name\":\"grovers\",\"params\":{\"numQubits\":3,\"target\":\"101,110\"},\"callMode\":\"gates\"},{\"op\":\"analysis_view\",\"tab\":\"probabilities\"}]",
     "code": "H (0,1,2)\n\nLOOP 1 {\n\tX 1\n\tCZ [0,1,2]\n\tX 1\n\tX 0\n\tCZ [0,1,2]\n\tX 0\n\tH (0,1,2)\n\tX (0,1,2)\n\tCZ [0,1,2]\n\tX (0,1,2)\n\tH (0,1,2)\n}",
     "run": 0
    },
    {
     "id": "a-bloch",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 3453,
     "costNanos": 2016813,
     "via": "model",
     "ops": [
      "switch_tab",
      "analysis_view"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"switch_tab\",\"tab\":\"analysis\"},{\"op\":\"analysis_view\",\"tab\":\"bloch\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-cells-formula",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 4384,
     "costNanos": 2148188,
     "via": "model",
     "ops": [
      "spreadsheet_set_cells"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":0,\"col\":\"A\",\"value\":\"21\"},{\"row\":2,\"col\":\"C\",\"value\":\"=A1*2\"}]}]",
     "code": "",
     "run": 0
    },
    {
     "id": "r-toffoli",
     "suite": "reasoning",
     "pass": false,
     "detail": "gates H CX T TDG; wrong for 000→0 (want 0), 001→1 (want 1), 010→10 (want 10)",
     "ms": 9027,
     "costNanos": 2697438,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"#settings MaxQubits 3\\nH 2\\nCX [1,2]\\nT 2\\nCX [0,2]\\nTDG 2\\nCX [1,2]\\nT 2\\nCX [0,2]\\nT 1\\nH 2\\nT 0\\nCX [0,1]\\nT 0\\nTDG 1\\nCX [0,1]\",\"mode\":\"replace\"}]",
     "code": "H 2\nCX [1,2]\nT 2\nCX [0,2]\nTDG 2\nCX [1,2]\nT 2\nCX [0,2]\nT 1\nH 2\nT 0\nCX [0,1]\nT 0\nTDG 1\nCX [0,1]",
     "run": 0
    },
    {
     "id": "r-swap-cx",
     "suite": "reasoning",
     "pass": true,
     "detail": "gates CX; all 4 inputs right",
     "ms": 2426,
     "costNanos": 2046625,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"CX [0,1]\\nCX [1,0]\\nCX [0,1]\",\"mode\":\"replace\"}]",
     "code": "CX [0,1]\nCX [1,0]\nCX [0,1]",
     "run": 0
    },
    {
     "id": "r-cz-from-hcx",
     "suite": "reasoning",
     "pass": true,
     "detail": "gates H CX; fidelity 1.000",
     "ms": 6079,
     "costNanos": 2230750,
     "via": "model",
     "ops": [
      "append_gates",
      "append_gates",
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"1\"},{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"[0,1]\"},{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"1\"}]",
     "code": "H 0\nH 1\nH 1\nCX [0,1]\nH 1",
     "run": 0
    },
    {
     "id": "r-half-adder",
     "suite": "reasoning",
     "pass": false,
     "detail": "wrong for 01→0 (want 101), 10→0 (want 110), 11→0 (want 1011)",
     "ms": 10672,
     "costNanos": 2761688,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"#settings MaxQubits 4\\n#settings VisibleQubits 4\\n#settings CodeAngleUnit piradians\\n\\n// Half adder\\nCX [0,2]\\nCX [1,2]\\nCCX [0,1,3]\\n\",\"mode\":\"replace\"}]",
     "code": "#settings CodeAngleUnit piradians\n\n// Half adder\nCX [0,2]\nCX [1,2]\nCCX [0,1,3]\n",
     "run": 0
    },
    {
     "id": "r-parity",
     "suite": "reasoning",
     "pass": true,
     "detail": "all 8 inputs right",
     "ms": 14028,
     "costNanos": 2310938,
     "via": "model",
     "ops": [
      "append_gates",
      "append_gates",
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"[0,3]\"},{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"[1,3]\"},{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"[2,3]\"}]",
     "code": "CX [0,3]\nCX [1,3]\nCX [2,3]",
     "run": 0
    },
    {
     "id": "r-06-08",
     "suite": "reasoning",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 8372,
     "costNanos": 2346000,
     "via": "model",
     "ops": [
      "prepare_state"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"prepare_state\",\"kind\":\"amplitude_vector\",\"amplitudes\":[{\"re\":0.6,\"im\":0},{\"re\":0,\"im\":0},{\"re\":0,\"im\":0},{\"re\":0.8,\"im\":0}],\"numQubits\":2,\"mode\":\"replace\"}]",
     "code": "// State vector (4 amplitudes)\nRY 1 0.5903344706\nX 1\nX 1\nCX [1,0]",
     "run": 0
    },
    {
     "id": "r-cos-pi8",
     "suite": "reasoning",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 3436,
     "costNanos": 2139625,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"RY 0 0.25\",\"mode\":\"replace\"}]",
     "code": "RY 0 0.25",
     "run": 0
    },
    {
     "id": "r-bv",
     "suite": "reasoning",
     "pass": true,
     "detail": "P(q0,1,2 = 101) = 1.000",
     "ms": 4823,
     "costNanos": 2159688,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"bernsteinVazirani\",\"params\":{\"secret\":\"101\"},\"callMode\":\"gates\"}]",
     "code": "X 3\nH (0,1,2,3)\nCX [2,3]\nCX [0,3]\nH (0,1,2)",
     "run": 0
    },
    {
     "id": "r-grover2",
     "suite": "reasoning",
     "pass": true,
     "detail": "P(11) = 1.000",
     "ms": 7990,
     "costNanos": 2294813,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"grovers\",\"params\":{\"numQubits\":2,\"target\":\"11\"},\"callMode\":\"gates\"}]",
     "code": "H (0,1)\n\nLOOP 1 {\n\tCZ [0,1]\n\tH (0,1)\n\tX (0,1)\n\tCZ [0,1]\n\tX (0,1)\n\tH (0,1)\n}",
     "run": 0
    },
    {
     "id": "r-product",
     "suite": "reasoning",
     "pass": true,
     "detail": "TVD 0.001 (100:0.41 110:0.41 101:0.05 111:0.05)",
     "ms": 19010,
     "costNanos": 2437750,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"#settings MaxQubits 3\\nRY 0 0.205\\nRY 1 0.5\\nRY 2 0.7958\",\"mode\":\"replace\"}]",
     "code": "RY 0 0.205\nRY 1 0.5\nRY 2 0.7958",
     "run": 0
    },
    {
     "id": "r-phase-kick",
     "suite": "reasoning",
     "pass": true,
     "detail": "gates H S; fidelity 1.000",
     "ms": 18892,
     "costNanos": 2336563,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"H 0\\nS 0\\nS 0\\nS 0\",\"mode\":\"replace\"}]",
     "code": "H 0\nS 0\nS 0\nS 0",
     "run": 0
    }
   ]
  },
  "low": {
   "name": "Pauli 2.0 Nano",
   "results": [
    {
     "id": "c-bell",
     "suite": "circuits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 314,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"bellState\",\"params\":{\"bellType\":\"phi_plus\"},\"callMode\":\"function\"}]",
     "code": "Bell(\"phi_plus\")",
     "run": 0
    },
    {
     "id": "c-bell-psi-minus",
     "suite": "circuits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 3409,
     "costNanos": 3525200,
     "via": "model",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"bellState\",\"params\":{\"bellType\":\"psi_minus\"},\"callMode\":\"function\"}]",
     "code": "Bell(\"psi_minus\")",
     "run": 0
    },
    {
     "id": "c-ghz4",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (1111:0.50 0000:0.50)",
     "ms": 68,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"ghzState\",\"params\":{\"numQubits\":4},\"callMode\":\"function\"}]",
     "code": "GHZ(0..3)",
     "run": 0
    },
    {
     "id": "c-w3",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (100:0.33 001:0.33 010:0.33)",
     "ms": 187,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"wState\",\"params\":{\"numQubits\":3},\"callMode\":\"function\"}]",
     "code": "W(0..2)",
     "run": 0
    },
    {
     "id": "c-basis",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (1011:1.00)",
     "ms": 78,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// Prepare |1011⟩\\nX (0,1,3)\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "// Prepare |1011⟩\nX (0,1,3)",
     "run": 0
    },
    {
     "id": "c-uniform3",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (100:0.13 101:0.13 110:0.13 111:0.13)",
     "ms": 100,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// Uniform superposition\\nH (0..2)\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "// Uniform superposition\nH (0..2)",
     "run": 0
    },
    {
     "id": "c-75",
     "suite": "circuits",
     "pass": false,
     "detail": "TVD 0.550 (0:0.80 1:0.20)",
     "ms": 2941,
     "costNanos": 3555550,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"RY 0 0.295\\nMEASURE 0\",\"mode\":\"replace\"}]",
     "code": "RY 0 0.295\nMEASURE 0",
     "run": 0
    },
    {
     "id": "c-grover",
     "suite": "circuits",
     "pass": true,
     "detail": "P(110) = 0.945",
     "ms": 55,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"grovers\",\"params\":{\"numQubits\":3,\"target\":\"110\"},\"callMode\":\"function\"}]",
     "code": "Grover(0b110)",
     "run": 0
    },
    {
     "id": "c-two-states",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (1010:0.50 0101:0.50)",
     "ms": 3632,
     "costNanos": 3607950,
     "via": "model",
     "ops": [
      "compose_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"compose_circuit\",\"parts\":[{\"type\":\"prepare\",\"kind\":\"mixed\",\"terms\":[{\"bits\":\"0101\",\"prob\":0.5},{\"bits\":\"1010\",\"prob\":0.5}],\"numQubits\":4}],\"mode\":\"replace\"}]",
     "code": "// 50% |0101⟩ + 50% |1010⟩\nStatePreparation((0b0101,0b1010), (0.5,0.5), 0..3)",
     "run": 0
    },
    {
     "id": "c-even-parity",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (000:0.25 011:0.25 101:0.25 110:0.25)",
     "ms": 4023,
     "costNanos": 3606200,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"StatePreparation((0b000,0b011,0b101,0b110),(0.25,0.25,0.25,0.25))\",\"mode\":\"replace\"}]",
     "code": "StatePreparation((0b000,0b011,0b101,0b110),(0.25,0.25,0.25,0.25))",
     "run": 0
    },
    {
     "id": "c-plus-i",
     "suite": "circuits",
     "pass": false,
     "detail": "fidelity 0.500",
     "ms": 2951,
     "costNanos": 3574250,
     "via": "model",
     "ops": [
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"U\",\"wireExpr\":\"0\",\"angle\":\"0.5,0.5,0.5,0.5\"}]",
     "code": "U(0.5,0.5,0.5,0.5) 0",
     "run": 0
    },
    {
     "id": "c-minus",
     "suite": "circuits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 70,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// |−⟩\\nX 0\\nH 0\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "// |−⟩\nX 0\nH 0",
     "run": 0
    },
    {
     "id": "c-probs",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (11:0.40 10:0.30 01:0.20 00:0.10)",
     "ms": 3316,
     "costNanos": 3609900,
     "via": "model",
     "ops": [
      "prepare_state"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"prepare_state\",\"kind\":\"mixed\",\"terms\":[{\"bits\":\"00\",\"prob\":0.1},{\"bits\":\"01\",\"prob\":0.2},{\"bits\":\"10\",\"prob\":0.3},{\"bits\":\"11\",\"prob\":0.4}],\"mode\":\"replace\",\"numQubits\":2}]",
     "code": "// 20% |01⟩ + 30% |10⟩ + 40% |11⟩\nStatePreparation((0b01,0b10,0b11), (0.2,0.3,0.4), 0..1)",
     "run": 0
    },
    {
     "id": "c-bell-02",
     "suite": "circuits",
     "pass": false,
     "detail": "TVD 1.000 (000:1.00)",
     "ms": 2265,
     "costNanos": 3570900,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"X 1\\nH 0\\nCNOT [0,2]\",\"mode\":\"replace\"}]",
     "code": "X 1\nH 0\nCNOT [0,2]",
     "run": 0
    },
    {
     "id": "c-flip5",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (11111:1.00)",
     "ms": 2961,
     "costNanos": 3531425,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"X 0..4\",\"mode\":\"replace\"}]",
     "code": "X 0..4",
     "run": 0
    },
    {
     "id": "c-qft",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (100:0.13 101:0.13 110:0.13 111:0.13)",
     "ms": 136,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// Prepare |000⟩\\n// |0...0⟩: no X gates needed\\n\\nQFT(0..2)\",\"mode\":\"replace\"}]",
     "code": "// Prepare |000⟩\n// |0...0⟩: no X gates needed\n\nQFT(0..2)",
     "run": 0
    },
    {
     "id": "e-psi-plus",
     "suite": "edits",
     "pass": false,
     "detail": "TVD 0.500 (00:0.50 01:0.50)",
     "ms": 1848,
     "costNanos": 3545900,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"H 0\\nCZ [0,1]\",\"mode\":\"replace\"}]",
     "code": "H 0\nCZ [0,1]",
     "run": 0
    },
    {
     "id": "e-ghz3",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (111:0.50 000:0.50)",
     "ms": 69,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"ghzState\",\"params\":{\"numQubits\":3},\"callMode\":\"function\"}]",
     "code": "GHZ(0..2)",
     "run": 0
    },
    {
     "id": "e-fix",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (11:0.50 00:0.50)",
     "ms": 1772,
     "costNanos": 3583400,
     "via": "model",
     "ops": [
      "edit_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"edit_code\",\"find\":\"CX (0,1)\",\"replace\":\"CX [0,1]\"}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "e-remove-x",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (10:0.50 00:0.50)",
     "ms": 1744,
     "costNanos": 3523075,
     "via": "model",
     "ops": [
      "edit_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"edit_code\",\"find\":\"X 0\\n\",\"replace\":\"\"}]",
     "code": "H 1",
     "run": 0
    },
    {
     "id": "e-reverse",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (00:0.50 01:0.50)",
     "ms": 2247,
     "costNanos": 3547200,
     "via": "model",
     "ops": [
      "edit_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"edit_code\",\"find\":\"H 0\\nCX [0,1]\",\"replace\":\"CX [0,1]\\nH 0\"}]",
     "code": "CX [0,1]\nH 0",
     "run": 0
    },
    {
     "id": "e-h-to-x",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (111:1.00)",
     "ms": 1296,
     "costNanos": 3533425,
     "via": "model",
     "ops": [
      "edit_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"edit_code\",\"find\":\"H\",\"replace\":\"X\",\"all\":true}]",
     "code": "X 0\nX 1\nX 2",
     "run": 0
    },
    {
     "id": "e-retarget",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (101:0.50 000:0.50)",
     "ms": 2007,
     "costNanos": 3558375,
     "via": "model",
     "ops": [
      "edit_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"edit_code\",\"find\":\"CX [0,1]\",\"replace\":\"CX [0,2]\"}]",
     "code": "H 0\nCX [0,2]",
     "run": 0
    },
    {
     "id": "e-loop",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (0:1.00); ok",
     "ms": 935,
     "costNanos": 3520150,
     "via": "model",
     "ops": [
      "wrap_loop"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"wrap_loop\",\"count\":\"2\"}]",
     "code": "LOOP 2 {\n  X 0\n}",
     "run": 0
    },
    {
     "id": "e-measure",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (11:0.50 00:0.50); ok",
     "ms": 89,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "append_gates",
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"MEASURE\",\"wires\":\"used\"},{\"op\":\"switch_tab\",\"tab\":\"circuit\"}]",
     "code": "H 0\nCX [0,1]\nMEASURE (0..1)",
     "run": 0
    },
    {
     "id": "e-add-z",
     "suite": "edits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 1505,
     "costNanos": 3532625,
     "via": "model",
     "ops": [
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"Z\",\"wireExpr\":\"0\"}]",
     "code": "H 0\nZ 0",
     "run": 0
    },
    {
     "id": "a-testword",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 1807,
     "costNanos": 3572850,
     "via": "model",
     "ops": [
      "spreadsheet_from_circuit",
      "spreadsheet_set_cells"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_from_circuit\"},{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":4,\"col\":\"A\",\"value\":\"TESTWORD\"},{\"row\":4,\"col\":\"B\",\"value\":\"TESTWORD\"},{\"row\":4,\"col\":\"C\",\"value\":\"TESTWORD\"},{\"row\":4,\"col\":\"D\",\"value\":\"TESTWORD\"}]}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "a-headers",
     "suite": "apps",
     "pass": false,
     "detail": "check failed",
     "ms": 2061,
     "costNanos": 3548875,
     "via": "model",
     "ops": [
      "spreadsheet_new",
      "spreadsheet_set_cells"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_new\",\"title\":\"Results\"},{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":0,\"col\":\"A\",\"value\":\"State\"}]}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-sum",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 4478,
     "costNanos": 3624250,
     "via": "model",
     "ops": [
      "spreadsheet_set_cells",
      "spreadsheet_set_cells"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":1,\"col\":\"B\",\"value\":\"1\"},{\"row\":2,\"col\":\"B\",\"value\":\"2\"},{\"row\":3,\"col\":\"B\",\"value\":\"3\"},{\"row\":4,\"col\":\"B\",\"value\":\"4\"},{\"row\":5,\"col\":\"B\",\"value\":\"5\"}]},{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":6,\"col\":\"B\",\"value\":\"=SUM(B2:B6)\"}]}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-chart",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 2751,
     "costNanos": 3568500,
     "via": "model",
     "ops": [
      "spreadsheet_new",
      "spreadsheet_add_chart"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_new\",\"title\":\"Circuit Results\"},{\"op\":\"spreadsheet_add_chart\",\"range\":\"A1:B5\",\"type\":\"pie\",\"title\":\"Pie Chart\",\"xAxisTitle\":\"Category\",\"yAxisTitle\":\"Value\",\"r0\":0,\"r1\":4,\"c0\":0,\"c1\":1}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-sheets",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 1686,
     "costNanos": 3544325,
     "via": "model",
     "ops": [
      "spreadsheet_add_sheet",
      "spreadsheet_rename_sheet"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_add_sheet\",\"name\":\"Notes\"},{\"op\":\"spreadsheet_rename_sheet\",\"sheet\":\"Sheet1\",\"name\":\"Data\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-slide",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 3119,
     "costNanos": 3596700,
     "via": "model",
     "ops": [
      "slides_from_circuit",
      "slides_add"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"slides_from_circuit\"},{\"op\":\"slides_add\",\"layout\":\"bullets\",\"title\":\"Summary\",\"bullets\":[\"This circuit applies a Hadamard gate to qubit 0.\",\"It then applies a CNOT gate with qubit 0 as control and qubit 1 as target.\"]}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "a-three-slides",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 3294,
     "costNanos": 3622525,
     "via": "model",
     "ops": [
      "slides_new",
      "slides_add",
      "slides_add",
      "slides_add"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"slides_new\",\"title\":\"Bell States Presentation\"},{\"op\":\"slides_add\",\"layout\":\"title\",\"title\":\"Bell States\"},{\"op\":\"slides_add\",\"layout\":\"bullets\",\"title\":\"Entanglement\",\"bullets\":[\"Entanglement is a fundamental quantum phenomenon.\",\"It describes a special connection between particles.\",\"Measuring one particle instantly affects the other.\"]},{\"op\":\"slides_add\",\"layout\":\"closing\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-video",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 1646,
     "costNanos": 3543400,
     "via": "model",
     "ops": [
      "videos_from_circuit",
      "videos_add_text"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"videos_from_circuit\"},{\"op\":\"videos_add_text\",\"text\":\"Hello World\"}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "a-file",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 87,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "storage_create",
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"storage_create\",\"kind\":\"qubi\",\"name\":\"oracle\"},{\"op\":\"switch_tab\",\"tab\":\"storage\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-ghz10",
     "suite": "apps",
     "pass": true,
     "detail": "ok; TVD 0.000 (1111111111:0.50 0000000000:0.50)",
     "ms": 2573,
     "costNanos": 3574675,
     "via": "model",
     "ops": [
      "set_settings",
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_settings\",\"key\":\"MaxQubits\",\"value\":10},{\"op\":\"load_algorithm\",\"name\":\"ghzState\",\"params\":{\"numQubits\":10},\"callMode\":\"function\"}]",
     "code": "GHZ(0..9)",
     "run": 0
    },
    {
     "id": "a-grover-view",
     "suite": "apps",
     "pass": true,
     "detail": "ok; ok",
     "ms": 2793,
     "costNanos": 3584225,
     "via": "model",
     "ops": [
      "load_algorithm",
      "analysis_view"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"grovers\",\"params\":{\"numQubits\":3,\"target\":\"101,110\"},\"callMode\":\"gates\"},{\"op\":\"analysis_view\",\"tab\":\"probabilities\"}]",
     "code": "H (0,1,2)\n\nLOOP 1 {\n\tX 1\n\tCZ [0,1,2]\n\tX 1\n\tX 0\n\tCZ [0,1,2]\n\tX 0\n\tH (0,1,2)\n\tX (0,1,2)\n\tCZ [0,1,2]\n\tX (0,1,2)\n\tH (0,1,2)\n}",
     "run": 0
    },
    {
     "id": "a-bloch",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 83,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "switch_tab",
      "analysis_view"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"switch_tab\",\"tab\":\"analysis\"},{\"op\":\"analysis_view\",\"tab\":\"bloch\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-cells-formula",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 2475,
     "costNanos": 3567600,
     "via": "model",
     "ops": [
      "spreadsheet_set_cells"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_set_cells\",\"cells\":[{\"row\":0,\"col\":\"A\",\"value\":\"21\"},{\"row\":2,\"col\":\"C\",\"value\":\"=A1*2\"}]}]",
     "code": "",
     "run": 0
    },
    {
     "id": "r-toffoli",
     "suite": "reasoning",
     "pass": false,
     "detail": "gates H; wrong for 000→0 (want 0), 001→1 (want 1), 010→10 (want 10)",
     "ms": 7093,
     "costNanos": 3708700,
     "via": "model",
     "ops": [
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"2\"}]",
     "code": "H 2",
     "run": 0
    },
    {
     "id": "r-swap-cx",
     "suite": "reasoning",
     "pass": false,
     "detail": "gates CX; wrong for 01→0 (want 10), 10→0 (want 1), 11→0 (want 11)",
     "ms": 3408,
     "costNanos": 3578900,
     "via": "model",
     "ops": [
      "append_gates",
      "append_gates",
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"0,1\"},{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"1,0\"},{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"0,1\"}]",
     "code": "CX (0,1)\nCX (1,0)\nCX (0,1)",
     "run": 0
    },
    {
     "id": "r-cz-from-hcx",
     "suite": "reasoning",
     "pass": false,
     "detail": "gates H CX; fidelity 0.250",
     "ms": 3236,
     "costNanos": 3623325,
     "via": "model",
     "ops": [
      "append_gates",
      "append_gates",
      "append_gates",
      "append_gates",
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"0\"},{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"1\"},{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"[0,1]\"},{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"0\"},{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"1\"}]",
     "code": "H 0\nH 1\nH 0\nH 1\nCX [0,1]\nH 0\nH 1",
     "run": 0
    },
    {
     "id": "r-half-adder",
     "suite": "reasoning",
     "pass": false,
     "detail": "wrong for 01→0 (want 101), 10→0 (want 110), 11→0 (want 1011)",
     "ms": 3367,
     "costNanos": 3627875,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// Half Adder\\n// Inputs: qubits 0 and 1\\n// Sum: qubit 2\\n// Carry: qubit 3\\n\\n// Compute sum (XOR)\\nCX 0 2\\nCX 1 2\\n\\n// Compute carry (AND)\\nCCX 0 1 3\\n\",\"mode\":\"replace\"}]",
     "code": "// Half Adder\n// Inputs: qubits 0 and 1\n// Sum: qubit 2\n// Carry: qubit 3\n\n// Compute sum (XOR)\nCX 0 2\nCX 1 2\n\n// Compute carry (AND)\nCCX 0 1 3\n",
     "run": 0
    },
    {
     "id": "r-parity",
     "suite": "reasoning",
     "pass": false,
     "detail": "wrong for 001→0 (want 1001), 010→0 (want 1010), 011→0 (want 11)",
     "ms": 2893,
     "costNanos": 3599175,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// Write parity of qubits 0, 1, 2 into qubit 3\\nCX 0 3\\nCX 1 3\\nCX 2 3\",\"mode\":\"replace\"}]",
     "code": "// Write parity of qubits 0, 1, 2 into qubit 3\nCX 0 3\nCX 1 3\nCX 2 3",
     "run": 0
    },
    {
     "id": "r-06-08",
     "suite": "reasoning",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 101,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// Mixed basis: 36% |00⟩ + 64% |11⟩\\nRY 1 0.590334\\nX 1\\nX 1\\nCX [1,0]\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "// Mixed basis: 36% |00⟩ + 64% |11⟩\nRY 1 0.590334\nX 1\nX 1\nCX [1,0]",
     "run": 0
    },
    {
     "id": "r-cos-pi8",
     "suite": "reasoning",
     "pass": false,
     "detail": "fidelity 0.000",
     "ms": 89,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// |111⟩\\nX (0..2)\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "// |111⟩\nX (0..2)",
     "run": 0
    },
    {
     "id": "r-bv",
     "suite": "reasoning",
     "pass": true,
     "detail": "P(q0,1,2 = 101) = 1.000",
     "ms": 97,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"bernsteinVazirani\",\"params\":{\"secret\":\"101\"},\"callMode\":\"function\"}]",
     "code": "BV(0b101)",
     "run": 0
    },
    {
     "id": "r-grover2",
     "suite": "reasoning",
     "pass": true,
     "detail": "P(11) = 1.000",
     "ms": 2791,
     "costNanos": 3576325,
     "via": "model",
     "ops": [
      "load_algorithm",
      "wrap_loop"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"grovers\",\"params\":{\"numQubits\":2,\"target\":\"11\"},\"callMode\":\"gates\"},{\"op\":\"wrap_loop\",\"count\":\"1\"}]",
     "code": "LOOP 1 {\n  H (0,1)\n\n  LOOP 1 {\n  \tCZ [0,1]\n  \tH (0,1)\n  \tX (0,1)\n  \tCZ [0,1]\n  \tX (0,1)\n  \tH (0,1)\n  }\n}",
     "run": 0
    },
    {
     "id": "r-product",
     "suite": "reasoning",
     "pass": false,
     "detail": "TVD 0.856 (000:0.43 001:0.29 010:0.14 011:0.10)",
     "ms": 3125,
     "costNanos": 3589925,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"RY 0 1.3694rad\\nRY 1 1.0472rad\\nRY 2 0.4241rad\",\"mode\":\"replace\"}]",
     "code": "RY 0 1.3694rad\nRY 1 1.0472rad\nRY 2 0.4241rad",
     "run": 0
    },
    {
     "id": "r-phase-kick",
     "suite": "reasoning",
     "pass": false,
     "detail": "gates H S; fidelity 0.500",
     "ms": 3005,
     "costNanos": 3599550,
     "via": "model",
     "ops": [
      "append_gates",
      "append_gates",
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"0\"},{\"op\":\"append_gates\",\"gate\":\"S\",\"wireExpr\":\"0\"},{\"op\":\"append_gates\",\"gate\":\"S\",\"wireExpr\":\"0\"}]",
     "code": "H 0\nS 0\nS 0",
     "run": 0
    }
   ]
  },
  "pauli1": {
   "name": "Pauli 1.0",
   "results": [
    {
     "id": "c-bell",
     "suite": "circuits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 80,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"bellState\",\"params\":{\"bellType\":\"phi_plus\"},\"callMode\":\"function\"}]",
     "code": "Bell(\"phi_plus\")",
     "run": 0
    },
    {
     "id": "c-bell-psi-minus",
     "suite": "circuits",
     "pass": false,
     "detail": "fidelity 0.500",
     "ms": 68,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "compose_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"compose_circuit\",\"mode\":\"replace\",\"parts\":[{\"type\":\"prepare\",\"kind\":\"minus\",\"numQubits\":1,\"label\":\"|−⟩\"},{\"type\":\"algorithm\",\"name\":\"bellState\",\"params\":{\"bellType\":\"psi_minus\"},\"callMode\":\"function\"}]}]",
     "code": "// |−⟩\nX 0\nH 0\n\nBell(\"psi_minus\")",
     "run": 0
    },
    {
     "id": "c-ghz4",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (1111:0.50 0000:0.50)",
     "ms": 104,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"ghzState\",\"params\":{\"numQubits\":4},\"callMode\":\"function\"}]",
     "code": "GHZ(0..3)",
     "run": 0
    },
    {
     "id": "c-w3",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (100:0.33 001:0.33 010:0.33)",
     "ms": 132,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"wState\",\"params\":{\"numQubits\":3},\"callMode\":\"function\"}]",
     "code": "W(0..2)",
     "run": 0
    },
    {
     "id": "c-basis",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (1011:1.00)",
     "ms": 99,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// Prepare |1011⟩\\nX (0,1,3)\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "// Prepare |1011⟩\nX (0,1,3)",
     "run": 0
    },
    {
     "id": "c-uniform3",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (100:0.13 101:0.13 110:0.13 111:0.13)",
     "ms": 74,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// Uniform superposition\\nH (0..2)\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "// Uniform superposition\nH (0..2)",
     "run": 0
    },
    {
     "id": "c-75",
     "suite": "circuits",
     "pass": false,
     "detail": "TVD 0.750 (0:1.00)",
     "ms": 83,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "append_gates",
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"MEASURE\",\"wireExpr\":\"0\"},{\"op\":\"switch_tab\",\"tab\":\"circuit\"}]",
     "code": "MEASURE 0",
     "run": 0
    },
    {
     "id": "c-grover",
     "suite": "circuits",
     "pass": true,
     "detail": "P(110) = 0.945",
     "ms": 64,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"grovers\",\"params\":{\"numQubits\":3,\"target\":\"110\"},\"callMode\":\"function\"}]",
     "code": "Grover(0b110)",
     "run": 0
    },
    {
     "id": "c-two-states",
     "suite": "circuits",
     "pass": false,
     "detail": "TVD 1.000 (0000:1.00)",
     "ms": 52,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "append_gates",
      "switch_tab"
     ],
     "failedSteps": [
      "fail: This circuit uses qubits 0–1010 (1011 qubits) but MaxQubits is 12. Increase MaxQubits in Settings, or ask to set max qubits to 1011."
     ],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"MEASURE\",\"wireExpr\":\"0101,1010\"},{\"op\":\"switch_tab\",\"tab\":\"circuit\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "c-even-parity",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (000:0.25 011:0.25 101:0.25 110:0.25)",
     "ms": 3507,
     "costNanos": 2184625,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"StatePreparation((0b000,0b011,0b101,0b110),(0.25,0.25,0.25,0.25))\",\"mode\":\"replace\"}]",
     "code": "StatePreparation((0b000,0b011,0b101,0b110),(0.25,0.25,0.25,0.25))",
     "run": 0
    },
    {
     "id": "c-plus-i",
     "suite": "circuits",
     "pass": false,
     "detail": "fidelity 0.000",
     "ms": 88,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// |111⟩\\nX (0..2)\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "// |111⟩\nX (0..2)",
     "run": 0
    },
    {
     "id": "c-minus",
     "suite": "circuits",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 88,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// |−⟩\\nX 0\\nH 0\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "// |−⟩\nX 0\nH 0",
     "run": 0
    },
    {
     "id": "c-probs",
     "suite": "circuits",
     "pass": false,
     "detail": "TVD 0.900 (00:1.00)",
     "ms": 86,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "append_gates",
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"MEASURE\",\"wires\":\"used\"},{\"op\":\"switch_tab\",\"tab\":\"circuit\"}]",
     "code": "MEASURE (0..1)",
     "run": 0
    },
    {
     "id": "c-bell-02",
     "suite": "circuits",
     "pass": false,
     "detail": "TVD 1.000 (101:0.50 110:0.50)",
     "ms": 79,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "compose_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"compose_circuit\",\"mode\":\"replace\",\"parts\":[{\"type\":\"prepare\",\"kind\":\"ones\",\"numQubits\":3,\"label\":\"|111⟩\"},{\"type\":\"algorithm\",\"name\":\"bellState\",\"params\":{\"bellType\":\"phi_plus\",\"numQubits\":3},\"callMode\":\"function\"}]}]",
     "code": "// |111⟩\nX (0..2)\n\nBell(\"phi_plus\")",
     "run": 0
    },
    {
     "id": "c-flip5",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (11111:1.00)",
     "ms": 2100,
     "costNanos": 2134850,
     "via": "model",
     "ops": [
      "compose_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"compose_circuit\",\"parts\":[{\"type\":\"prepare\",\"kind\":\"basis\",\"bits\":\"11111\"}],\"mode\":\"replace\"}]",
     "code": "// Prepare |11111⟩\nX (0,1,2,3,4)",
     "run": 0
    },
    {
     "id": "c-qft",
     "suite": "circuits",
     "pass": true,
     "detail": "TVD 0.000 (100:0.13 101:0.13 110:0.13 111:0.13)",
     "ms": 62,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// Prepare |000⟩\\n// |0...0⟩: no X gates needed\\n\\nQFT(0..2)\",\"mode\":\"replace\"}]",
     "code": "// Prepare |000⟩\n// |0...0⟩: no X gates needed\n\nQFT(0..2)",
     "run": 0
    },
    {
     "id": "e-psi-plus",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (10:0.50 01:0.50)",
     "ms": 59,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"bellState\",\"params\":{\"bellType\":\"psi_plus\"},\"callMode\":\"function\"}]",
     "code": "Bell(\"psi_plus\")",
     "run": 0
    },
    {
     "id": "e-ghz3",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (111:0.50 000:0.50)",
     "ms": 79,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"ghzState\",\"params\":{\"numQubits\":3},\"callMode\":\"function\"}]",
     "code": "GHZ(0..2)",
     "run": 0
    },
    {
     "id": "e-fix",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (11:0.50 00:0.50)",
     "ms": 67,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "fix_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"fix_code\"}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "e-remove-x",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (10:0.50 00:0.50)",
     "ms": 3557,
     "costNanos": 2106500,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"H 1\",\"mode\":\"replace\"}]",
     "code": "H 1",
     "run": 0
    },
    {
     "id": "e-reverse",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (00:0.50 01:0.50)",
     "ms": 1761,
     "costNanos": 2120625,
     "via": "model",
     "ops": [
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"CX [0,1]\\nH 0\",\"mode\":\"replace\"}]",
     "code": "CX [0,1]\nH 0",
     "run": 0
    },
    {
     "id": "e-h-to-x",
     "suite": "edits",
     "pass": false,
     "detail": "TVD 0.875 (100:0.13 101:0.13 110:0.13 111:0.13)",
     "ms": 1883,
     "costNanos": 2116850,
     "via": "model",
     "ops": [
      "fix_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"fix_code\",\"find\":\"H\",\"replace\":\"X\"}]",
     "code": "H 0\nH 1\nH 2",
     "run": 0
    },
    {
     "id": "e-retarget",
     "suite": "edits",
     "pass": false,
     "detail": "TVD 0.500 (000:0.50 011:0.50)",
     "ms": 1001,
     "costNanos": 2111800,
     "via": "model",
     "ops": [
      "fix_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"fix_code\"}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "e-loop",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (0:1.00); ok",
     "ms": 1671,
     "costNanos": 2108575,
     "via": "model",
     "ops": [
      "wrap_loop"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"wrap_loop\",\"count\":\"2\"}]",
     "code": "LOOP 2 {\n  X 0\n}",
     "run": 0
    },
    {
     "id": "e-measure",
     "suite": "edits",
     "pass": true,
     "detail": "TVD 0.000 (11:0.50 00:0.50); ok",
     "ms": 93,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "append_gates",
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"MEASURE\",\"wires\":\"used\"},{\"op\":\"switch_tab\",\"tab\":\"circuit\"}]",
     "code": "H 0\nCX [0,1]\nMEASURE (0..1)",
     "run": 0
    },
    {
     "id": "e-add-z",
     "suite": "edits",
     "pass": false,
     "detail": "fidelity 0.500",
     "ms": 69,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "append_gates",
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"0\"},{\"op\":\"switch_tab\",\"tab\":\"circuit\"}]",
     "code": "H 0\nH 0",
     "run": 0
    },
    {
     "id": "a-testword",
     "suite": "apps",
     "pass": false,
     "detail": "check failed",
     "ms": 72,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "spreadsheet_new",
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_new\",\"title\":\"Spreadsheet\"},{\"op\":\"switch_tab\",\"tab\":\"spreadsheet\"}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "a-headers",
     "suite": "apps",
     "pass": false,
     "detail": "check failed",
     "ms": 114,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "spreadsheet_new",
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_new\",\"title\":\"Spreadsheet\"},{\"op\":\"switch_tab\",\"tab\":\"spreadsheet\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-sum",
     "suite": "apps",
     "pass": false,
     "detail": "check failed",
     "ms": 4853,
     "costNanos": 3256091,
     "via": "salvaged",
     "ops": [
      "set_code",
      "switch_tab",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"#settings MaxQubits 5\\n#settings VisibleQubits 5\\n// Surprise: prepare |10110⟩ then QFT\\nX (1,2,4)\\nQFT(0..4)\",\"mode\":\"replace\"},{\"op\":\"switch_tab\",\"tab\":\"circuit\"},{\"op\":\"run_circuit\"}]",
     "code": "// Surprise: prepare |10110⟩ then QFT\nX (1,2,4)\nQFT(0..4)",
     "run": 0
    },
    {
     "id": "a-chart",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 62,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "spreadsheet_add_chart",
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_add_chart\",\"type\":\"pie\",\"r0\":0,\"c0\":0,\"r1\":5,\"c1\":1,\"title\":\"\"},{\"op\":\"switch_tab\",\"tab\":\"spreadsheet\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-sheets",
     "suite": "apps",
     "pass": false,
     "detail": "check failed",
     "ms": 4309,
     "costNanos": 3147133,
     "via": "model",
     "ops": [
      "spreadsheet_add_sheet"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_add_sheet\",\"sheet\":\"Notes\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-slide",
     "suite": "apps",
     "pass": false,
     "detail": "check failed",
     "ms": 55,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "slides_new",
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"slides_new\",\"title\":\"Untitled Slideshow\"},{\"op\":\"switch_tab\",\"tab\":\"slides\"}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "a-three-slides",
     "suite": "apps",
     "pass": false,
     "detail": "check failed",
     "ms": 59,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"bellState\",\"params\":{\"bellType\":\"phi_plus\"},\"callMode\":\"function\"}]",
     "code": "Bell(\"phi_plus\")",
     "run": 0
    },
    {
     "id": "a-video",
     "suite": "apps",
     "pass": false,
     "detail": "check failed",
     "ms": 67,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "spreadsheet_from_circuit",
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"spreadsheet_from_circuit\"},{\"op\":\"switch_tab\",\"tab\":\"spreadsheet\"}]",
     "code": "H 0\nCX [0,1]",
     "run": 0
    },
    {
     "id": "a-file",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 60,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "storage_create",
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"storage_create\",\"kind\":\"qubi\",\"name\":\"oracle\"},{\"op\":\"switch_tab\",\"tab\":\"storage\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-ghz10",
     "suite": "apps",
     "pass": false,
     "detail": "ok; TVD 1.000 (1111111110:0.50 0000000001:0.50)",
     "ms": 89,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_settings",
      "switch_tab",
      "set_code"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_settings\",\"key\":\"MaxQubits\",\"value\":\"10\"},{\"op\":\"switch_tab\",\"tab\":\"circuit\"},{\"op\":\"set_code\",\"code\":\"// Prepare |10⟩\\nX 1\\n\\nGHZ(0..9)\",\"mode\":\"replace\"}]",
     "code": "// Prepare |10⟩\nX 1\n\nGHZ(0..9)",
     "run": 0
    },
    {
     "id": "a-grover-view",
     "suite": "apps",
     "pass": true,
     "detail": "ok; ok",
     "ms": 66,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm",
      "switch_tab",
      "analysis_view"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"grovers\",\"params\":{\"numQubits\":3,\"target\":\"101\"},\"callMode\":\"function\"},{\"op\":\"switch_tab\",\"tab\":\"analysis\"},{\"op\":\"analysis_view\",\"tab\":\"probabilities\"}]",
     "code": "Grover(0b101)",
     "run": 0
    },
    {
     "id": "a-bloch",
     "suite": "apps",
     "pass": true,
     "detail": "ok",
     "ms": 50,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "switch_tab",
      "analysis_view"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"switch_tab\",\"tab\":\"analysis\"},{\"op\":\"analysis_view\",\"tab\":\"bloch\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "a-cells-formula",
     "suite": "apps",
     "pass": false,
     "detail": "check failed",
     "ms": 3930,
     "costNanos": 3165135,
     "via": "model",
     "ops": [
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"switch_tab\",\"tab\":\"spreadsheet\"}]",
     "code": "",
     "run": 0
    },
    {
     "id": "r-toffoli",
     "suite": "reasoning",
     "pass": false,
     "detail": "gates H; wrong for 000→0 (want 0), 001→1 (want 1), 010→10 (want 10)",
     "ms": 6672,
     "costNanos": 2307125,
     "via": "model",
     "ops": [
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"2\"}]",
     "code": "H 2",
     "run": 0
    },
    {
     "id": "r-swap-cx",
     "suite": "reasoning",
     "pass": false,
     "detail": "gates CX; wrong for 01→0 (want 10), 10→0 (want 1), 11→0 (want 11)",
     "ms": 3506,
     "costNanos": 2163575,
     "via": "model",
     "ops": [
      "append_gates",
      "append_gates",
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"0,1\"},{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"1,0\"},{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"0,1\"}]",
     "code": "CX (0,1)\nCX (1,0)\nCX (0,1)",
     "run": 0
    },
    {
     "id": "r-cz-from-hcx",
     "suite": "reasoning",
     "pass": false,
     "detail": "gates H CX; fidelity 0.250",
     "ms": 3353,
     "costNanos": 2211750,
     "via": "model",
     "ops": [
      "append_gates",
      "append_gates",
      "append_gates",
      "append_gates",
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"0\"},{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"1\"},{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"[0,1]\"},{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"0\"},{\"op\":\"append_gates\",\"gate\":\"H\",\"wireExpr\":\"1\"}]",
     "code": "H 0\nH 1\nH 0\nH 1\nCX [0,1]\nH 0\nH 1",
     "run": 0
    },
    {
     "id": "r-half-adder",
     "suite": "reasoning",
     "pass": false,
     "detail": "wrong for 00→11 (want 0), 01→11 (want 101), 10→11 (want 110)",
     "ms": 3496,
     "costNanos": 2230050,
     "via": "model",
     "ops": [
      "append_gates",
      "append_gates",
      "append_gates",
      "append_gates"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"X\",\"wireExpr\":\"0,1\",\"angle\":null},{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"[0,2]\",\"angle\":null},{\"op\":\"append_gates\",\"gate\":\"CX\",\"wireExpr\":\"[1,2]\",\"angle\":null},{\"op\":\"append_gates\",\"gate\":\"CCX\",\"wireExpr\":\"[0,1,3]\",\"angle\":null}]",
     "code": "X (0,1)\nCX [0,2]\nCX [1,2]\nCCX [0,1,3]",
     "run": 0
    },
    {
     "id": "r-parity",
     "suite": "reasoning",
     "pass": false,
     "detail": "wrong for 000→0 (want 0), 001→0 (want 1001), 010→0 (want 1010)",
     "ms": 66,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"#settings MaxQubits 4\\n#settings VisibleQubits 4\\n// Surprise: W-state style equal superposition of one-hots\\nH 0\\nCX [0,1]\\nCX [0,2]\\nX 0\\nCX [0,3]\\nH (1,2,3)\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "// Surprise: W-state style equal superposition of one-hots\nH 0\nCX [0,1]\nCX [0,2]\nX 0\nCX [0,3]\nH (1,2,3)",
     "run": 0
    },
    {
     "id": "r-06-08",
     "suite": "reasoning",
     "pass": true,
     "detail": "fidelity 1.000",
     "ms": 63,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// Mixed basis: 36% |00⟩ + 64% |11⟩\\nRY 1 0.590334\\nX 1\\nX 1\\nCX [1,0]\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "// Mixed basis: 36% |00⟩ + 64% |11⟩\nRY 1 0.590334\nX 1\nX 1\nCX [1,0]",
     "run": 0
    },
    {
     "id": "r-cos-pi8",
     "suite": "reasoning",
     "pass": false,
     "detail": "fidelity 0.000",
     "ms": 59,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// |111⟩\\nX (0..2)\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "// |111⟩\nX (0..2)",
     "run": 0
    },
    {
     "id": "r-bv",
     "suite": "reasoning",
     "pass": true,
     "detail": "P(q0,1,2 = 101) = 1.000",
     "ms": 47,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"bernsteinVazirani\",\"params\":{\"secret\":\"101\"},\"callMode\":\"function\"}]",
     "code": "BV(0b101)",
     "run": 0
    },
    {
     "id": "r-grover2",
     "suite": "reasoning",
     "pass": true,
     "detail": "P(11) = 1.000",
     "ms": 69,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "load_algorithm"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"load_algorithm\",\"name\":\"grovers\",\"params\":{\"numQubits\":2,\"target\":\"11\"},\"callMode\":\"function\"}]",
     "code": "Grover(0b11, 0..1)",
     "run": 0
    },
    {
     "id": "r-product",
     "suite": "reasoning",
     "pass": false,
     "detail": "TVD 0.955 (000:1.00)",
     "ms": 49,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "append_gates",
      "switch_tab"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"append_gates\",\"gate\":\"MEASURE\",\"wireExpr\":\"0,1,2\"},{\"op\":\"switch_tab\",\"tab\":\"circuit\"}]",
     "code": "MEASURE (0,1,2)",
     "run": 0
    },
    {
     "id": "r-phase-kick",
     "suite": "reasoning",
     "pass": false,
     "detail": "uses X; fidelity 0.000",
     "ms": 36,
     "costNanos": 0,
     "via": "deterministic",
     "ops": [
      "set_code",
      "run_circuit"
     ],
     "failedSteps": [],
     "plan": "[{\"op\":\"set_code\",\"code\":\"// |111⟩\\nX (0..2)\",\"mode\":\"replace\"},{\"op\":\"run_circuit\"}]",
     "code": "// |111⟩\nX (0..2)",
     "run": 0
    }
   ]
  }
 }
}