verify_qaoa_energy
QC-014 QAOA: certify the energy of a presented spin string on a presented Ising instance - the PROBLEM QAOA optimises, not a pulse schedule and not a search. edges are couplings i,j,J;... (integers), spins are +1,-1,... one per site. Returns the exact integer energy as energy_num/energy_den and WIN when the presented string is evaluated (a MISS names a malformed instance). Same law as route_spin_glass_manifold and math_court domain qc_qaoa. Floats refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | No | couplings i,j,J;... e.g. 0,1,1;1,2,1;2,0,1 (integer J) | |
| spins | No | discrete spins +1,-1,... one per site, e.g. 1,-1,1 |