{
  "angles": [
    {
      "id": "p1-a",
      "theta": [
        0.17,
        0.63
      ]
    },
    {
      "id": "p1-b",
      "theta": [
        0.81,
        0.29
      ]
    },
    {
      "id": "p2",
      "theta": [
        0.17,
        0.63,
        0.41,
        0.92
      ]
    }
  ],
  "case_id": "qaoa-textbook-seed",
  "description": "Qiskit textbook QAOA helpers (Qiskit 0.46.3 / Aer 0.14.2) and an earlier recorded Claude Sonnet research port (Qiskit 2.6.1 / Aer 0.18.0).",
  "graphs": [
    {
      "edges": [
        [
          0,
          1
        ],
        [
          1,
          2
        ],
        [
          2,
          3
        ],
        [
          3,
          0
        ]
      ],
      "id": "textbook_cycle4",
      "nodes": [
        0,
        1,
        2,
        3
      ]
    },
    {
      "edges": [
        [
          0,
          1
        ],
        [
          1,
          2
        ],
        [
          2,
          3
        ],
        [
          0,
          2
        ]
      ],
      "id": "asymmetric4",
      "nodes": [
        0,
        1,
        2,
        3
      ]
    },
    {
      "edges": [
        [
          0,
          1
        ],
        [
          1,
          2
        ],
        [
          2,
          3
        ],
        [
          3,
          4
        ],
        [
          4,
          0
        ]
      ],
      "id": "cycle5",
      "nodes": [
        0,
        1,
        2,
        3,
        4
      ]
    }
  ],
  "interpretation": {
    "count_order": "qiskit_count_msb_left",
    "measurement": "terminal_identity",
    "node_mapping": "node_i_is_qubit_i",
    "objective": "negative_maxcut"
  },
  "origin": "real_migration",
  "proposal": {
    "record": "proposal.json"
  },
  "reference": {
    "module": "reference.py",
    "pins": "reference-pins.txt",
    "receipt": {
      "attribution": "Qiskit textbook contributors",
      "derived_from_sha256": null,
      "extraction_scope": "Helper cell (maxcut_obj, compute_expectation, create_qaoa_circ, get_expectation) with its required imports added; not the whole notebook.",
      "kind": "upstream_extract",
      "license_file": "LICENSE.txt",
      "license_spdx": "Apache-2.0",
      "upstream_path": "content/ch-applications/qaoa.ipynb",
      "upstream_revision": "0ae905083ec3872d7ddc6bb4001d5468f476d93f",
      "upstream_url": "https://github.com/qiskit-community/qiskit-textbook/blob/0ae905083ec3872d7ddc6bb4001d5468f476d93f/content/ch-applications/qaoa.ipynb"
    }
  },
  "schema": "qref.qaoa-case/v1",
  "shots": [
    512,
    17
  ],
  "target": {
    "module": "target.py",
    "pins": "target-pins.txt",
    "receipt": {
      "attribution": "Generated by claude-sonnet-5-5 via Claude Code; derived from work by Qiskit textbook contributors",
      "derived_from_sha256": "d4a99e4ae5ccb086181f1e0e20f686ccb0b52b32697d6ca4778632f9380c9e30",
      "extraction_scope": "Complete module generated by the recorded proposal from reference.py.",
      "kind": "model_port",
      "license_file": "LICENSE.txt",
      "license_spdx": "Apache-2.0",
      "upstream_path": null,
      "upstream_revision": null,
      "upstream_url": null
    }
  },
  "title": "QAOA MaxCut helpers"
}
