{
  "author": "Maurizio Viviani",
  "date": "2026-10-11",
  "environment": {
    "python": "3.12.14",
    "numpy": "2.3.5",
    "matplotlib": "3.10.8"
  },
  "qaoa": {
    "description": "Fixed-angle ideal four-qubit p=1 QAOA sampling study",
    "seed": 20261011,
    "edges": [
      [
        0,
        1
      ],
      [
        1,
        2
      ],
      [
        2,
        3
      ],
      [
        3,
        0
      ],
      [
        0,
        2
      ]
    ],
    "grid_points_per_angle": 51,
    "gamma": 0.5654866776461628,
    "beta": 0.31415926535897953,
    "exact_expectation": 3.236985995994527,
    "exact_variance": 0.44997687192265,
    "classical_optimum": 4,
    "optimal_cut_probability": 0.3276615284494038,
    "probabilities": [
      0.007316847776323922,
      0.05710482134197328,
      0.011693611449233378,
      0.09562776120828044,
      0.057104821341973276,
      0.1638307642247019,
      0.09562776120828044,
      0.011693611449233378,
      0.011693611449233378,
      0.09562776120828044,
      0.1638307642247019,
      0.057104821341973276,
      0.09562776120828044,
      0.011693611449233378,
      0.05710482134197328,
      0.007316847776323922
    ],
    "costs": [
      0,
      3,
      2,
      3,
      3,
      4,
      3,
      2,
      2,
      3,
      4,
      3,
      3,
      2,
      3,
      0
    ],
    "rows": [
      {
        "shots": 64,
        "repetitions": 2000,
        "bias": -0.0015094334945269239,
        "rmse": 0.08203030063927898,
        "predicted_standard_error": 0.08385039429717314,
        "empirical_standard_deviation": 0.08203692377172037
      },
      {
        "shots": 256,
        "repetitions": 2000,
        "bias": -0.00104263661952686,
        "rmse": 0.042824071299527436,
        "predicted_standard_error": 0.04192519714858657,
        "empirical_standard_deviation": 0.04282208375330559
      },
      {
        "shots": 1024,
        "repetitions": 2000,
        "bias": -0.00015396474452700204,
        "rmse": 0.020786737865108443,
        "predicted_standard_error": 0.020962598574293285,
        "empirical_standard_deviation": 0.02079136615000004
      },
      {
        "shots": 4096,
        "repetitions": 2000,
        "bias": -0.0001067235335896477,
        "rmse": 0.010592229696844138,
        "predicted_standard_error": 0.010481299287146643,
        "empirical_standard_deviation": 0.010594340945434927
      }
    ]
  },
  "calibration": {
    "description": "Synthetic binary classification with deliberately overconfident scores",
    "seed": 20261012,
    "validation_count": 4000,
    "test_count": 20000,
    "true_logit_formula": "1.2*x0 - 0.9*x1 + 0.7*x0*x1; x0,x1 independent N(0,1)",
    "raw_score_multiplier": 2.5,
    "temperature_grid": {
      "minimum": 0.5,
      "maximum": 5.0,
      "points": 901
    },
    "fitted_temperature": 2.6350000000000002,
    "raw": {
      "auc": 0.8126847431099132,
      "negative_log_likelihood": 0.6583476531547366,
      "brier_score": 0.19461403535943267,
      "binary_ece_15_bins": 0.12932630231543513,
      "accuracy_at_0_5": 0.74245,
      "reliability_bins": [
        {
          "bin": 0,
          "count": 4266,
          "mean_probability": 0.014873710343551347,
          "positive_fraction": 0.11579934364744492
        },
        {
          "bin": 1,
          "count": 1047,
          "mean_probability": 0.09763052309402215,
          "positive_fraction": 0.2836676217765043
        },
        {
          "bin": 2,
          "count": 670,
          "mean_probability": 0.16650892494813196,
          "positive_fraction": 0.33880597014925373
        },
        {
          "bin": 3,
          "count": 632,
          "mean_probability": 0.23119458492685613,
          "positive_fraction": 0.370253164556962
        },
        {
          "bin": 4,
          "count": 520,
          "mean_probability": 0.2995220722062669,
          "positive_fraction": 0.4115384615384615
        },
        {
          "bin": 5,
          "count": 513,
          "mean_probability": 0.36550399369914854,
          "positive_fraction": 0.44639376218323584
        },
        {
          "bin": 6,
          "count": 503,
          "mean_probability": 0.4332296784423558,
          "positive_fraction": 0.4572564612326044
        },
        {
          "bin": 7,
          "count": 496,
          "mean_probability": 0.5000746685751979,
          "positive_fraction": 0.46975806451612906
        },
        {
          "bin": 8,
          "count": 580,
          "mean_probability": 0.5670430176776206,
          "positive_fraction": 0.5327586206896552
        },
        {
          "bin": 9,
          "count": 571,
          "mean_probability": 0.6344289794533083,
          "positive_fraction": 0.5831873905429071
        },
        {
          "bin": 10,
          "count": 687,
          "mean_probability": 0.7005416755039797,
          "positive_fraction": 0.5822416302765647
        },
        {
          "bin": 11,
          "count": 820,
          "mean_probability": 0.7673119974639572,
          "positive_fraction": 0.6426829268292683
        },
        {
          "bin": 12,
          "count": 1127,
          "mean_probability": 0.8355084728081625,
          "positive_fraction": 0.6654835847382431
        },
        {
          "bin": 13,
          "count": 1835,
          "mean_probability": 0.9032081399483962,
          "positive_fraction": 0.7040871934604904
        },
        {
          "bin": 14,
          "count": 5733,
          "mean_probability": 0.974601094799972,
          "positive_fraction": 0.8278388278388278
        }
      ]
    },
    "calibrated": {
      "auc": 0.8126847431099132,
      "negative_log_likelihood": 0.5224704622721045,
      "brier_score": 0.17482551891351678,
      "binary_ece_15_bins": 0.013254402475961116,
      "accuracy_at_0_5": 0.74245,
      "reliability_bins": [
        {
          "bin": 0,
          "count": 1258,
          "mean_probability": 0.03154018613120802,
          "positive_fraction": 0.025437201907790145
        },
        {
          "bin": 1,
          "count": 958,
          "mean_probability": 0.10011131183746284,
          "positive_fraction": 0.08977035490605428
        },
        {
          "bin": 2,
          "count": 1016,
          "mean_probability": 0.16546050411293256,
          "positive_fraction": 0.15255905511811024
        },
        {
          "bin": 3,
          "count": 1010,
          "mean_probability": 0.23382116598775635,
          "positive_fraction": 0.21287128712871287
        },
        {
          "bin": 4,
          "count": 1129,
          "mean_probability": 0.3003627150595808,
          "positive_fraction": 0.2843224092116918
        },
        {
          "bin": 5,
          "count": 1167,
          "mean_probability": 0.3686196036001294,
          "positive_fraction": 0.35218508997429304
        },
        {
          "bin": 6,
          "count": 1208,
          "mean_probability": 0.4342354199540929,
          "positive_fraction": 0.4304635761589404
        },
        {
          "bin": 7,
          "count": 1347,
          "mean_probability": 0.5005600477030202,
          "positive_fraction": 0.48329621380846327
        },
        {
          "bin": 8,
          "count": 1518,
          "mean_probability": 0.5671387408485761,
          "positive_fraction": 0.5902503293807642
        },
        {
          "bin": 9,
          "count": 1714,
          "mean_probability": 0.634273062661717,
          "positive_fraction": 0.6528588098016336
        },
        {
          "bin": 10,
          "count": 2012,
          "mean_probability": 0.7006672561500658,
          "positive_fraction": 0.7032803180914513
        },
        {
          "bin": 11,
          "count": 2430,
          "mean_probability": 0.7678195642045317,
          "positive_fraction": 0.7720164609053498
        },
        {
          "bin": 12,
          "count": 2115,
          "mean_probability": 0.8266986383229079,
          "positive_fraction": 0.8524822695035461
        },
        {
          "bin": 13,
          "count": 809,
          "mean_probability": 0.8952069158113046,
          "positive_fraction": 0.8850432632880099
        },
        {
          "bin": 14,
          "count": 309,
          "mean_probability": 0.9579702974166988,
          "positive_fraction": 0.9676375404530745
        }
      ]
    }
  }
}
